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

Ask Linux

90 readers
1 users here now

Ask the community any questions about Linux

founded 11 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 1 comments
sorted by: hot top controversial new old
[–] Mellow12@lemmy.world 1 points 10 months ago* (last edited 10 months ago)

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