FORUMS
Remove All Ads from XDA
Post Reply Email Thread
Earlier today I came up with the idea of a sudo implementation for Android. I mean, it's pretty tiring to have to enter 'su' first before issuing root commands, right? Sometimes we even forget to do that.

Description:
Well, this isn't a binary, but a script. What it does is just take the commands you pass to it and append it to 'su -c.'
I know it's dead simple but I wanted to bring this over to Android in an easy way, and I had free time

Usage:
Code:
sudo [command]    - run [command] as root
sudo -b                    - use bash as root
sudo -s                    - like -b, but with sh
sudo -h                    - display the help message
Download:
Dropbox
Put it in /system/bin or /system/xbin, set perms to 755.
The Following 2 Users Say Thank You to aureljared For This Useful Post: [ View ] Gift aureljared Ad-Free
 
 
10th May 2014, 02:26 PM |#2  
aureljared's Avatar
OP Senior Member
Flag Quezon City
Thanks Meter: 556
 
Donate to Me
More
Changelog:
Quote:

v1.1
added support for parameters passed to the command that needs root privileges, e.g 'sudo mount -t'

v1.0
initial release

Sent from my GT-I8730 using Tapatalk
10th May 2014, 02:27 PM |#3  
aureljared's Avatar
OP Senior Member
Flag Quezon City
Thanks Meter: 556
 
Donate to Me
More
And another!

Sent from my GT-I8730 using Tapatalk
6th February 2016, 12:14 AM |#4  
Senior Member
Flag Fondi, LT
Thanks Meter: 180
 
More
Link down

Inviato dal mio Nexus 4 utilizzando Tapatalk
6th February 2016, 05:24 AM |#5  
aureljared's Avatar
OP Senior Member
Flag Quezon City
Thanks Meter: 556
 
Donate to Me
More
Quote:
Originally Posted by jacomail95

Link down

Inviato dal mio Nexus 4 utilizzando Tapatalk

Updated
The Following User Says Thank You to aureljared For This Useful Post: [ View ] Gift aureljared Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes