Create and Grant Sudo Privileges to user
note: already signed in as root
user, if signed in as a non-root user, add sudo
before the cmd
Add a new user
Give the new user a password
Grant Sudo Privileges to a user
Make sure the wheel
group is granted sudo privileges:
Uncomment the second line as following:
Copy ssh public key to the user account
Last updated
Was this helpful?