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

sudo to a different user and run command as that user

consider this sudo command below sudo -iu bigadmin bigadmin is a generic user that all users sudo to, to do …

shell sudo user-profile login-script .profile
How to fix this sudo: /etc/sudoers is world writable?

I am working on AWS EC2 machine. File permission of sudores file is, -rwxrwxrwx 1 root root 902 Feb 5 12:22 sudoers There are …

ubuntu amazon-web-services amazon-ec2 sudo sudoers
Running as a host user within a Docker container

In my team we use Docker containers to locally run our website applications while we do development on them. Assuming …

linux docker flask development-environment sudo
Capistrano mkdir permission denied

When I run cap production deploy I get cannot create directory ‘/var/www/application/repo’: Permission denied. So far I've …

ubuntu deployment capistrano sudo vps
Ruby on Rails Beta 3 Install on Snow Leopard - file not found

I tried to install the new beta on my system with the command: sudo gem install rails --pre but no …

ruby-on-rails macos osx-snow-leopard installation sudo
From PHP/Apache, exec() or system() program as root: "sudo: unable to open audit system: Permission denied"

I have been spending half a day trying to figure this out, and I've done a lot of research. I'm …

php apache sudo suid
npm command - sudo or not?

Currently I always run sudo npm install <package-name> but as I understand it's not correct. I want to …

macos npm sudo
Snap Proxy doesn´t work

I try to install Conjure-Up on my Ubuntu 18.04 virtual machine with $sudo snap install conjure-up --classic But it always says: …

proxy sudo ubuntu-18.04
How to use NSTask as root?

In an application I'm making I need to run the following command as root (user will be prompted trice if …

cocoa root sudo nstask
Solaris 10 sudo configuration Issue

I am using SunOS 5.10 Generic_147441-24 i86pc i386 i86pc if i run which sudo i get the below /…

configuration solaris sudo solaris-10