##########################
## Running commands as root (sudo, su)
##########################

# running a command as root (only users that belong to sudo group [Ubuntu] or wheel [CentOS])
sudo command

# becoming root temporarily in the terminal
sudo su      # => enter the user's password

# setting the root password
sudo passwd root

# changing a user's password
passwd username

# becoming root temporarily in the terminal
su     # => enter the root password