I'd like to change the password of another user, as root, but don't want the user to be prompted to change their password when the log in. As far as I can tell, any mechanism to change the password as root set the ADMCHG flag in /etc/security/passwd
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
That's it! :) |
||||
|
|
|
Do you need to do it in an automated way? If it's a one-off then change it to a temp password, then login as that user and change it to the desired password. |
|||
|
|