How can I see the password of another user in Linux?
9,120
As root you can change any users password by using the "passwd" command followed by the username;
passwd username
This will then prompt you to enter the new password twice.
To clarify there is no way to see an existing users password.
Related videos on Youtube
Author by
blackcornail
Updated on September 18, 2022Comments
-
blackcornail over 1 year
I made 4 users on my server, but unfortunately I changed the password of the "first" user while configuring the server, but I don't know how I changed it. How can I see the password of users in root?
-
Арсений Черенков over 9 yearsnote that you cannot "see" other password, you can change them as root.
-
-
blackcornail over 9 yearsI tried it, but it said: passwd: The modul is unidentified. passwd: Password unchanged.
-
Chris Davidson over 9 yearsWhat Operating System is this server running?
-
Gilles 'SO- stop being evil' over 9 years@blackcornail Did you copy-paste this error message? It indicates some kind of misconfiguration. Echoing Dayvo, tell us exactly what operating system you're running (what version etc.), and anything you think might be relevant about its configuration (e.g. do you use NIS/LDAP/…?)