Why doesn't this sudo script using zenity work??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux