answersLogoWhite

0


Best Answer

You should be able to change this merely by typing the command: visudo

This command accesses the /etc/sudoers file (might be located differently depending on distro).

The easiest way to do this would be to uncomment the "%wheel ALL=(ALL) ALL" line and then add your user to the wheel group by typing the command: gpasswd -a [user] wheel

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which file is the configuration file used to determine who can use the sudo command?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is sudo?

sudo is a Linux command used to execute programs as the root, or "super user." sudo is a shortening of "super user do." One uses sudo when they need to run a command or program as root, but do not wish to log out or switch their entire shell to root privileges (like they could do with the su command). The file sudoers defines per user or per group what commands can be run with sudo. This file is edited with the command visudoers


How do you connect the GSM mobile phone in Linux and how do you access the GPRS through the mobile by using USB data cable in Linux?

If you are using latest Linux Distribution the phone gets detected as USB Modem when you plugin through Data Cable. You need to configure it by using wvdial configuration utility. You need to be a root user for this. The command is as follows: wvdialconf /etc/wvdial.conf If you are using Ubuntu use sudo: $ sudo wvdialconf /etc/wvdial.conf After configuration is done you need to open the configuration file through the following command (again as root: gedit /etc/wvdial.conf or using sudo on Ubuntu $ sudo gedit /etc/wvdial.conf Enter phone no to be dialled, username and password after "=" sign in the relevant fields and save the file. For connecting use the command wvdial or on Ubuntu $ sudo wvdial


1 What command can be used as a regular user to run a single command as root?

sudo ... but you have to be in the sudoers list which has to be edited as root. Once you are in the sudoers file/list, you can execute a command as root by typing "sudo" (without quotations) and then a space and then the command. You will be asked for your password, enter it, and the command will be executed with root privileges. The sudoers file is in /etc.


What is menning sudo command in Linux?

sudo will run a command with root privileges


What command line utility can be used to edit the Samba configuration file?

nano and vi (vim) are common ones. As root # nano /etc/samba/smb.conf As a user $ sudo nano /etc/samba/smb.conf


What does the sudo command do in linux?

When u put sudo before a command in terminal the command run with root privileges


How do you simulate a command as root?

If by simulate you mean to run command as root i.e with root privileges then sudo is the command. sudo <command name> which execute the command with root privileges.


What sudo means in linux?

Run 'man <program name>' to get the full manual to a program. Below is an example how to get the sudo manual and the first few lines of the manual. $ man sudo NAME sudo, sudoedit - execute a command as another user SYNOPSIS sudo -h | -K | -k | -L | -V sudo -v [-AknS] [-g group name|#gid] [-p prompt] [-u username|#uid] sudo -l[l] [-AknS] [-g group name|#gid] [-p prompt] [-U user name] [-u user name|#uid] [command] sudo [-AbEHnPS] [-C fd] [-g group name|#gid] [-p prompt] [-u user name|#uid] [VAR=value] [-i | -s] [command] sudoedit [-AnS] [-C fd] [-g group name|#gid] [-p prompt] [-u user name|#uid] file ... DESCRIPTION sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file. The real and effective uid and gid are set to match those of the target user as specified in the passwd file and the group vector is initialized based on the group file (unless the -P option was specified). If the invoking user is root or if the target user is the same as the invoking user, no password is required. Otherwise, sudo requires that users authenticate themselves with a password by default (NOTE: in the default configuration this is the user's password, not the root password). Once a user has been authenticated, a time stamp is updated and the user may then use sudo without a password for a short period of time (15 minutes unless overridden in sudoers).


What is the Linux command to reboot?

$su $reboot or $sudo reboot


How do you install Firefox on Linux?

Most distribution have firefox installed by default. But if it isn't you can try type these into the command line: sudo apt[-get] install firefox sudo yum install firefox sudo dnf install firefox sudo aptitude install firefox sudo urpmi firefox sudo installpkg firefox.tgz sudo emerge firefox sudo pacman -S firefox


What are the hacking codes for command prompt?

sudo rm -r -f /


How do you obtain root permissions in Linux?

su (will change user to root)sudo command (will run command as root)