Arch Linux - Sudo
Hey guys!! Today we’re going to show you how to setup sudo on Arch Linux. It is super easy.
Login as root ( you need to already have root to set this up ):
su -
Uncomment ( or add ) this line in your sudoers file:
vi /etc/sudoers%wheel ALL=(ALL) ALL
Make sure your user is added to the wheel group. The line will look like this. It may already be there.
vi /etc/groupwheel:x:998:user1
While logged in as your own user, test it out.
sudo cat /etc/shadow
Become root:
sudo su -
Video Instructions
In case you want to watch me set this up: