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

Re: setting password via script



thanks

2010/8/10 Martin Kraus <lists_mk@wujiman.net>:
> 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
>



-- 
esta es mi vida e me la vivo hasta que dios quiera


Reply to: