To gain Root access use the following command andIf you give a Root password and a User password the User is not on the sudo file.
If you give no Root password then a User password the user is in the sudo file.
To correct this and grant sudo access to the default user:
AS ROOT
give the password you used for root during setup:
Code:
su -
No, you do have to reboot - logout/login does not cure the problem - but rebooting takes care of it.apt-get update
apt-get install sudo
usermod -a -G sudo <username>
Now reboot the system.
(It's just enough to logout/login and not necessary to reboot the system)
Statistics: Posted by Spherical7832 — 2024-10-17 20:14 — Replies 29 — Views 85326