Top "Sudo" questions

The sudo command is a program for Unix and Unix-like computer operating systems that allows a user to run programs with the security privileges of another user (normally the superuser, or root).

On EC2: sudo node command not found, but node without sudo is ok

I have just installed nodejs on a new EC2 micro instance. I installed it normally, ./configure -> make -&…

node.js bash amazon-ec2 sudo
ERROR: While executing gem ... (Gem::FilePermissionError)

I have checked all the other similar answers and none was exactly like mine, neither did any of those solutions …

ruby macos gem osx-mountain-lion sudo
urllib.request module fails to install in my system

Tried installing urllib.request module using below command sudo pip install urllib.request but it returned Downloading/unpacking urllib.request …

python ubuntu pip urllib sudo
How do I edit /etc/sudoers from a script?

I need to edit /etc/sudoers from a script to add/remove stuff from white lists. Assuming I have a …

linux shell sudo
How to install a module for all users with pip on linux?

How to install a package in the standard python environment i.e. /usr/local/lib/python2.7/dist-packages using pip and …

python linux pip sudo
Connect to mysql server without sudo

The command: mysql -u root -p gives the error: ERROR 1698 (28000): Access denied for user 'root'@'localhost' But running sudo privileges, …

mysql sudo
sudo command not found on Cygwin

I am currently trying to install and update a few packages on a Windows OS. The only matter is that …

windows terminal cygwin sudo
Adding users to sudoers through shell script

Is it possible to add users to the sudoers file through a shell script? I've been looking around, still can't …

linux sh sudo
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
user vs sudo vs sudo_user in ansible playbooks

I have read the Ansible documentation but I am still a bit confused about the three following parameters in ansible …

sudo ansible