Top "Sudoers" questions

The sudo command is configured through a file located at `/etc/sudoers` or `/usr/local/etc/sudoers`

How to run script as another user without password?

I have script.sh that must be run as user2. However, this script can only be run under user1 in …

linux bash sudo su sudoers
Exit/save edit to sudoers file? Putty SSH

Been following instructions for editing sudoers file, made changes but the instructions say to exit using ctrl+x - this …

sudoers
Cannot create directory. Permission denied inside docker container

Can not create folder during image building with non root user added to sudoers group. Here is my Dockerfile: FROM …

ubuntu docker sudoers
Linux: 'Username' is not in the sudoers file. This incident will be reported

After logging into ssh, I got this message: 'Username' is not in the sudoers file. This incident will be reported. …

linux sudoers
Ansible: create a user with sudo privileges

I have taken over a Ubuntu 14.04 server. It has a user called "deployer" (used with capistrano), and as such, it …

ansible-playbook sudoers
Jenkins sudo: no tty present and no askpass program specified with NOPASSWD

I spend several days setting up the file /etc/sudoers to be able to give permissions to root to the …

jenkins debian sudo tty sudoers
File in /etc/sudoers.d file not being read by sudo

I want to add a user in the sudoers file and I don't want to touch the original /etc/sudoers …

linux filenames sudoers
su pass password to script

I am trying to write a script that will run the following commands: sudo su runmqsc_result=`su -c "runmqsc …

sudo sudoers
adding permissions with visudo to a linux user for using wireshark

Im trying to set permissions for a user named 'invitado', jus for some binaries: wireshark, tcpdump and traceroute. Iv done …

sudo wireshark sudoers
Qt, Linux, check if a given user has sudo privileges

I am running Fedora 17 KDE x64 and Qt 4.8.1. In contrast with Ubuntu, Fedora doesn’t give the first created user …

linux qt qt4 sudo sudoers