Top "Su" questions

GENERAL SU SUPPORT IS OFF-TOPIC.

How to pass the password to su/sudo/ssh without overriding the TTY?

I'm writing a C Shell program that will be doing su or sudo or ssh. They all want their passwords …

linux ssh passwords sudo su
How to run script as another user without password?

I have script.sh that must be run as user2. However, this script can only be run under user1 in …

linux bash sudo su sudoers
How do I use su to execute the rest of the bash script as that user?

I've written a script that takes, as an argument, a string that is a concatenation of a username and a …

bash permissions sudo user-permissions su
How to execute a group of commands as another user in Bash?

There are already some existing questions asked here about running commands as another user. However, the question and answers focus …

bash su
Changing to root user inside shell script

I have a shell script which needs non-root user account to run certain commands and then change the user to …

shell su
How do you find the original user through multiple sudo and su commands?

When running a script via sudo or su I want to get the original user. This should happen regardless of …

linux bash unix sudo su
Auto boot when wall charger is plugged

I'm Developing an Android Application where it requireds 3 things:- To keep the App up an running for specific time …

android su
How does su work on android? And what are the pre-requisites for it to work? What is rooting on Android?

Possible Duplicate : what does the su mean: process = Runtime.getRuntime().exec("su"); I am tired trying all the different things …

android root su
OSX su command issue

So I cant get su command to work on a terminal. All I do is type "su" and press enter, …

macos osx-lion su
Rooted but su says "Permission denied"

I have this "old" Lenovo A2107 tablet which I rooted years ago (using a download from http://androidforums.com/threads/…

android su