Create a user:
useradd --create-home example_userSet a password for the user:
passwd example_userEnsure sudo is installed.
Add to the wheel group (for sudo access):
usermod --append --groups wheel example_userFinally, run visudo and uncomment the line below:
## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL) ALL