LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   edit the fstab file (https://www.linuxquestions.org/questions/linux-software-2/edit-the-fstab-file-235856/)

wannaluvlinux 09-27-2004 01:29 PM

edit the fstab file
 
How do you edit the fstab file . when i try to save my changes to the fstab file i get the msg can't save need root permmision. How to to be in the root permission while in GUI text editor. so that I can save my changes.

Xolo 09-27-2004 01:37 PM

Well, a few ways:

1. Log in as root on your machine and edit fstab
2. Open a terminal screen in your user account, su to root privileges and run gvim /etc/fstab
(or wherever it hides on your system) in that terminal.
That would pop up Gvim with root priviliges, with fstab in it. provided you have Gvim ofcourse.
you can use your editor of choice as well like that.


All times are GMT -5. The time now is 10:18 AM.