home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / bugs / sys5 / 97 < prev    next >
Encoding:
Text File  |  1992-08-17  |  2.1 KB  |  53 lines

  1. Newsgroups: comp.bugs.sys5
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!smurf.sub.org!flatlin!generics!ihno
  3. From: ihno@generics.ka.sub.org (Ihno Krumreich)
  4. Subject: Re: V.4.0 login(1)
  5. Organization: Generics GmbH
  6. Date: Mon, 17 Aug 1992 17:33:10 GMT
  7. Message-ID: <1992Aug17.173310.16065@generics.ka.sub.org>
  8. References: <1992Jul14.155557.17495@rsvl.unisys.com>
  9. Lines: 42
  10.  
  11. alan@rsvl.unisys.com (Al Kiecker ) writes:
  12.  
  13. >I have discovered several "bugs" while porting the V.4.0 login command.
  14.  
  15. >    1. Both login.c and rcmd.c use malloc() but don't include stdlib.h
  16. >       This causes the C compiler to think that malloc returns a long int
  17. >       rather than a pointer.  (On most systems there is no substantial
  18. >       difference between these types.  On our system there is.)
  19. >    
  20. >    2. Upper-case only terminals may not be able to sign on unless they
  21. >       are connected via an RS232 line and you get the login/passwd right
  22. >       the first time you type it in.
  23. >    
  24. >    3. I havn't been able to get the "chroot" feature to work at all.  From
  25. >       the login(1) man page:
  26. >        
  27. >        "If [the command interpreter] field is *, then the named
  28. >        directory becomes the root directory, the starting point for
  29. >        path searches for path names beginning with a /.  At that point
  30. >        login is re-executed at the new level which must have its own
  31. >        root structure, including /var/adm/login and /etc/passwd."
  32. >      
  33. >       My version dies after it prints the message "Subsystem root: /root"
  34. >       and then attempts to find out what device he is on.  If anyone 
  35. >       has been able to make this work and has additional information, 
  36. >       please let me know.
  37. The chroot-Option is a little bit tricky. Do you have the shared Library
  38. in your new root-directory ? Otherwise every programm that needs the lib will
  39. die.
  40. I think the biggest problem is to get all the files together for the new
  41. root.
  42.  
  43. Ihno
  44.  
  45. P.S.
  46.  
  47. If you have such a list, could please mail it to me ??
  48. -- 
  49. Ihno Krumreich     | Phone (49) 721 38 70 94
  50. Generics Gmbh      | email: ihno@generics.ka.sub.org
  51. Breite Strasse 24  | FAX   (49) 721 38 56 22
  52. D-W7500 Karlsruhe  |
  53.