Re: make ping executable by normal users?
On Wed, Jun 08, 2016 at 02:44:52PM +0100, Ben Hutchings wrote:
> [...] see bug #770492.
Truly amazing! For "ping", it would be like this:
$ /sbin/getcap /bin/ping
/bin/ping = cap_net_raw+ep
$ chown root:root /bin/ping
chown: changing ownership of '/bin/ping': Operation not permitted
$ /sbin/getcap /bin/ping
[ empty output ]
And you don't even have to be root, so this is a lot easier method to
lose the capability than doing tar + untar or using rsync without -X.
Thanks.
Reply to: