Skip to content

Question: needed linux capabilities instead of sudo #861

@mathisloge

Description

@mathisloge

As the documentation states, it is needed to start the application to be analyzed with elevated permissions. However since this changes the user under linux (exec with sudo) and I need the current user, I've tried to set the possible needed permissions to the application: sudo setcap 'CAP_PERFMON=eip CAP_SYS_PTRACE=eip CAP_SYS_ADMIN=eip CAP_SYS_RAWIO=eip CAP_SYSLOG=eip CAP_SYS_NICE=eip' myapp (just set a whole range of caps, to try to get the same behavior as with sudo). But unfortunately I'm not getting the advanced traces as with sudo.

Does anyone has ever tried it and could help me, which capabilities I need to set to get the same behavior as with sudo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions