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
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
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;)...
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
- 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
> &
> 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
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
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]
> > 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
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
10 matches
Mail list logo