Lol I forgot a user's password
I forgot a user's password (not root's, a normal user)
How can I reset it? I feel like such an idiot, lol |
`root' can passwd on behalf of another user.
|
As root, just run "passwd username" where "username" is the user whose password you want to reset.
Also, you can remove the user's password entirely by editing the field to blank in /etc/shadow but this method has some SLIGHT security issues ;) |
Quote:
|
passwd -d <username>
removes password for the user |
All times are GMT -5. The time now is 06:57 PM. |