how can i make it so i can start up emelfm2 in root with out having to type it in xterm everytime.
user ALL = NOPASSWD: /usr/local/lib/emelfm2/emelfm2
#!/bin/sh cd /usr/local/lib/emelfm2 # Don't use 'sudo' if already root... UID=`id -ur 2> /dev/null` if [ $UID -eq 0 ]; then ./emelfm2 & else sudo ./emelfm2 & fi