emmanuel segura writes:
> usermod -p $1$q.C/Xn5Q$AkvYZAwzTkpGF.Q9O/NC90 your_username
The problem with this is of course that anybody in the system just saw
your password in the process list :-) Watching /lib with dnotify is an
easy way to trigger process listing every time a new process is
start
thanks
2010/8/10 Martin Kraus :
> 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"
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
--
To UNSUBSCRIBE, email
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
:-)
2010/8/10 Jordon Bedwell :
> On Tue, 2010-08-10 at 01:52 +, T o n g wrote:
>> Hi,
>>
>> What's the easiest way to set password for
On Tue, 2010-08-10 at 01:52 +, T o n g wrote:
> Hi,
>
> What's the easiest way to set password for user account via script?
> The most common tool would be fine, even if it means that the password
> has to be clear text.
>
> Thanks
>
> --
> Tong (remove underscore(s) to reply)
> http://
5 matches
Mail list logo