this post was submitted on 18 Jul 2024
5 points (100.0% liked)

Ask Linux

65 readers
1 users here now

Ask the community any questions about Linux

founded 5 months ago
MODERATORS
 

In both Fedora and PCLinuxOS Debian edition which I have installed recently it seems I need to add the only user to sudoers list to perform certain actions.

How to do this?

you are viewing a single comment's thread
view the rest of the comments
[–] Mellow12 3 points 5 months ago* (last edited 5 months ago) (1 children)

File: /etc/sudoers

username ALL=(ALL) ALL

https://www.linuxfoundation.org/blog/blog/classic-sysadmin-configuring-the-linux-sudoers-file

-or-

Debian uses a group called sudo. Add a user to that group.

usermod -aG sudo

[–] voracread 2 points 5 months ago (1 children)
[–] PlasticExistence 2 points 5 months ago* (last edited 5 months ago)