Re: setting password via script

2010-08-10 Thread Timo Juhani Lindfors
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

Re: setting password via script

2010-08-10 Thread emmanuel segura
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"

Re: setting password via script

2010-08-10 Thread 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" | chpasswd mk -- To UNSUBSCRIBE, email

Re: setting password via script

2010-08-10 Thread emmanuel segura
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

Re: setting password via script

2010-08-09 Thread 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 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://

setting password via script

2010-08-09 Thread T o n g
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://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ --