Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

Installation • I'm somehow not in the sudoers file.

$
0
0
If 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
To gain Root access use the following command and
give the password you used for root during setup:

Code:

su -
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)
No, you do have to reboot - logout/login does not cure the problem - but rebooting takes care of it.

Statistics: Posted by Spherical7832 — 2024-10-17 20:14 — Replies 29 — Views 85326



Viewing all articles
Browse latest Browse all 3567

Latest Images

Trending Articles



Latest Images