home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!casc.math.uh.edu!pleticha
- From: pleticha@casc.math.uh.edu (Dennis Pleticha)
- Newsgroups: comp.lang.perl
- Subject: Need help with passwd program from PERL book.
- Date: 12 Jan 1993 17:28:50 GMT
- Organization: UH Dept of Math
- Lines: 17
- Message-ID: <1iuv4iINNbr0@menudo.uh.edu>
- NNTP-Posting-Host: casc.math.uh.edu
-
- I'm looking for information on a bit of code mentioned in chapter 6 page 282
- dealing with password aging. The section reads as follows:
-
- There are hooks in this program for doing password expiration - the age of the
- password is mystically encoded in the salt of the encrypted password, and you
- can write a program that goes through the /etc/passwd file each night and expires
- old accounts by changing the user's shell.
-
- I haven't been able to figure out how to decode the age of the password using
- the salt as suggested above. I would greatly appreciate any help (especially
- perl scripts) to do this.
-
- Thanks,
-
- Dennis Pleticha
-
-
-