setuid safe for df?
On Fri, Jan 30, 2009 at 11:59:57AM +1300, Richard Hector wrote:
> Hi all,
> I'm having a problem at the moment with nagios monitoring of disk space.
> When a filesystem is mounted in a directory that's inaccessible to the
> nagios user, df doesn't work for it.
> Is df considered safe to be setuid?
> Any other suggestions?
Setup your /etc/sudoers so the nagios user can run df without a password, then
configure Nagios to use "sudo df" instead of just "df" (I'm just learning
Nagios myself, so I don't know how you might do the second part)
Eric Gerlach, Network Administrator
Federation of Students
University of Waterloo
p: (519) 888-4567 x36329
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org