Set up users
Set a root password for recovery:
bash
passwdCreate your regular account, replacing yourusername:
bash
useradd -m -G wheel -s /bin/bash yourusername
passwd yourusernameDesktop sessions receive device access through logind. Do not add broad device-access groups such as input, disk or video by default. See Users and groups.
Give the wheel group administrative access using the validated sudo editor:
bash
EDITOR=nano visudoUncomment this rule:
text
%wheel ALL=(ALL:ALL) ALL