Date: Thu, 7 Jun 2001 21:28:21 +0800 From: "edwin chan" <huacheng@public.guangzhou.gd.cn> To: "David Miner" <david@slis-two.lis.fsu.edu>, "Olivier Nicole" <Olivier.Nicole@ait.ac.th> Cc: <freebsd-security@FreeBSD.ORG> Subject: Re: Encrypted passwords Message-ID: <009e01c0ef55$da422340$9201a8c0@home.net> References: <Pine.BSF.4.30_heb2.09.0106061220000.50496-100000@slis-two.lis.fsu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
I think that : you have a user list, and you can make a random password for them, then you can use "expect" and " passwd user" do your jobs and don't worry how chpass works. ----- Original Message ----- From: David Miner <david@slis-two.lis.fsu.edu> To: Olivier Nicole <Olivier.Nicole@ait.ac.th> Cc: <freebsd-security@FreeBSD.ORG> Sent: Thursday, June 07, 2001 12:22 AM Subject: Re: Encrypted passwords > On Wed, 6 Jun 2001, Olivier Nicole wrote: > > > >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. > > > > Hummm, I think nowdays passwords are not kept in a plain file but in a > > .db file. Can't it be the problem? > > > > Olivier > > > No, the chpass function takes care calling mk-pwd and putting them in the > .db file. Otherwise nothing would be there when I look at it with vipw. > > It appears that what is being passed by the crypt function is not what is > making it into the passwd file. At a SWAG. > > 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 > 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?009e01c0ef55$da422340$9201a8c0>