I have a script which runs another script via SSH on a remote server using sudo. However, when I type the password, it shows up on the terminal. (Otherwise...
I have a script called foo.sh in my home folder. When I navigate to this folder, and enter ./foo.sh, I get -bash: ./foo.sh: Permission denied. When I use sudo...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow....
Normally, docker containers are run using the user root. I’d like to use a different user, which is no problem using docker’s USER directive. But this user should be...
I am trying to compile some sources using a makefile. In the makefile there is a bunch of commands that need to be ran as sudo. When I compile...
When I use any command with sudo the environment variables are not there. For example after setting HTTP_PROXY the command wget works fine without sudo. However if I type...
This question already has answers here: How do I use sudo to redirect output to a location I don’t have permission to write to? [closed] (15 answers) Closed 10...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow....
I just installed node and npm through the package on nodejs.org, and whenever I try to search or install something with npm, it throws the following error unless I...
Many of you have probably seen the command that allows you to write on a file that needs root permission, even when you forgot to open vim with sudo:...