Changing Files As Root
Changing Files As Root
I just installed Salix. Now I have to change a file (the menu.lst of my Grub) on another partition. I can get to it through Gigolo, but I don't have permission to change it. The sign-in screen says I can't sign on as administrator. I need to be root in the GUI, not just in a terminal. I apologize if this is a simple question, but I couldn't find my answer on these forums.
Re: Changing Files As Root
If you configured your other partition to be in /etc/fstab during the installation process, you shouldn't need gigolo.
Bur rather, in a terminal :
Bur rather, in a terminal :
Code: Select all
su
(then give your root password, and then the following)
geany /path/to/the/file/that/needs/modification

What really matters is where you are going, not where you come from.
Re: Changing Files As Root
To find out where (and whether) it is mounted, do:
If not, create a directory to mount it to, such as:
... and then edit the grub file.
Alternatively, consider using Lilo as bootloader - Salix has a very intuitive GUI tool to set this up which recognises existing OSs, Lilosetup, in the System menu.
Code: Select all
$mount
Code: Select all
$su
#mkdir /tmp/other_distro
#mount /dev/sdaX /tmp/other_distro
#cd /tmp/other_distro
Alternatively, consider using Lilo as bootloader - Salix has a very intuitive GUI tool to set this up which recognises existing OSs, Lilosetup, in the System menu.
Re: Changing Files As Root
No, you don't. There is absolutely nothing that requires someone to be root in the GUI. The instructions posted above should be enough. If you need an easy (clicky-clicky) way to mount local devices not in fstab without opening a root terminal, you can install gmountman from the repositories. But you will still need root privileges to edit any system files.davec51 wrote:I need to be root in the GUI, not just in a terminal.