1831070 Members
2520 Online
110019 Solutions
New Discussion

Re: Ping errors

 
George E. Holland_1
Occasional Advisor

Ping errors

Using HP-UX 11i. when trying to ping from any user execpt root recive error message
"ping: socket: not owner". Permissions check out as 555.
6 REPLIES 6
Michael Tully
Honored Contributor

Re: Ping errors

The ping executable must set as below (4555)

-r-sr-xr-x 1 root bin 36864 Nov 14 2001 /usr/sbin/ping
Anyone for a Mutiny ?
George E. Holland_1
Occasional Advisor

Re: Ping errors

Mike.
Changed permissions to 4555. Same problem.
Michael Tully
Honored Contributor

Re: Ping errors

Check to see how many 'ping' files there are:

# which ping

# find / -name ping -print
(make sure /etc/ping is a sym link to /usr/sbin/ping)

Also check for aliases

I did the exact same test, changed a ping executable mode and reproduced your problem. Changed it back and it was fine.
Anyone for a Mutiny ?
A. Clay Stephenson
Acclaimed Contributor

Re: Ping errors

You need to also make absolutely certain that the ping executable is owned by root otherwise the setuid will have not su to root.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: Ping errors

You need to also make absolutely certain that the ping executable is owned by root otherwise the setuid will not su to root.
If it ain't broke, I can fix that.
George E. Holland_1
Occasional Advisor

Re: Ping errors

Mike.
What I ended up doing was to copy ping to a temp file remove the file and replace it with copy. IT WORKS. Thanks for the help