From owner-freebsd-security Wed Jun 6 9: 1:11 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 6374137B401 for ; Wed, 6 Jun 2001 09:01:08 -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 f56G2iS50691; Wed, 6 Jun 2001 12:02:44 -0400 (EDT) (envelope-from david@slis-two.lis.fsu.edu) Date: Wed, 6 Jun 2001 12:02:44 -0400 (EDT) From: David Miner To: Olivier Nicole Cc: Subject: Re: Encrypted passwords In-Reply-To: <200106061549.WAA02105@bazooka.cs.ait.ac.th> 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 Wed, 6 Jun 2001, Olivier Nicole wrote: > >The program asks for a password file name and the file contains passwords > >that I have approved as meeting my standards.The problem seems to be in > >how they get encrypted. > > Could you please be more specific? What do you mean it is not working? > Thanks to Sergey and Olivier, I have something else to look at. Also I see that my description of the problem was not sufficient. The passwords I pre-generate. I take a random name generator and run it several times, go in and add numbers and special characters and create a single text file. I then sort this file starting at character position 2 and incrementing until I have several files with the same passwords but in different order. But when I encrypt them and put them in the passwd file, they do not allow the user to log in. I have to use the passwd program to manually change them to the same password that I wanted originally. Thus I believe the problem lies in the encryption method or how it is being passwd to the chpass program. When I inspect the passwd file with vipw, I see the encrypted password, but it just does not allow the user to log in. Thanks, 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