There's not a lot to explain here. Just a small novelty script I created on my spare time for fun that essentially does the same thing as sudo on desktop Linux. Each user / app gets its own password which you can set on first run or by typing "sudo passwd"
Usage:
Sudo <command> run single command as root, prompt for password to execute
Sudo passwd - change password for current user
Sudo --usage gives usage info
This is more of a novelty item than anything and isn't particularly practical since you can still just invoke root with su. Passwords are also stored in plain text in /sdcard so it's not exactly secure. But that being said here's the DL link
sudo for Android
Just place the script in /system/bin and chmod it 755.
This script also requires you have bash in /system/xbin, so stock ROMs are unlikely to work without some tinkering.
That being said, enjoy!
Usage:
Sudo <command> run single command as root, prompt for password to execute
Sudo passwd - change password for current user
Sudo --usage gives usage info
This is more of a novelty item than anything and isn't particularly practical since you can still just invoke root with su. Passwords are also stored in plain text in /sdcard so it's not exactly secure. But that being said here's the DL link
sudo for Android
Just place the script in /system/bin and chmod it 755.
This script also requires you have bash in /system/xbin, so stock ROMs are unlikely to work without some tinkering.
That being said, enjoy!
from xda-developers http://ift.tt/1Up8OLJ
via IFTTT
No comments:
Post a Comment