Skip to content

Commit

Permalink
Keep CAP_AUDIT_WRITE capability, needed for PAM on some distributions.
Browse files Browse the repository at this point in the history
Suggested by Michal Vyskocil.
  • Loading branch information
jedisct1 committed Jun 22, 2011
1 parent d8e6371 commit ac36eb8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/caps_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# endif

cap_value_t cap_keep_startup[] = {
# if defined(USE_PAM) && defined(CAP_AUDIT_WRITE)
CAP_AUDIT_WRITE,
# endif
CAP_SETGID,
CAP_SETUID,
CAP_CHOWN,
Expand Down

0 comments on commit ac36eb8

Please sign in to comment.