You are not logged in.
Pages: 1
I am using a small script in combination with simple window managers to start some programs as super user.
I do know there are other solutions, but I do like this one.
This is the script 'startsu':
#!/bin/sh
if [ $UID -ne 0 ]; then
xterm -T "xdg-su: $*" -geometry 40x5 -bg black -fg white -e "su -c $*"
else
$*
fi
And I have added programs I want to start as su in my menu as:
startsu <programname>, for example 'startsu emelfm2'
A xterm is started so you can give your password, after that, the program is started.
Offline
Use sudo
IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686
Offline
or su -c
Offline
That's what I am doing actually
Offline
use op
Mr Green I like Landuke!
Offline
I do know there are other solutions, but I do like this one.
Offline
Pages: 1