Fix SUID for less and pg

This commit is contained in:
Andrea Cardaci 2018-08-24 13:30:23 +02:00
parent 38a5860d48
commit 1bff7d1525
2 changed files with 2 additions and 7 deletions

View File

@ -19,7 +19,5 @@ functions:
sudo less /etc/profile sudo less /etc/profile
!/bin/sh !/bin/sh
suid-enabled: suid-enabled:
- code: | - code: ./less file_to_read
./less file_to_read
!/bin/sh
--- ---

View File

@ -11,8 +11,5 @@ functions:
sudo pg /etc/profile sudo pg /etc/profile
!/bin/sh !/bin/sh
suid-enabled: suid-enabled:
- description: - code: ./pg file_to_read
code: |
./pg file_to_read
!/bin/sh
--- ---