I need to change a password for a user account on Ubutu 14.04… any suggestion?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This question was answered by @gblanchard4:
To change a users password you need to have sudo privileges yourself.
sudo passwd usernamewill change the password for the ‘username’ you want to change.
You can see the comment here.
This question was answered by @sheriffderek:
To list users you can use this terminal command (when you are logged in…)
cut -d: -f1 /etc/passwd
That being said… you are going to see a great many usernames you do not recognize… and those are system users that are needed to perform certain tasks - so you do not want to delete them.
You can check your users against these:
root daemon bin sys sync games man lp mail news uucp proxy www-data backup list irc gnats nobody libuuid syslog messagebus landscape sshd colord sheriffderek mysql
Where ‘root’ and ‘sheriffderek’ - are the only usernames I was previously aware of… so - your additional users should be in addition to these.
Also, you should just delete the users you don’t want instead of just changing the passwords. It’s just as easy to create new ones.
This is what I found when I googled your question:
http://askubuntu.com/questions/410244/a-command-to-list-all-users-and-how-to-add-delete-modify-users
ps: can you change your question title to - ‘How may I reset a user’s password: Ubuntu 14.04’ - or something that is a little more clear, for others. : )
You can see the comment here.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.