Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2001 12:22:06 -0400 (EDT)
From:      David Miner <david@slis-two.lis.fsu.edu>
To:        Olivier Nicole <Olivier.Nicole@ait.ac.th>
Cc:        <freebsd-security@FreeBSD.ORG>
Subject:   Re: Encrypted passwords
Message-ID:  <Pine.BSF.4.30_heb2.09.0106061220000.50496-100000@slis-two.lis.fsu.edu>
In-Reply-To: <200106061609.XAA02163@bazooka.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.30_heb2.09.0106061220000.50496-100000>