mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Use a testsudoers group file with known contents instead of the system one.
This commit is contained in:
parent
391ed95f50
commit
0398996b39
1
MANIFEST
1
MANIFEST
@ -613,6 +613,7 @@ plugins/sudoers/regress/sudoers/test9.json.ok
|
||||
plugins/sudoers/regress/sudoers/test9.ldif.ok
|
||||
plugins/sudoers/regress/sudoers/test9.out.ok
|
||||
plugins/sudoers/regress/sudoers/test9.toke.ok
|
||||
plugins/sudoers/regress/testsudoers/group
|
||||
plugins/sudoers/regress/testsudoers/test1.out.ok
|
||||
plugins/sudoers/regress/testsudoers/test1.sh
|
||||
plugins/sudoers/regress/testsudoers/test2.inc
|
||||
|
15
plugins/sudoers/regress/testsudoers/group
Normal file
15
plugins/sudoers/regress/testsudoers/group
Normal file
@ -0,0 +1,15 @@
|
||||
wheel:*:0:root
|
||||
daemon:*:1:daemon
|
||||
kmem:*:2:root
|
||||
sys:*:3:root
|
||||
tty:*:4:root
|
||||
operator:*:5:root
|
||||
bin:*:7:
|
||||
wsrc:*:9:
|
||||
users:*:10:
|
||||
auth:*:11:
|
||||
games:*:13:
|
||||
staff:*:20:root
|
||||
guest:*:31:root
|
||||
nogroup:*:32766:
|
||||
nobody:*:32767:
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
exec 2>&1
|
||||
./testsudoers -g bin root id <<EOF
|
||||
./testsudoers -g bin -P ${TESTDIR}/group root id <<EOF
|
||||
root ALL = ALL
|
||||
EOF
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user