Re: \'useradd -p\' problems.

From: Gordon Messmer (yinyangat_private)
Date: Tue Aug 28 2001 - 13:01:25 PDT

  • Next message: James Robbins: "Re: Email webbugs"

    On Tue, 28 Aug 2001, joetestaat_private wrote:
    
    >     On my Trustix 1.2 box, I noticed that creating a user with 'useradd' and
    > the '-p' option (which gives the new user a default password) does not hash
    > the password in /etc/shadow:
    
    Of course not... Read the man page for useradd:
    
           -p passwd
                  The  encrypted password, as returned by crypt(3) or
                  an MD5 password generator.  The default is to  dis­
                  able the account.
    
    That option is intended for use in scripts where the hash has already been
    generated.
    
    -- 
    If I had a dollar for every brain that you don't have,
    	I'd have one dollar. - Squidward to SpongeBob
    



    This archive was generated by hypermail 2b30 : Tue Aug 28 2001 - 13:07:20 PDT