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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
I will try that.
Add the desired user to the wheel group in Fedora
https://docs.fedoraproject.org/en-US/quick-docs/adding_user_to_sudoers_file/