Accessing Files As Root User in Gnome GUI

4sak3n

Active Member
Joined
Oct 8, 2008
Messages
38
Reaction score
0
Location
Cape Town
Warning: big Linux newblet question ahead.

I know how one runs commands as root using a terminal (by using the sudo command) but how does on do that in the GUI? I'm using Ubuntu so I guess that the GUI I'm using is Gnome. I've been trying to edit my menu.lst file for grub so that I can change the default OS but can't save the updated file when I access it via the GUI because it says I don't have permission. I assume this is because I am not accessing it as the root user.
 
Just use sudo with the GUI command you want to run. Example:
Code:
sudo gedit /boot/grub/menu.lst
 
gksu gedit and then browse and open it. no need to open terminal just go to run or create launcher called "gEdit as Root" and run gksu gedit

if it fails, open a terminal, go sudo apt-get install gksu and install it.
 
Top
Sign up to the MyBroadband newsletter
X