*BSD News Article 9573


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA6023 ; Sun, 03 Jan 93 17:32:17 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!nigel.msen.com!math.fu-berlin.de!unidui!Germany.EU.net!unidoct!plato!sn
From: sn@plato.chemietechnik.uni-dortmund.de (sn)
Newsgroups: comp.unix.bsd
Subject: Re: encrypted passwds on 386bsd
Message-ID: <935@unidoct.chemietechnik.uni-dortmund.de>
Date: 6 Jan 93 03:11:20 GMT
References: <1993Jan2.185919.13930@ariel.ec.usf.edu> <C0E0wA.9Gr@ibmpcug.co.uk>
Sender: news@unidoct.chemietechnik.uni-dortmund.de
Lines: 23

adrian@rachel.ibmpcug.co.uk (Adrian Hall) writes:
>gambert@screamer.csee.usf.edu (Allen Gambert) writes:
>> I remember reading awhile back on how to add encryption in the passwd file.
>> I lost the copy of the file and I would know like to add this feature.
>> 
>> Does anyone know how this can be done?  Do I just need to add the crypt function
>> to one of the libraries and then change the login program so it calls 
>> getpass.  I would then crypt the passwd and then compare it to the encrypted 
>> copy in the passwd file.  Is this all I need to do or is there more.  Any help
>> would be appreciated.

>Look in the file /usr/386bsd.errata/crypt.instructions from the
>standard distribution.

I installed crypt on my system and everything works fine. However,
if I put xdm in the /etc/rc.local so that I login under Xfree86, it
doesn't find crypt and I have to enter my password encrypted (!!)
Is there any fix for this? Do I have to recompile xdm?
If so, where can I get those sources <only>. I don't want to get the
entire X11R5 source

-Sven