View Single Post
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#9
Originally Posted by Schturman View Post
Try
Code:
devel-su -c "echo rootme | sh /path/to/script.sh"
rootme = your root pass
Okay, that did not work really as intended, but then I thought a bit of it and came up with the following which works:
Code:
echo rootme | devel-su -c "sh /path/to/script.sh"
 

The Following User Says Thank You to juiceme For This Useful Post: