# Username Machine:(Run as) 'Command to execute'
# iptracej ALL:(ALL:ALL) ALL # This is a sample syntx.
sudo -l
Allow Root Privilege to binary commands.
# (root) ALL
sudo su
#or
sudo bash
sudo -s # spawn a new shell with root privildge
sudo -i # spawn a new shell with root privilege with root' env and profile
sudo /bin/bash
sudo passwd
# (root) NOPASSWD: /usr/bin/find
# Check find command in GTFBions
# A defined user or group has the ability to execute any command as any user with root privileges using the sudo command
ALL=(ALL) ALL
# A defined user or group is allowed to run any command as the root user on any host using the sudo command.
(root) ALL
# A defined user or group is allowed to execute the following commands without password.
(root) NOPASSWD: /bin/script/file.sh, /bin/script/file.py, shell
# A defined user or group is allowed to execute the following commands as any usr with root privilege using the sudo command.
(ALL) NOPASSWD: /usr/bin/env, /usr/bin/ftp, /usr/bin/scp, /usr/bin/socat