Linux-Noob Forums

Full Version: How do I change my password
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

passwd is the unix password command that allows you to change your password.

Executed on its own will change the password for the currently logged in user.

If you are root and execute passwd user , then you will be able to change the password for that user.


If you are a root, you want to change other user's password use:

 



Code:
[root@odyssey venom]# passwd digerati

Changing password for user digerati.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@odyssey venom]#





Hence what I wrote in my first post

Quote:If you are root and execute passwd user
Oops heh soz. didn't notice. but also it would be nice to show what the output looks like
Yes I got lazy on that one.. Examples are great.