We can check what `sudo` privileges we have with the `sudo -l` command: ``` bash user@htb[/htb]$ sudo -l [sudo] password for user1: ...SNIP... User user1 may run the following commands on ExampleServer: (ALL : ALL) ALL ``` Switch to root using sudo: ```shell user@htb[/htb]$ sudo su - [sudo] password for user1: whoami root ``` There are certain occasions where we may be allowed to execute certain applications, or all applications, without having to provide a password: ```shell-session user@htb[/htb]$ sudo -l (user : user) NOPASSWD: /bin/echo ```