grant superuser permission to sudo user ubuntu code example
Example 1: grant superuser permission to sudo user ubuntu
adduser sudo_user_name
//grant privileges
visudo
under line
root ALL=(ALL:ALL) ALL
add this line
sudo_user_name ALL=(ALL:ALL) ALL
sudo apt-get update
Example 2: grant superuser permission to sudo user ubuntu
adduser sudo_user_name
//grant privileges
visudo
under line
root ALL=(ALL:ALL) ALL
add this line
sudo_user_name ALL=(ALL:ALL) ALL
sudo apt-get update