home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!smurf.sub.org!easix!gnusys.GUN.de!avatar!sebi
- From: sebi@avatar.GUN.de (Sebastian Lederer)
- Newsgroups: comp.os.linux
- Distribution: world
- Subject: Re: [ANNOUNCE] poeigl-1.7 and admutil-1.4 available
- X-Newsreader: TIN [version 1.1 PL6]
- References: <1992Nov3.090246.29076@daimi.aau.dk>
- Message-ID: <921105155@avatar.GUN.de>
- Date: Thu, 05 Nov 92 20:01:21 +0100
- Lines: 30
-
- Peter Orbaek (poe@daimi.aau.dk) wrote:
- : Getty will now write an entry to /etc/wtmp each time it is started, so
- : "last" won't show "still logged in" until another logs in on that tty.
- :
- : I fixed "last" so it would work properly with the fixed getty.
-
- Hmm...no offense intended, but the logout records should be the job of init,
- not of getty. The SystemV-compatible init-process from your admutils-package
- does exactly this whenever a child of init dies. After I made some slight
- modifications, I have been running it since 0.96 without any problems, and
- none of the three flavours of "last" I have had to be changed. I think this
- is a more "standard" solution to the problem, since not everyone uses the
- getty-program of the admutils-package. By the way, the SysV-Init does not
- only have a single-user-mode, but different runlevels, which can be very
- handy, for example, to enable logins on a modem line, I have to change the
- runlevel only instead of editing inittab etc. .
- Talking of your admutils package, the shutdown program should write a
- "shutdown" record to /etc/wtmp even if a reboot is requested. The "reboot"
- record should be written by init after (re-)boot. Again, the SysV-Init does
- this correctly.
- I am not at all in favour of System V or anything, but I think there's
- nothing wrong in keeping up with usual UN*X standards...and writing the
- logout-records in getty is a little bit unusual.
- If anyone should be interested in the patched version of the SysV-init, mail
- me...
-
- --
- Sebastian Lederer "And crawling on the planets face - Some insects, called
- sebi@avatar.GUN.de the human race. Lost in time and lost in space -and in
- ------------------- meaning" - The Narrator of the Rocky Horror Picture Show
-