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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...