Re: Setting user passwords non-interactively

2002-05-20 Thread Marcin Owsiany
On Sun, May 19, 2002 at 11:35:00PM +0200, staf wagemakers wrote: > On Sun, May 19, 2002 at 03:18:29PM +0200, Marcin Owsiany wrote: > > > I settled for a tip from greycat at #debian: > > > > > > usermod -p `mkpasswd --hash=md5 $cleartxtpw` $username > > > > > > That can easyly go work in perl a

Re: Setting user passwords non-interactively

2002-05-19 Thread staf wagemakers
On Sun, May 19, 2002 at 03:18:29PM +0200, Marcin Owsiany wrote: > > I settled for a tip from greycat at #debian: > > > > usermod -p `mkpasswd --hash=md5 $cleartxtpw` $username > > > > That can easyly go work in perl as well naturaly;)... > > > > > > What do u guys think? > > Passing c

Re: Setting user passwords non-interactively

2002-05-19 Thread Marcin Owsiany
On Sat, May 18, 2002 at 01:13:25PM -0600, Alejandro Borges wrote: > U guys are the bestthx for all the responses... > > I settled for a tip from greycat at #debian: > > usermod -p `mkpasswd --hash=md5 $cleartxtpw` $username > > That can easyly go work in perl as well naturaly;)...

Re: Setting user passwords non-interactively

2002-05-18 Thread Alejandro Borges
U guys are the bestthx for all the responses... I settled for a tip from greycat at #debian: usermod -p `mkpasswd --hash=md5 $cleartxtpw` $username That can easyly go work in perl as well naturaly;)... What do u guys think? Alex -- To UNSUBSCRIBE, email to [EMAIL PROTECTE

Re: Setting user passwords non-interactively

2002-05-17 Thread Richard Bailey
- Original Message - From: "Gene Grimm" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 17, 2002 10:42 AM Subject: Re: Setting user passwords non-interactively > > i think chpasswd is what your looking for. > > chpasswd user:pass > &

Re: Setting user passwords non-interactively

2002-05-17 Thread Gene Grimm
> i think chpasswd is what your looking for. > chpasswd user:pass > > on woody atleast its included in the passwd package > > > im wondering if there is any non-interactive way to set a user's > > password...i need to do it through a scriptplease Actually, I use Perl script with a shell s

RE: Setting user passwords non-interactively

2002-05-17 Thread Andrew Lattis
i think chpasswd is what your looking for. chpasswd user:pass on woody atleast its included in the passwd package > im wondering if there is any non-interactive way to set a user's > password...i need to do it through a scriptplease -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: Setting user passwords non-interactively

2002-05-17 Thread Germán Gutierrez
Alejandro Borges escribio: (..) > im wondering if there is any non-interactive way to set a user's > password...i need to do it through a scriptplease help me out > here (..) What about expect? -- Saludos, Germán -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

RE: Setting user passwords non-interactively

2002-05-17 Thread C. R. Oldham
> > im wondering if there is any non-interactive way to set a user's > > password...i need to do it through a scriptplease Can't you use Expect? -- C. R. Oldham, Director of Technology NCA CASI Arizona State University [EMAIL PROTECTED] V:480-965-8703 F:480-965-9423 -- To UNSUBSCRIB

Re: Setting user passwords non-interactively

2002-05-17 Thread Jeremy C. Reed
On 17 May 2002, Alejandro Borges wrote: > im wondering if there is any non-interactive way to set a user's > password...i need to do it through a scriptplease help me out > here Use vipw with the VISUAL or EDITOR variable set to your own script that uses sed, awk or perl to set the passw

Setting user passwords non-interactively

2002-05-17 Thread Alejandro Borges
Okay debian evil masterminds. im wondering if there is any non-interactive way to set a user's password...i need to do it through a scriptplease help me out here Please, please please i realize this could be a security problem but its mine only, does anyone have a solution?