home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17139 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.7 KB  |  37 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!unislc!erc
  3. From: erc@unislc.uucp (Ed Carp)
  4. Subject: Re: logout updating who display
  5. X-Newsreader: TIN [version 1.1 PL6]
  6. References: <1992Nov18.231159.3508@athena.mit.edu>
  7. Message-ID: <1992Nov19.033733.14948@unislc.uucp>
  8. Organization: Unisys Corporation SLC
  9. Date: Thu, 19 Nov 1992 03:37:33 GMT
  10. Lines: 25
  11.  
  12. Craig Metz (vaz@eagle.TC.cornell.edu) wrote:
  13.  
  14. :     Might I ask exactly what program updates the /etc/utmp file such that
  15. : users who have logged out don't show up as logged in anymore? I installed SLS
  16. : and my system handled this procedure properly, but since installing poe-IGL
  17. : and admutils (latest versions), my system does not properly handle updating
  18. : the utmp file when a user logs out to reflect the user not being logged in any
  19. : more. Does anyone have any suggestions as to how this problem may be fixed?
  20.  
  21. I think init does.  What happens is, getty spawns login which writes an entry
  22. to /etc/utmp, then spawns a shell.  When the shell dies, init sees it, takes
  23. the ttyslot() record out of /etc/utmp, and appends it to /etc/wtmp.  At least,
  24. that's the way it usually works. :)
  25. --
  26. Ed Carp            erc@apple.com, erc@saturn.upl.com    801/538-0177
  27.  
  28. "There is nothing to seek and nothing to find.  You're already enlightened, and
  29. all the words in the world won't give you what you already have.  The wise
  30. seeker, therefore, is concerned with one thing only: to become aware of what
  31. he already is, of the True Self within."  -- Zen maxim
  32. -- 
  33. Ed Carp            erc@apple.com, erc@saturn.upl.com    801/538-0177
  34.  
  35. "There is nothing to seek and nothing to find.  You're already enlightened, and
  36. all the words in the world won't give you what you already have.  The wise
  37.