"require.user: unprivileged" retains operator group

Peter Holm peter at holm.cc
Mon Mar 10 10:16:29 UTC 2014

$ kyua test user_test 
user_test:rootuser  ->  skipped: Requires root privileges  [0.001s]
user_test:nonrootuser  ->  broken: Caught unexpected exception: Tester failed with code 2; this is a bug  [0.039s]

1/2 passed (1 failed)
Committed action 1
$ su
root at x4:/usr/tests/sys/kern # kyua test user_test 
user_test:rootuser  ->  passed  [0.031s]
user_test:nonrootuser  ->  passed  [0.022s]

2/2 passed (0 failed)
Committed action 50
root at x4:/usr/tests/sys/kern # kyua debug user_test:rootuser
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)
user_test:rootuser  ->  passed
root at x4:/usr/tests/sys/kern # kyua debug user_test:nonrootuser
uid=977(tests) gid=65534(nobody) groups=65534(nobody),5(operator)
user_test:nonrootuser  ->  passed
root at x4:/usr/tests/sys/kern # 


More information about the freebsd-testing mailing list