home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewse!cbnewsd!att-out!cbfsb!cbnewsg.cb.att.com!wto
- From: wto@cbnewsg.cb.att.com (William T. O Connell)
- Subject: Re: Compiling 'shadow'
- Message-ID: <1992Dec31.020618.9810@cbfsb.cb.att.com>
- Sender: news@cbfsb.cb.att.com
- Organization: PC peripheral operational services group
- References: <C03F1G.1I5@jti.com>
- Date: Thu, 31 Dec 1992 02:06:18 GMT
- Lines: 38
-
- In article <C03F1G.1I5@jti.com> richb@jti.com (Richard Braun) writes:
- >Last night I downloaded the shadow password source kit from tsx-11 into
- >my 0.98pl5 system. I use the gcc 2.2.2 H. Lu binary distribution.
- >
- >After successfully compiling and installing this, I get two errors from
- >login:
- >
- > - ulimit() not support; please use getrlimit()/setrlmit()
- > (or some such thing)
- > - Something about a "light" C library
- >
- >Then it bombs out and throws me back to getty. Any hints? Is this
- >source code incompatible with the C library?
- >
- >-rich
-
- I had the similiar problem, it was due to the shared library libc.so.4.2.
- The login version that I got expected libc.so.4.1. If your using
- the 4.2 version of the shared library, try the following, it should
- fix your problem (if not, DON'T do it).
-
- 1) Symbolically link libc.so.4.1 to libc.so.0 in /lib
- (i.e. ln -s libc.so.4.1 lib.so.0)
- 2) Use emacs to edit /bin/login
- a) Use <cntl>-s to search for libc.so.4
- b) Change the 4 to a 0
- c) Save the file
- 3) Try re-logging in, should be good-to-go.
-
- Add'l Notes:
- - This fix was told to me by another gentleman on the net, I would
- give him credit but, can't remember his name 8-)
- - If you can't log on to to the above changes - uses your a1 and a2 (if
- you have SLS) disks to boot up linux, then mount your partitions.
- - Might want to check out 'passwd', I had the same problem with that.
-
- - Bill O'Connell wto@ihlpx.att.com
-
-