Linux-Noob Forums
How do I change my password - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+--- Thread: How do I change my password (/thread-3971.html)



How do I change my password - Digerati - 2003-12-15


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.




How do I change my password - Oroshi - 2003-12-18


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]#







How do I change my password - Digerati - 2003-12-18


Hence what I wrote in my first post

Quote:If you are root and execute passwd user



How do I change my password - Oroshi - 2003-12-18

Oops heh soz. didn't notice. but also it would be nice to show what the output looks like



How do I change my password - Digerati - 2003-12-18

Yes I got lazy on that one.. Examples are great.