Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 09:56:10 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        David Miner <david@slis-two.lis.fsu.edu>
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: Encrypted passwords
Message-ID:  <Pine.BSF.4.21.0106080954590.37983-100000@java2.dpcsys.com>
In-Reply-To: <Pine.BSF.4.30_heb2.09.0106081245290.74618-100000@slis-two.lis.fsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 8, David Miner wrote:
> Long way around the barn, but this worked:
> 
> `echo -n '$pwd1[$a]' | pw useradd -n $name -c $fullname -d $userhome -s $s
> -m -h 0`;
> 
> I replaced all of the encrypted stuff and simplified the program.  It is
> still a mystery as to why it works in adduser, why the encrypted password
> looks the same as program output and under vipw, but the user cannot login
> with it.

Did you forget to rebuild the password DB?  pwd_mkdb

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


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?Pine.BSF.4.21.0106080954590.37983-100000>