home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22233 < prev    next >
Encoding:
Text File  |  1992-12-30  |  1.8 KB  |  50 lines

  1. Newsgroups: comp.os.linux
  2. 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
  3. From: wto@cbnewsg.cb.att.com (William T. O Connell)
  4. Subject: Re: Compiling 'shadow'
  5. Message-ID: <1992Dec31.020618.9810@cbfsb.cb.att.com>
  6. Sender: news@cbfsb.cb.att.com
  7. Organization: PC peripheral operational services group
  8. References: <C03F1G.1I5@jti.com>
  9. Date: Thu, 31 Dec 1992 02:06:18 GMT
  10. Lines: 38
  11.  
  12. In article <C03F1G.1I5@jti.com> richb@jti.com (Richard Braun) writes:
  13. >Last night I downloaded the shadow password source kit from tsx-11 into
  14. >my 0.98pl5 system.  I use the gcc 2.2.2 H. Lu binary distribution.
  15. >
  16. >After successfully compiling and installing this, I get two errors from
  17. >login:
  18. >
  19. >    - ulimit() not support; please use getrlimit()/setrlmit()
  20. >        (or some such thing)
  21. >    - Something about a "light" C library
  22. >
  23. >Then it bombs out and throws me back to getty.  Any hints?  Is this
  24. >source code incompatible with the C library?
  25. >
  26. >-rich
  27.  
  28. I had the similiar problem, it was due to the shared library libc.so.4.2.
  29. The login version that I got expected libc.so.4.1. If your using
  30. the 4.2 version of the shared library, try the following, it should
  31. fix your problem (if not, DON'T do it).
  32.  
  33. 1) Symbolically link libc.so.4.1 to libc.so.0 in /lib
  34.    (i.e. ln -s libc.so.4.1 lib.so.0)
  35. 2) Use emacs to edit /bin/login
  36.     a) Use <cntl>-s to search for libc.so.4
  37.     b) Change the 4 to a 0
  38.     c) Save the file 
  39. 3) Try re-logging in, should be good-to-go.
  40.  
  41. Add'l Notes:
  42. - This fix was told to me by another gentleman on the net, I would
  43.   give him credit but, can't remember his name 8-)
  44. - If you can't log on to to the above changes - uses your a1 and a2 (if
  45.   you have SLS) disks to boot up linux, then mount your partitions.
  46. - Might want to check out 'passwd', I had the same problem with that.
  47.  
  48. - Bill O'Connell    wto@ihlpx.att.com
  49.  
  50.