mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Add regress for SHA-2 digests.
This commit is contained in:
parent
c5971524f1
commit
5a7e54d375
3
MANIFEST
3
MANIFEST
@ -290,6 +290,9 @@ plugins/sudoers/regress/sudoers/test12.toke.ok
|
||||
plugins/sudoers/regress/sudoers/test13.in
|
||||
plugins/sudoers/regress/sudoers/test13.out.ok
|
||||
plugins/sudoers/regress/sudoers/test13.toke.ok
|
||||
plugins/sudoers/regress/sudoers/test14.in
|
||||
plugins/sudoers/regress/sudoers/test14.out.ok
|
||||
plugins/sudoers/regress/sudoers/test14.toke.ok
|
||||
plugins/sudoers/regress/sudoers/test2.in
|
||||
plugins/sudoers/regress/sudoers/test2.out.ok
|
||||
plugins/sudoers/regress/sudoers/test2.toke.ok
|
||||
|
4
plugins/sudoers/regress/sudoers/test14.in
Normal file
4
plugins/sudoers/regress/sudoers/test14.in
Normal file
@ -0,0 +1,4 @@
|
||||
Cmnd_Alias LS = sha224:d06a2617c98d377c250edd470fd5e576327748d82915d6e33b5f8db1 /bin/ls
|
||||
Cmnd_Alias SH = sha256:hOtoe/iK6SlGg7w4BfZBBdSsXjUmTJ5+ts51yjh7vkM= /bin/sh
|
||||
|
||||
millert ALL = LS, SH, sha512:srzYEQ2aqzm+it3f74opTMkIImZRLxBARVpb0g9RSouJYdLt7DTRMEY4Ry9NyaOiDoUIplpNjqYH0JMYPVdFnw /bin/kill
|
7
plugins/sudoers/regress/sudoers/test14.out.ok
Normal file
7
plugins/sudoers/regress/sudoers/test14.out.ok
Normal file
@ -0,0 +1,7 @@
|
||||
Parses OK.
|
||||
|
||||
|
||||
Cmnd_Alias LS = /bin/ls
|
||||
Cmnd_Alias SH = /bin/sh
|
||||
|
||||
millert ALL = LS, SH, /bin/kill
|
4
plugins/sudoers/regress/sudoers/test14.toke.ok
Normal file
4
plugins/sudoers/regress/sudoers/test14.toke.ok
Normal file
@ -0,0 +1,4 @@
|
||||
CMNDALIAS ALIAS = SHA224 : DIGEST COMMAND
|
||||
CMNDALIAS ALIAS = SHA256 : DIGEST COMMAND
|
||||
|
||||
WORD(5) ALL = ALIAS , ALIAS , SHA512 : DIGEST COMMAND
|
Loading…
x
Reference in New Issue
Block a user