From owner-freebsd-security Fri Jun 8 9:56:32 2001 Delivered-To: freebsd-security@freebsd.org Received: from java2.dpcsys.com (java2.dpcsys.com [206.16.184.5]) by hub.freebsd.org (Postfix) with ESMTP id 0E79637B401 for ; Fri, 8 Jun 2001 09:56:30 -0700 (PDT) (envelope-from dan@dpcsys.com) Received: from localhost (localhost [127.0.0.1]) by java2.dpcsys.com (8.11.1/8.11.1) with ESMTP id f58GuAc69774; Fri, 8 Jun 2001 09:56:10 -0700 (PDT) Date: Fri, 8 Jun 2001 09:56:10 -0700 (PDT) From: Dan Busarow To: David Miner Cc: freebsd-security@FreeBSD.ORG Subject: Re: Encrypted passwords In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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