Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2001 19:05:39 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        Andrzej Groth <A.Groth@gdansk.multinet.pl>
Cc:        freebsd-security@freebsd.org
Subject:   Re: useradd/adduser
Message-ID:  <20010502190539.E88365@ringworld.oblivion.bg>
In-Reply-To: <20010502175850.A81681@arka.gdansk.mtl.pl>; from A.Groth@gdansk.multinet.pl on Wed, May 02, 2001 at 05:58:50PM %2B0200
References:  <200105021613.RAA25130@mailgate.kechara.net> <20010502180257.B88365@ringworld.oblivion.bg> <20010502180543.C88365@ringworld.oblivion.bg> <20010502175850.A81681@arka.gdansk.mtl.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 02, 2001 at 05:58:50PM +0200, Andrzej Groth wrote:
> On Wed, 02 May 2001, Peter Pentchev wrote:
> 
> > On Wed, May 02, 2001 at 06:02:57PM +0300, Peter Pentchev wrote:
> > > On Wed, May 02, 2001 at 03:59:50PM +0100, Lee Smallbone wrote:
> > > > I see what you mean about the synopsis...!
> > > > 
> > > >  From what I can see it isn't possible to supply the password to pw?
> > > >  I'm using md5 passwords, and can easily have the script in question encode
> > > >  the password prior to calling pw, so is it possible to use (in the verse of 
> > > >  pw), something along the lines of:
> > > > 
> > > >  pw useradd -n test -c "Test User" -d /home2/test -m -s sh $md5encpass
> > > > 
> > > > ?
> 
> so...
> pw useradd -n test -c "Test User" -d /home2/test -s /bin/sh; chpass -p 
> $md5encpass test
> 
> ? ;-)

Er..  Touche!  :)

G'luck,
Peter

-- 
I am jealous of the first word in this sentence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010502190539.E88365>