home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20730 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.6 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!rz.uni-karlsruhe.de!fg70.rz.uni-karlsruhe.de!ig25
  2. From: ig25@fg70.rz.uni-karlsruhe.de (Thomas Koenig)
  3. Newsgroups: comp.os.linux
  4. Subject: Switching off (was: How stable is extended filesystem?)
  5. Date: 16 Dec 1992 22:44:08 GMT
  6. Organization: University of Karlsruhe, Germany
  7. Lines: 24
  8. Message-ID: <1gobfoINN89h@nz12.rz.uni-karlsruhe.de>
  9. References: <1gm5rrINNb01@life.ai.mit.edu> <BzC542.8oF@ux1.cso.uiuc.edu> <FRIDLUND.92Dec16154814@stingray.micro.umn.edu>
  10. Reply-To: ig25@rz.uni-karlsruhe.de
  11. NNTP-Posting-Host: fg70.rz.uni-karlsruhe.de
  12.  
  13. In article <FRIDLUND.92Dec16154814@stingray.micro.umn.edu> fridlund@mermaid.micro.umn.edu (Jim Fridlund) writes:
  14. >Yeah, never
  15. >reboot without a 'sync'.  This is true for all unix box.  I wait till
  16. >I see Linux 'sync' before I do a system reset.  NOTE:  I don't do
  17. >system reset unless necessary.
  18.  
  19. Even switching off after a sync can be dangerous.  Suppose some
  20. background job starts messing the file system after you've just done
  21. sync...
  22.  
  23. I'd strongly advise using /etc/shutdown. If you don't usually have a root
  24. session running, create a user whose sole function is to shut the machine
  25. down (use a name like off :-). The login shell for that user should
  26. check wether it is being called from a secure tty, then exec /etc/shutdown now.
  27.  
  28. Umm, you'd probably have to add this user to /etc/shutdown.allow or
  29. whatever, or give this user root privileges, I'm not too sure.
  30.  
  31. Note: He who can pull the plug should have a legal way of bringing the
  32. system down.
  33. -- 
  34. Thomas Koenig, ig25@rz.uni-karlsruhe.de, ig25@dkauni2.bitnet
  35. The joy of engineering is to find a straight line on a double logarithmic
  36. diagram.
  37.