Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== /etc/sudoers files ====== ''/etc/sudoers'' controls who can use the ''sudo'' command and how it is used. Whenever editing ''/etc/sudoers'', the ''visudo'' command, which verifies the file before writing, should be used in order to prevent a situation where access to ''sudo'' is blocked. ===== Insults ===== Add or uncomment the following line if you want ''sudo'' to insult you if you get your password wrong: <code> Defaults insults </code> ===== targetpw ===== The targetpw command will require that you enter the password of the user that you want to run the command as (typically root). <code> Defaults targetpw </code> This is enabled by default on openSUSE. I didn't like this behavior so I disabled it. ===== Allowing a group to use sudo ===== The following line will allow any user from the ''wheel'' group to use sudo. <code> %wheel ALL=(ALL:ALL) ALL </code> The ''wheel'' group is used by Fedora/openSUSE systems as the group whose members can use sudo. On Debian-based systems, the equivalent group is ''sudo''. kb/etc_sudoers.txt Last modified: 2024-04-30 04:03by 127.0.0.1