OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Andrzej Groth (A.Grothgdansk.multinet.pl)
Date: Wed May 02 2001 - 10:58:50 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    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

    ? ;-)

    br.

    -- 
    Andrzej Groth
    Administrator
    MULTINET S.A.
    http://www.multinet.pl
    

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