How to change a user's password in AIX with the output from ECHO command How to change a user's password in AIX with the output from echo command, change user password on aix
How to change a user's password in AIX with the output from ECHO command
# echo "user:n3w_p466w0rd" | /bin/chpasswd -c
Where user is the user to which you wish the password changed and after ":" is the new password.
Output from chpasswd command:
Examples 1 To set passwords for users from the command line, type:
chpasswd Followed by entering username:password pairs, one pair per line. Enter CTRL+D when finished.
user1:passwd1 user2:passwd2 CTRL+D 2 To set passwords for users contained in a file named mypwdfile, type the following:
cat mypwdfile | chpasswd Note that mypwdfile must contain username:password pairs; one pair per line. For example:
Designed and developed by Andrei Manescu. Optimized for Mozilla Firefox.
Copyright 2007 Andrei Manescu
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by those who posted them.