home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22720 < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.6 KB  |  47 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!news.UVic.CA!sanjuan!pmacdona
  3. From: pmacdona@sanjuan (Peter MacDonald)
  4. Subject: Re: Compiling 'shadow'
  5. Message-ID: <1993Jan5.021422.9201@sol.UVic.CA>
  6. Sender: news@sol.UVic.CA
  7. Nntp-Posting-Host: sanjuan.uvic.ca
  8. Organization: University of Victoria, Victoria B.C. CANADA
  9. References: <1992Dec31.020618.9810@cbfsb.cb.att.com> <C057o9.520@jti.com> <C0CFxD.1xH@jti.com>
  10. Date: Tue, 5 Jan 93 02:14:22 GMT
  11. Lines: 34
  12.  
  13. In article <C0CFxD.1xH@jti.com> richb@jti.com (Richard Braun) writes:
  14. >I wrote:
  15. >>Binary mods to /bin/login make me a little queasy!  And I'll bet I'm
  16. >>not alone.
  17. >
  18. >Over the weekend I looked at this more closely.  The problem is that
  19. >ulimit() is obsolete with Gnu lib 4.2, and the Linux release of shadow
  20. >doesn't reflect that.
  21. >
  22. >In config.h, change:
  23. >
  24. >    #define HAVE_ULIMIT
  25. >    #undef  HAVE_RLIMIT
  26. >to
  27. >    #undef    HAVE_ULIMIT
  28. >    #define    HAVE_RLIMIT
  29. >
  30. >I'll cc this posting to Ed Carp, who is listed as maintainer of the
  31. >Linux release.
  32. >
  33. >-rich
  34. >P.S.  Why isn't this version of login used as the standard Linux version?
  35. >  I don't see any disadvantage to using it, only benefits.
  36.  
  37. You should probably not use the shadow passwd posted.  I have added it
  38. to SLS, but not until I fixed a few major bugs, plus added a major missing 
  39. piece: an interface to intercept getpw* and getgr* calls from suid
  40. clients, and fill in the passwd field.  After the upload of the next 
  41. SLS, I will upload the new source.  But I have already sent the 
  42. changes to the original author.
  43.  
  44. Peter
  45. pmacdona@sanjuan.uvic.ca
  46.  
  47.