Skip to content

Challenge 1: So Su Me

Bob Micheletto edited this page Feb 20, 2023 · 3 revisions

Level: Easy Sudo Rule: localuser1 ALL=(ALL) NOPASSWD: /bin/su *, !/bin/su root

Notes: The ! part of the rule attempts to stop one from su'ing to root. There are many work arounds.

All of these work:

sudo su
sudo su -
sudo su - root

chal1

Clone this wiki locally