home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8132 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!news.funet.fi!sjm86289
  3. From: sjm86289@tut.fi (Sami J. M{kinen)
  4. Subject: Re: Ctrl-Alt-Del in linux, doesn't work.
  5. Message-ID: <1992Aug13.164743.7685@funet.fi>
  6. Sender: usenet@funet.fi (#Kotilo NEWS system )
  7. Nntp-Posting-Host: kaarne.cs.tut.fi
  8. Organization: Tampere U of Tech, Finland
  9. References: <1992Aug4.225341.9785@unibi.uni-bielefeld.de> <92226.132926PEGELOW@DMSWWU1A.UNI-MUENSTER.DE>
  10. Date: Thu, 13 Aug 1992 16:47:43 GMT
  11. Lines: 23
  12.  
  13.  
  14. In article <92226.132926PEGELOW@DMSWWU1A.UNI-MUENSTER.DE>, Ulrich Pegelow <PEGELOW@DMSWWU1A.UNI-MUENSTER.DE> writes:
  15.  
  16. > Are you sometimes using MGR as root? MGR leaves a junk entry in file
  17. > /etc/utmp (the file where all currently logged-in users are kept).
  18. > This entry states that root is still logged in on /dev/ttyp0.
  19. > When you want to shut your system down reboot/shutdown/halt will try
  20. > to write a warning message to the control terminals of all users.
  21. > As /dev/ttyp0 is not opened for reading any more shutdown will block
  22. > when it tries to open /dev/ttyp0 for writing. However you should be
  23. > able to interrupt shutdown by pressing CTRL-C at least.
  24.  
  25. Yup, right.  I've encountered just the same problem with X11.
  26. The cure is simple:  as root say  echo > /etc/utmp; reboot
  27.  
  28. You will not see the warning message, though.  :)
  29.  
  30. -- 
  31. // sjm
  32. f u cn rd ths, u cnt spl wrth a dmn!
  33. // sjm
  34. f u cn rd ths, u cnt spl wrth a dmn!
  35. -- 
  36.