---
layout: page
category-page: intermediate
category-title: Intermediate commands
tags: password change pwd user
author: Fabiano Fenini
title: passwd
previous-page: pages/cmd/interm/pass.html
next-page: pages/cmd/interm/ping.html
---
The passwd
command allows us to change or to assign a password of authentication
of an user currently in the system.
When the user doesn’t have particular privileges, he is only able to change is password,
while the root user has the possibility to change also other users’ passwords.
The command name stands for password.
passwd [flags] [user]Where [flags] are the passwd flags, read below for more info, the parameter [user] can only be specified by the root user. If no user is provided, passwd proceed to set the password of the user who uses this command. You will first be asked to enter the current user password.