[Sussex] change password

John Crowhurst fyremoon at fyremoon.net
Sun Jul 30 21:07:21 UTC 2006


On Sun, July 30, 2006 21:14, Desmond Armstrong wrote:
> I am having to change the password for a user and although working as
> root, for some reason I am unable to change it, it reverts back again.
> Which is the file that needs to be changed, where are the passwords
> stored?

What system are you using, and how are you changing the password?

Usually as root:

passwd username

Allows you to change their password.

Passwords are either stored in:
/etc/shadow

or (rarely these days):
/etc/passwd

--
John




More information about the Sussex mailing list