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
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
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
On 3/9/06, Launce <lhaught at broadline.tv> 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
participants (3)
-
jt-lists@sirius.airdelights.com
-
lhaught@broadline.tv
-
rob.macgregor@gmail.com