ubuntu-eee-coders team mailing list archive
-
ubuntu-eee-coders team
-
Mailing list archive
-
Message #01189
Re: [Question #46970]: have to sudo to ping?
Question #46970 on Ubuntu Eee changed:
https://answers.launchpad.net/ubuntu-eee/+question/46970
Status: Open => Answered
Karunesh Johri proposed the following answer:
On my machine, I checked the directory of ping
$ which ping
/bin/ping
$ ls -ls /bin/ping
36 -rwsr-xr-x 1 root root 33168 2007-12-11 00:33 /bin/ping
The set-user-ID on execution bit is set. That is, when a user executes
ping, he or she executes as its owner (root). You can locate the ping
file, go to that directory and give the command,
sudo chmod u+s ping
Karunesh
--
You received this question notification because you are a member of
Ubuntu Eee Coders, which is an answer contact for Ubuntu Eee.