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?
topic title: Edit files as root
3 posts
• Page 1 of 1
-
Posts: 38
- Joined: 11 May 2009
-
Posts: 609
- 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
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
- Joined: 11 May 2009
#3
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.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