this post was submitted on 23 Oct 2024
21 points (88.9% liked)

Linux

47866 readers
1340 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

[Solved] just had to log out and back in Original post: I'm running Debian 12 and I set a separate root password from my username password.

When trying to install a .deb file I noticed that it said I was not in sudoers file so I looked it up and tried the command SU and successfully entered my root password.

The I tried doing

sudo usermod -aG sudo [username]

And then I verify the addition of the user to the sudo group with

groups [username]

And this does indeed show that I am in the sudo group however when I try to install a .deb file after that or even sudo apt update its still telling me I am not in sudoers list.

Any ideas what I'm doing wrong here?

you are viewing a single comment's thread
view the rest of the comments
[–] Lemmchen@feddit.org 1 points 2 days ago

Group changes require a relog of the user.