Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all! How can I change the capabilities for an executable file in RT_SUSE Linux Enterprise Server 11? I can see the file "capability.h" in /usr/include/linux and the library "libcap.so" ...
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    1

    Unhappy How to set capabilities

    Hi all!
    How can I change the capabilities for an executable file in RT_SUSE Linux Enterprise Server 11?
    I can see the file "capability.h" in /usr/include/linux and the library "libcap.so" in /lib64/ but i found out
    that to change the capabilities I need to use the "execcap" and "sucap" command and I am not able to find them in /sbin/.
    How can obtain them?
    The file "capability.h" also lacks of the capability "CAP_SETFCAP" that I need, is there a patch for this?
    How can I enable this capability?

    Thanks!

  2. #2
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    I really can't answer your question (the details are way beyond me).

    All I can do is point to a doc I found which may have some relevence, depending on which kernel you're using. Good luck.

    http://ftp.kernel.org/pub/linux/libs...capfaq-0.2.txt

    found in

    Index of /pub/linux/libs/security/linux-privs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...