archlinux

25 - Privilege elevation

Previous: Create a new user

References:


Install

pacman -S sudo

Edit

/etc/sudoers

with

EDITOR=nano visudo

Replace the line # %wheel ALL=(ALL:ALL) ALL by

%wheel ALL=(ALL:ALL) ALL

Users in the group wheel can execute commands as root by addingsudo to the command.


Next: Reboot the systemc