Saturday, August 1, 2009

Shell script to change password - LinuxQuestions.org

Shell script to change password - LinuxQuestions.org: "And now, I've found what does work for me, in my limited case of what I needed. If this solution works for you too, then here it is:

Code:

echo [passwd] > /tmp/[password file]
passwd --stdin [user] < [file with password]"

No comments:

Post a Comment