In a nutshell
I am trying to change a list of users passwords with a bash script. This link (http://www.howtoforge.com/user_passw..._a_bash_script) was helpful but the password part doesn't work for me.
Is there a way to change a users password with just a single line. Or is there a way to send text back to the screen when it asks you to enter your new password?
Password Script
#!/bin/sh
for i in `more userlist.txt `
do
echo $i
echo $i"123" | passwd –-stdin "$i"
done
Ubuntu Server 8.04
Bookmarks