I'm configuring some security and i'd like to run arpon to a specific device everytime wicd connects.
So, if Wicd connects to a wireless, i'd launch gksu arpon -d -i eth2 (for example.) But this doesn't work, because it seems that gksu only works for X apps.
I found that if i do: gnome-terminal -e 'sudo arpon -d -i eth2'
It works, but it leaves me with a terminal window open, and i'd like to be asked for a password gksu style.
Is there a way to do this? With gksu or su-to-root maybe?
gksu/su-to-root to run in terminal possible?
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
gksu/su-to-root to run in terminal possible?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: gksu/su-to-root to run in terminal possible?
Ok... i made some kind of progress...
works, but it quits as soon as it starts.
What am i missing here?
Code: Select all
gksu -- arpon -d -i eth2
What am i missing here?