Log in as root or with root privileges

1. sudo adduser newuser or adduser newuser
Enter the the info or just leave blank.

2. Set the password for the new user
sudo passwd newuser or passwd newuser

To give the newuser root privileges

visudo or vi /etc/sudoers

search for the line and add the following line

root ALL=(ALL:ALL) ALL
newuser ALL=(ALL:ALL) ALL

Leave a Reply

Your email address will not be published. Required fields are marked *