Skip to main content

Add sudo

To add sudo in your system we will install it as a root

apt install sudo

and

usermod -aG sudo username

And using nano text editor we will edit the file sudoers from /etc directory

nano /etc/sudoers

And under the comentary #User privilege specification we will write

username ALL=(ALL:ALL) ALL

finished