Saturday, September 02, 2006

Opens a nautilus window as root.

Download nautilus-scripts archive

# Opens a nautilus window as root.

foo=`gksudo -u root -k -m "enter your password for nautilus root access" /bin/echo "got r00t?"`
#foo=`expect /home/vishah/scripts/su.exp`
sudo nautilus --no-desktop $NAUTILUS_SCRIPT_CURRENT_URI

Use this to open a nautilus window as root.

No comments: