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

Ask Linux

63 readers
1 users here now

Ask the community any questions about Linux

founded 4 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?

top 3 comments
sorted by: hot top controversial new old
[–] Mellow12 3 points 4 months ago* (last edited 4 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 4 months ago (1 children)
[–] PlasticExistence 2 points 4 months ago* (last edited 4 months ago)