vasklinux·Ask Linuxbyvoracread How to add a single user to the sudoers list?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?View original on lemmy.world5Comments3
MMellow lemmy.world2Hide 2 repliesFile: /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 4
PPlasticExistence replylemmy.worldAdd the desired user to the wheel group in Fedora https://docs.fedoraproject.org/en-US/quick-docs/adding_user_to_sudoers_file/2
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/