From: garrett@sba70.berkeley.edu (Garrett D'Amore) Subject: Compiling to use shadow passwords Date: 30 Apr 1993 22:20:38 GMT
This is probably in a FAQ somewhere, but I don't know where.
I've not yet downloaded the Shadow Password source code...
I'm using the shadow password files on my system (using pre-
compiled binaries that use the shadow password), but I still
have a few programs that expect the passwd functions to work
as with /etc/passwd. In particular, the tcsh autologout function
prompts the user for his password, and logs him out if he doesn't
answer correctly (after a specified period of inactivity.)
It doesn't work, though, because it is using the old passwd
functionality. My question is this: how do I compile the code
for tcsh to use the shadow password checking instead of the "normal"
password checking. (I realize that if it checks the file directly
I will have to modify the source code.) Is there a define or a set
of LIBs that I should include that will convert the password function
calls automatically?
====================================================================
Garrett D'Amore | garrett@sba70.berkeley.edu
Software Co-Ordinator | 68 Barrows Hall, UC Berkeley
Haas Computing Services | Ph: 510-643-5923 Fax: 642-4769
====================================================================