View Single Post
zxcvbnm3230's Avatar
Posts: 132 | Thanked: 225 times | Joined on Dec 2013
#2
Actually, you can use this command:
Code:
echo <your-devel-su-password> | devel-su -c "<command-here>"
So, if you want to do, for instance, apt-get update and your root password is 'rootme', you simply type this:
Code:
echo rootme | devel-su -c "apt-get update"
-----
shame on me, seems, that's not what you are looking for, i was inattentive reading your post, sorry

Last edited by zxcvbnm3230; 2014-05-27 at 21:09.