lizrice / container-security

Resources for the O'Reilly Container Security book
https://containersecurity.tech
Apache License 2.0
97 stars 13 forks source link

PG16 - setuid and setgid example correction #4

Open ipbloke opened 4 years ago

ipbloke commented 4 years ago

Feedback for on Container-Security book.

Hi Liz

Just reading through your well presented book on container-security and thought I would add feedback for review in terms of revision for future edits..

Extract - Pg 16 The ls output shows that the copy is owned by the user called vagrant. Run this under root by executing sudo sleep 100

Does the execution statement actually need to be sudo ./mysleep 100 instead (as this is what process is shown in the resulting output when running ps ajf )?