sudo
WinSCP connect to Amazon AMI EC2 Instance changing user after login to "root"
I followed instructions here carefully however I haven\'t get this working right. Here is what I did:[详细]
2023-03-14 08:26 分类:问答Execute a command as sudo from within a rake task?
Other than hard-coding \"sudo\" into the exec/system argument string, is there a flag in Rake that specifies that a command needs to be executed with root privileges, and will prompt for a password if[详细]
2023-03-13 22:16 分类:问答How do I determine if a shell script is running with root permissions?
I\'ve got a script I want to require b开发者_Python百科e run with su privileges, but the interesting scripted command that will fail comes very late in the script, so I\'d like a clean test up front t[详细]
2023-03-13 17:39 分类:问答Running a delayed command with 'sudo'
I want run a Bash script as root, but delayed. How can I achieve this? sudo &开发者_C百科quot;sleep 3600; command" , or[详细]
2023-03-13 04:44 分类:问答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[详细]
2023-03-11 12:51 分类:问答PHP-CLI Permission Question
Dear Stackoverflow\'er: I am currently trying to run my script over PHP-CLI. I want to create a file over:[详细]
2023-03-11 05:19 分类:问答Invoking shell script from a python script using root privileges
I\'m trying to invoke a shell script shell_script.sh from a python script (python_script.py) using the call command. The shell_script.sh invokes a executable that requires root access to execute.[详细]
2023-03-10 23:31 分类:问答Running commands from within python that need root access
I have been playing around with subprocess lately. As I do more and more; I find myself needing root access. I was wondering if there is an easy way to enter the root password for a command that needs[详细]
2023-03-10 10:29 分类:问答Using the ruby gem net-ssh-multi to execute a sudo command on multiple servers at once
In a previous questionI figured out how to start a password-authenticated ssh sessions on multiple servers to run a single command.Now I need to be able to execute a \"sudo\" command.The problem is, t[详细]
2023-03-10 01:05 分类:问答How can a console application sudo itself under OS X if it needs root privileges? [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-03-09 10:02 分类:问答