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