Replace more suid-limited execution with a suid-enabled read example

This commit is contained in:
Emilio Pinna 2018-06-17 11:39:42 +01:00
parent 7fa5b1e16e
commit 50ffed4210

View File

@ -8,10 +8,9 @@ functions:
- code: | - code: |
TERM= sudo -E more /etc/profile TERM= sudo -E more /etc/profile
!/bin/sh !/bin/sh
suid-limited: suid-enabled:
- code: | - code: |
TERM= ./more /etc/profile ./more file_to_read
!/bin/sh
file-read: file-read:
- code: | - code: |
more file_to_read more file_to_read