Xymon Mailing List Archive search

Fping ...

4 messages in this thread

list Launce · Thu, 09 Mar 2006 11:36:14 -0800 ·
Hey folks,

Ok, I am fairly successful with my roll-out so far, the help here has 
been great, thanks!

So, todays issue is fping, I am getting the following out of my error logs:

2006-03-09 11:14:37 Execution of '/usr/local/sbin/fping -Ae' failed - 
program not suid root?
however when running an ls -al it shows:

-rwxrwxrwt   1 root    root      47723 Mar  7 10:53 fping


any ideas?

--Launce
list JT Justman · Thu, 09 Mar 2006 11:51:56 -0800 ·
quoted from Launce
Launce wrote:
Hey folks,

Ok, I am fairly successful with my roll-out so far, the help here has
been great, thanks!

So, todays issue is fping, I am getting the following out of my error logs:

2006-03-09 11:14:37 Execution of '/usr/local/sbin/fping -Ae' failed -
program not suid root?
however when running an ls -al it shows:

-rwxrwxrwt   1 root    root      47723 Mar  7 10:53 fping
Whoa, that's a weird mode. Something funny going on in your server?
Check out your other binaries for odd perms. Nothing should be
world-writable.

In any case, the SUID bit can be set with:

$ chmod 4755 /usr/local/sbin/fping

HTH,

JT

-- 
	|Waiting to fix the world since 1995|
"Progress isn't made by early risers. It's made by lazy men trying to
find easier ways to do something."
	- Robert Heinlein
list Rob MacGregor · Thu, 9 Mar 2006 19:55:45 +0000 ·
quoted from Launce
On 3/9/06, Launce <user-20423b823da1@xymon.invalid> wrote:
however when running an ls -al it shows:

-rwxrwxrwt   1 root    root      47723 Mar  7 10:53 fping

any ideas?
Well, that's not suid root.  It should look something like
"-rwsr-xr-x".  As already mentioned, being world writable is a *bad*
thing.  You chould remove it, reinstall from source and then make it
SUID root (chmod +s).

--
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Launce · Thu, 09 Mar 2006 12:41:56 -0800 ·
quoted from JT Justman
JT Justman wrote:
-rwxrwxrwt   1 root    root      47723 Mar  7 10:53 fping
   
Whoa, that's a weird mode. Something funny going on in your server?
Check out your other binaries for odd perms. Nothing should be
world-writable.

In any case, the SUID bit can be set with:

$ chmod 4755 /usr/local/sbin/fping

HTH,

JT

 
Entirely my fault on that one, I was a bit frustrated when playing with 
this and kinda pounded on it when it was saying it could not execute, 
got past that one to the new message and never got around to changing it...

Ok, implemented and tested, looks good, thanks!

--L