[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] Version of Hobbit y'all use?



in sudoers, add a line like:

hobbituser ALL=(root) NOPASSWD: /path/to/fping

or even easier, change fping to setuid root (chown root /path/to/fping; chmod 4755 /path/to/fping)


=G=

________________________________________
From: Josh Luthman [josh (at) imaginenetworksllc.com]
Sent: Tuesday, July 29, 2008 12:15 AM
To: hobbit (at) hswn.dk
Subject: Re: [hobbit] Version of Hobbit y'all use?

I am using 4.2.0 stable, no patches for the office network and 4.2.0 all-in-one patch at home.

Here's what other people are using: http://en.wikibooks.org/wiki/The_hobbit_Users_list

On both my servers I got complaints about /var/log/messages not being readable (red, IIRC).  Can't explain why it didn't complain for you, sorry.

I don't use sudo but I believe if you simply give the permissions of the "hobbit user" to read/execute /usr/sbin/fping you shouldn't have to worry about sudo when executing the command via Hobbitmon.

Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

On Tue, Jul 29, 2008 at 12:11 AM, Thomas Leavitt <tleavitt (at) unameits.com<mailto:tleavitt (at) unameits.com>> wrote:

Do y'all typically run the "stable" version of Hobbit, 4.2.0, downloaded from SourceForge, or do many of you run a more recent version?



I noticed that a permission failure on /var/log/messages doesn't produce a "yellow" on my version.



Anyone have proper SUDO settings that enable the hobbit server to run fping with no password, and the hobbit clients to read a root only readable /var/log/messages? Can you just run "fping" without putting "sudo" in front of the command, if you've got the proper settings  in /etc/sudoers?



Thomas