2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00
Todd C. Miller 2c1a473ddc testsudoers: add support for NOTBEFORE and NOTAFTER
Also adds -T option to set the value of "now".
2023-06-29 11:13:01 -06:00

41 lines
554 B
Plaintext

Parses OK
Entries for user root:
ALL = NOTBEFORE=20170214083000Z /bin/ls
host matched
time matched
runas matched
cmnd allowed
Command allowed
Parses OK
Entries for user root:
ALL = NOTBEFORE=20170214083001Z /bin/ls
host matched
time unmatched
Command unmatched
Parses OK
Entries for user root:
ALL = NOTAFTER=20170214083000Z /bin/ls
host matched
time matched
runas matched
cmnd allowed
Command allowed
Parses OK
Entries for user root:
ALL = NOTAFTER=20170214083000Z /bin/ls
host matched
time unmatched
Command unmatched