topic title: Edit files as root
Posts: 38
SummonKnight
Joined: 11 May 2009
#1
i want to try out a tip on speeding up applications, and i have to edit a sysctl.conf file in etc folder.

i open it up in leafpad, and type in the changes, but the message crops up saying i cannot save the file.

how do i save such modified files? is there a way to edit and save such things as root?
Posts: 609
dark-D
Joined: 02 Jun 2008
#2
there are 2 ways to this:
1. in the menu press run and type: gksu leafpad /etc/sysctl.conf
then enter your root password
2. if you use the terminal enter the command: su
then enter your root password and you have root privileges in that terminal.
after this type: leafpad /etc/sysctl.conf
Posts: 38
SummonKnight
Joined: 11 May 2009
#3
ICE-M wrote:there are 2 ways to this:
1. in the menu press run and type: gksu leafpad /etc/sysctl.conf
then enter your root password
2. if you use the terminal enter the command: su
then enter your root password and you have root privileges in that terminal.
after this type: leafpad /etc/sysctl.conf
many many thanks ice-m! with this i can edit any system file. before, i was able to edit only through the control panel, which usually asks for the root password.