From owner-freebsd-security Fri Jun 8 9:46:25 2001 Delivered-To: freebsd-security@freebsd.org Received: from slis-two.lis.fsu.edu (slis-two.lis.fsu.edu [128.186.72.102]) by hub.freebsd.org (Postfix) with ESMTP id D9DE337B401 for ; Fri, 8 Jun 2001 09:46:20 -0700 (PDT) (envelope-from david@slis-two.lis.fsu.edu) Received: from localhost (david@localhost) by slis-two.lis.fsu.edu (8.11.1/8.11.1) with ESMTP id f58Glaa74636; Fri, 8 Jun 2001 12:47:36 -0400 (EDT) (envelope-from david@slis-two.lis.fsu.edu) Date: Fri, 8 Jun 2001 12:47:36 -0400 (EDT) From: David Miner To: "Karsten W. Rohrbach" Cc: Ralph Huntington , edwin chan , Olivier Nicole , Subject: Re: Encrypted passwords In-Reply-To: <20010608172009.F3071@mail.webmonster.de> 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 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. Oh well. Thanks to everyone who helped!!! End of thread. David --------------------------------------------------------------------- David R. Miner miner@lis.fsu.edu Systems Integrator voice: 850-644-8107 School of Information Studies fax: 850-644-6253 Florida State University Tallahassee, FL 32306-2100 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message