Why doesn't this sudo script using zenity work??
- From: William Case <billlinux rogers com>
- To: GNOME List <gnome-list gnome org>
- Subject: Why doesn't this sudo script using zenity work??
- Date: Fri, 01 Dec 2006 05:02:30 -0500
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]