Thursday, April 2, 2009

Change password in single command

echo redhat | passwd --stdin test

This will set the password redhat for user test.

No comments:

Post a Comment