SUDO
sudo switch to root
sudo su
Check sudo privileges
don@ubuntu:~/Documents/dont/demo$ sudo -l
[sudo] password for don:
Matching Defaults entries for don on ubuntu:
env_reset, mail_badpass,
secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin
User don may run the following commands on ubuntu:
(ALL : ALL) ALL
sudo - execute as another user
$ sudo -u <user> <command>