home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / sysadmin / 6324 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.0 KB  |  28 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!news.uiowa.edu!news.weeg.uiowa.edu!news!rpruess
  3. From: rpruess@yoyo.weeg.uiowa.edu (Rex Pruess)
  4. Subject: Re: /etc/mtab mode change with dismount
  5. In-Reply-To: jeffo@ux1.cso.uiuc.edu's message of Fri, 6 Nov 1992 00:42:35 GMT
  6. Message-ID: <RPRUESS.92Nov6063554@yoyo.weeg.uiowa.edu>
  7. Sender: news@news.weeg.uiowa.edu (News)
  8. Nntp-Posting-Host: yoyo.weeg.uiowa.edu
  9. Organization: U of Iowa, Iowa City, IA
  10. References: <Bx9rBD.F2E@ux1.cso.uiuc.edu>
  11. Date: Fri, 6 Nov 1992 12:35:54 GMT
  12. Lines: 14
  13.  
  14. jeffo@ux1.cso.uiuc.edu writes:
  15.    > What is the correct way to keep the mode of /etc/mtab from changing to
  16.    > root-only read and write when a volume is unmounted?
  17.    > ... is the fix for this to make df(1) setuid root?
  18.  
  19. You could stuff something like the following in '/etc/crontab.local':
  20.  
  21.           1,31 * * * *  root  /bin/chmod 644 /etc/mtab
  22.  
  23. Not elegant, but probably adequate.
  24. --
  25. --
  26.   Rex Pruess, Weeg Computing Center, University of Iowa, Iowa City, IA
  27.      NeXTmail: Rex-Pruess@uiowa.edu ......... Phone: (319) 335-5452
  28.