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

Use sudo with password as parameter

I would like to run sudo with my password as parameter so that I can use it for a script. …

linux bash sudo
Why does sudo change the PATH?

This is the PATH variable without sudo: $ echo 'echo $PATH' | sh /opt/local/ruby/bin:/usr/bin:/bin This is …

path environment-variables sudo
Is it acceptable and safe to run pip install under sudo?

I've started to use my Mac to install Python packages in the same way I do with my Windows PC …

python macos pip sudo
how to run two commands in sudo?

Is there any way how I can run two Db2 commands from a command line? (They will be called from …

bash sudo
running a command as a super user from a python script

So I'm trying to get a process to be run as a super user from within a python script using …

python subprocess sudo
sudo in php exec()

I don't know what the deal is here… So I want to run an applescript: sudo osascript myscript.scpt This …

php linux sudo
How to run SUDO command in WinSCP to transfer files from Windows to linux

I am trying to use WinSCP to transfer files over to a Linux Instance from Windows. Im using private key …

linux sudo winscp
Rails: Why "sudo" command is not recognized?

In my application directory (on Windows) I run: sudo pdfkit --install-wkhtmltopdf as explained here, but I got this error: 'sudo' …

ruby-on-rails ruby-on-rails-3 sudo wkhtmltopdf pdfkit
Use sudo without password INSIDE a script

For some reason I need, as user, to run without sudo a script script.sh which needs root privileges to …

linux bash shell sudo
Composer: file_put_contents(./composer.json): failed to open stream: Permission denied

I'm trying to install Prestissimo to an Ubuntu 16.04 server, but that leads to an error: $ composer global require "hirak/prestissimo:^0.3" …

php linux laravel composer-php sudo