On Wed, 2003-06-11 at 19:19, Mark Williamson wrote:

> Using the "usermod -p <passwd>" it will pass the already hashed or md5
> encrypted straight to the new /etc/shadow file, that's not the problem
> with the script..   it's the accuracy of the line
> PASSWD=`grep ${USERNAME}: /etc/shadow | cut -d: -f2`
> (I might have to use a awk line or something here)
> and the other problem is that bash scripts often interpret the "$"
> symbols from the already md5 passwords out of the old /etc/shadow file,
> not sure if that is the case here, as I haven't totally tested the
> script.

You're right...mea culpa mea culpa...
Never used that particular option before.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to