Hi;

I have tried several variations of the following script and googled for
some clues. No joy.

#! /bin/bash
# Open nautilus as root
#
 
sudo nautilus --no-desktop --browser
if zenity --entry \
        --title="Browse files as root" \
    --text="Enter your _password:" \
    --entry-text "" \
    --hide-text
then echo $?
else echo "No password entered"
fi

# End

sudo nautilus --no-desktop --browser works on the command line.
Why doesn't this sudo script using zenity work?? 

-- 
Regards Bill

_______________________________________________
gnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-list

Reply via email to