xref: /aosp_15_r20/external/libcap/pam_cap/sudotest.conf (revision 2810ac1b38eead2603277920c78344c84ddf3aff)
1# only root
2all                                root
3
4# this should fire for beta only
5!cap_chown                         beta
6
7# the next one should snag gamma since beta done
8cap_setuid,cap_chown               @three
9
10# neither of these should fire
11cap_chown                          beta gamma
12
13# just alpha
14!cap_chown,cap_setuid              @one
15
16# not this one
17^cap_setuid                        alpha
18
19# this should fire
20^cap_chown,^cap_setgid,!cap_setuid delta
21
22# not this one
23cap_setuid                         @four
24