Jump to content

Ping permission?


Guest fyrekrig
 Share

Recommended Posts

Guest fyrekrig

Is it possible to change the permission of "ping" command from root to user.

 

If so, how can I do it?

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

  • 2 weeks later...
Is it possible to change the permission of "ping" command from root to user.

 

If so, how can I do it?

 

What do you mean?

 

The ping command needs a raw socket to send & receive packets. For this, it's usually installed setuid to root so any user can run it. If you can't run it as user, then check first that it's in your PATH or turn on the setuid bit :o

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...