How can I allow a normal user on Ubuntu to run php scripts? sudo php /path/to/script/script.php Basically the script needs to be run as root but the users does not have root privileges on their ...
We require to be able to run some script as root from nothing other than an SSH login. IE, we have root and password, and we need to perform a script action on a bunch of servers.
How do I run a .sh script with root privileges from Ubuntu's cmd? Some scripts require to enter the password. I watn to avoid this.
I'm trying to write a bash script (in Ubuntu) that will backup a directory using tar. How can I do a check in the script so that it can only be run as root (or with sudo)? For instance, if a user ...
I am trying to write a bash startup script in Ubuntu 9.04 that will remove the annoying system beep from my computer: #/bin/bash rmmod pcspkr #remove system beep; also doesnt work without root ...
I'm eriting a MacOS script that need to run under admin rights (under 'sudo'). Script needs a temp folder in order to keep some temp files. Unfortunately, there is no 'TMPDIR' under root! If i run ...