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