PDA

View Full Version : setcap from not root user



lupin982
27-Jan-2010, 15:16
Hi,
i have a problem with setcap.
I need to set some capabilities for a process from a not root user,
like this
"/sbin/setcap all=eip my_process"

I can perform this operation only from root user or using sudo, but i
don't want this, in Unix i can set capabilities from not super user, but
with SLES 11 no, Someone know a solution at this problem?

Thanks


--
lupin982
------------------------------------------------------------------------
lupin982's Profile: http://forums.novell.com/member.php?userid=75743
View this thread: http://forums.novell.com/showthread.php?t=399707

lobzter
31-Aug-2010, 08:36
I hate to ask "me too" questions but since almost a year has passed with
no answer:
In which package can I find setcap?

Have a look at this nice article about running Wireshark without being
root:
https://blog.wireshark.org/2010/02/running-wireshark-as-you/


--
lobzter
------------------------------------------------------------------------
lobzter's Profile: http://forums.novell.com/member.php?userid=6075
View this thread: http://forums.novell.com/showthread.php?t=399707

lobzter
31-Aug-2010, 09:06
Found it.
/sbin/setcap is in the package libcap-progs and is only available in
SLES. Looks like I need to write a coolsolutions article.


--
lobzter
------------------------------------------------------------------------
lobzter's Profile: http://forums.novell.com/member.php?userid=6075
View this thread: http://forums.novell.com/showthread.php?t=399707