[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setting password via script



On Tue, Aug 10, 2010 at 11:03:33AM +0200, emmanuel segura wrote:
> openssl  passwd -1 test01
> output = $1$q.C/Xn5Q$AkvYZAwzTkpGF.Q9O/NC90
> 
> usermod -p $1$q.C/Xn5Q$AkvYZAwzTkpGF.Q9O/NC90 your_username
> 
> i hope this can be enough

echo "user:password" | chpasswd

mk


Reply to: