sudo
Is it safe to run a ruby script using sudo?
I am running redmine on Ubuntu, and I a开发者_运维知识库m running it using sudo. If I try to run as my redmine user, I get permission errors on the log file.[详细]
2023-01-04 20:01 分类:问答What kind of API should I use to elevate user privilege to super-user in a Mac OS X?
I want to elevate my app\'s privilege to super-user. Installer app supports this by displaying this dialog.[详细]
2023-01-04 16:14 分类:问答Why running sudo to my own account fixes graphical problems in Swing GUI
My swing GUI application starts with a script. When I run that script under Linux without sudo it gives me unexpectedLook and feel and other graphical problems.[详细]
2023-01-04 04:20 分类:问答Running shell scripts with sudo through my web app
I have some functionality that interfaces with the server\'s OS in my开发者_开发百科 web application. I\'ve written a bash script and am able to run it from within my app.[详细]
2023-01-02 10:57 分类:问答Unix: command for sudo-mv-chown combo?
I am operating as sudo in a system where I开发者_JS百科 mv a great amount of files and dirs to and fro. Is there a command for the combo?[详细]
2022-12-31 19:17 分类:问答How does the vim "write with sudo" trick work?
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:[详细]
2022-12-25 21:36 分类:问答How do I run a sudo command in Emacs?
I\'m trying to create shortcut keys for some commonly used sudo shell commands (for example, having C-c s run (shell-command \"sudo /etc/init.d/apache2 restart\")).[详细]
2022-12-24 11:40 分类:问答Script doesn't work when executed with sudo
Linux ba开发者_开发知识库sh script: function Print() { echo $1 } Print \"OK\" This script runs successfully, when executed directly, and gives an error running with sudo:[详细]
2022-12-23 02:51 分类:问答Python in SU cron gives different output than manually execution
Ubuntu Server 9.10, Here is my file, test.py import commands blkid = commands.getoutput(\'blkid\') print blkid[详细]
2022-12-22 03:46 分类:问答PHP shell_exec() and sudo: must be setuid root
I have a shell_exec() command that accesses a directory above my document root so I need to use sudo \"as root\" to make it happen. (I understand the security issues and am putitng in measures to addr[详细]
2022-12-19 11:42 分类:问答