View Single Post
  #2 (permalink)  
Old 14-Jul-2007, 16:24
Jazzmadrazz
Guest
 
Posts: n/a
Default


This is not the full answer, but at least for the latter problem, gnomesu does what you're after I believe.

Quote:
Code:
#!/bin/bash
# Opens a nautilus window as root.

foo=`gksudo -u root -k -m "enter your password for nautilus root access" /bin/echo "got r00t?"`
sudo nautilus --no-desktop $NAUTILUS_SCRIPT_CURRENT_URI
Code:
#!/bin/bash
#created by arnieboy 

foo=`gksudo -u root -k -m "enter your password for gedit root access" /bin/echo "Do you have root access?"`
sudo gedit $NAUTILUS_SCRIPT_SELECTED_URIS
Is there a way to modify them so that they do work in Suse/Gnome?

I noticed I can't run
Code:
gksudo gedit
either. Is this idiosyncratic of Suse/Gnome, 'cause it works in ebian and ubuntu versions of gnome?

Thanks!
[/b]