home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 15981 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  2.1 KB

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