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