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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!unislc!erc
  3. From: erc@unislc.uucp (Ed Carp)
  4. Subject: Re: Compiling 'shadow'
  5. X-Newsreader: TIN [version 1.1 PL6]
  6. References: <C0CFxD.1xH@jti.com>
  7. Message-ID: <1993Jan5.002616.28699@unislc.uucp>
  8. Organization: Unisys Corporation SLC
  9. Date: Tue, 5 Jan 1993 00:26:16 GMT
  10. Lines: 24
  11.  
  12. Richard Braun (richb@jti.com) wrote:
  13.  
  14. : Over the weekend I looked at this more closely.  The problem is that
  15. : ulimit() is obsolete with Gnu lib 4.2, and the Linux release of shadow
  16. : doesn't reflect that.
  17. : In config.h, change:
  18. :     #define HAVE_ULIMIT
  19. :     #undef  HAVE_RLIMIT
  20. : to
  21. :     #undef    HAVE_ULIMIT
  22. :     #define    HAVE_RLIMIT
  23.  
  24. I've made this change to my master copy of 3.2.2 - but I couldn't get it to
  25. compile until I changed line 72 in passwd.c to read:
  26.  
  27. struct rlimit rlimit_fsize = { RLIM_INFINITY, RLIM_INFINITY };
  28.  
  29. -- 
  30. Ed Carp            erc@apple.com, erc@saturn.upl.com    801/538-0177
  31. 1935 will go down in history.  For the first time, a civilized nation has
  32. full gun registration.  Our streets will be safer, our police more efficient,
  33. and the world will follow our lead into the future.  --Adolf Hitler
  34.