1

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?

  • 2
    note that you cannot "see" other password, you can change them as root. – Archemar Dec 3 '14 at 11:41
3

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.

  • I tried it, but it said: passwd: The modul is unidentified. passwd: Password unchanged. – blackcornail Dec 3 '14 at 12:04
  • What Operating System is this server running? – Chris Davidson Dec 3 '14 at 12:24
  • @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/…?) – Gilles 'SO- stop being evil' Dec 3 '14 at 23:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.