home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / admin / 4842 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  2.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!dog.ee.lbl.gov!nosc!humu!pegasus!isle!bud
  2. From: bud@paradise.pegasus.com (Bud Carlson)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: Where to put /tmp ?  Make / read-only ?
  5. Message-ID: <1992Jul20.184603.17177@paradise.pegasus.com>
  6. Date: 20 Jul 92 18:46:03 GMT
  7. References: <1992Jul16.183304.8487@cosy.sbg.ac.at> <1992Jul16.200548.5462@mp.cs.niu.edu> <1992Jul17.174609.7388@zia.aoc.nrao.edu>
  8. Organization: Paradise Isle Computing Services
  9. Lines: 38
  10.  
  11. rmilner@zia.aoc.nrao.edu (Ruth Milner) wrote:
  12. >In article <1992Jul16.200548.5462@mp.cs.niu.edu> rickert@mp.cs.niu.edu (Neil Rickert) writes:
  13. >>In article <1992Jul16.183304.8487@cosy.sbg.ac.at> lendl@cosy.sbg.ac.at (Otmar Lendl) writes:
  14. >>>
  15. >>>I heard someone say that the root-partition should be mounted
  16. >>>read-only.  If /tmp and /var are not on the
  17. >>>/ partition, and the /etc/{hosts|passwd|..} are maintained 
  18. >>>by NIS in /var/yp, I can see no reason why not mount / as
  19. >>>read-only.
  20. >>
  21. >>  Don't forget /etc/mtab, /etc/utmp, and the access times [and permissions]
  22. >> on your /dev special files.  
  23. >
  24. >And the lpd socket /dev/lpd/printer .
  25. >
  26. >Plus all the files that get created/changed at boot time and therefore require
  27. >/etc to be writeable: ld.so.cache, ttys, motd, named.pid (if you run named), 
  28. >xtab, syslog.pid, state, and so forth.
  29. >
  30. >Plus /etc/dumpdates if you do dumps. Not to mention that you'd have to do a
  31. >remount any time you wanted to change the system configuration by editing an 
  32. >rc file, printcap, ttytab, resolv.conf, sendmail.cf, hosts.{equiv,lpd}, fstab, 
  33. >shells, etc. etc. etc.  Or modify root's environment by editing /{.profile,
  34. >.cshrc,.login,.rhosts}. Or put in a new kernel.
  35.  
  36.  
  37. Ruth forgot to mention that if you did have (and you will, I promise)
  38. to mount / to write files, you will have to use the `remount' option to
  39. the mount command.  Since that option won't allow "mount -o remount,ro", 
  40. you are stuck with your / filesystem mounted rw until you reboot therefore 
  41. defeating the the whole purpose [or mess :-)].
  42.  
  43. ...Bud
  44. -- 
  45. Bud Carlson * System Manager * Paradise Isle Computing * bud@isle.pegasus.com
  46.  
  47.  
  48.  Serving coffee on aircraft causes turbulence.
  49.