Change password of new user
Hi,
I have a doubt with a new user. I want to change his password with the command "usermod -p $newpass $user". The password is changed, but when I try to login with that user, the system say "Wrong password" or something like that. Is that the correct way to change a password? I don't wanna use the passwd $user. Is very unpersonalized.. Thanks. |
try 'passwd <username>' or something like that.
|
Quote:
|
The root-user of a computer is supposed to understand English... but if they don't, just set LANG environment:
Code:
LANG=hu_HU passwd |
Quote:
Do you know how to send a encrypted password? Something like this?: Code:
usermod -p ENCRYPT($pass) $user |
All times are GMT -5. The time now is 09:21 AM. |