home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / perl / 7774 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  998 b 

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