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).

Ansible non-root sudo user and "become" privilege escalation

I've set up a box with a user david who has sudo privileges. I can ssh into the box and …

ansible sudo privileges
Change to sudo user within a python script

I have a problem. I am writing a piece of software, which is required to perform an operation which requires …

python security sudo
"root" execution of the PostgreSQL server is not permitted

When I try to start postgresql I get an error: postgres postgres does not know where to find the server …

postgresql sudo privileges
What are the risks of running 'sudo pip'?

Occasionally I run into comments or responses that state emphatically that running pip under sudo is "wrong" or "bad", but …

python security pip sudo
npm / yeoman install generator-angular without sudo

I tried to install generator-angularjs using Yo (Yoeman) without sudo: npm install -g generator-angular I get: Error: EACCES, mkdir '/…

angularjs npm sudo yeoman
Getting sudo and nohup to work together

Linux newbie here. I have a perl script which takes two command line inputs. I tried to run it in …

linux sudo nohup
sudoers NOPASSWD: sudo: no tty present and no askpass program specified

I have added a user like this: $ adduser --system --home /no/home --no-create-home --group --disabled-password --disabled-login testuser Added a user …

linux bash sudo tty
How to run sudo with Paramiko? (Python)

What I've tried: invoke_shell() then channel.send su and then sending the password resulted in not being root invoke_…

python ssh sudo paramiko
/usr/bin/sudo must be owned by uid 0 and have the setuid bit set version .ubantu14.04 LTS

when I set the EACCESS for npm and I was ran the chown command in my terminal for change owner …

ubuntu sudo chown
wget command not found on linux server

I have a linux server (completely new, web hosting, nothing is installed into it), and want to use a "wget" …

linux wget sudo apt-get apt