LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2007, 11:47 AM   #1
tizwaz
Member
 
Registered: Sep 2007
Posts: 46

Rep: Reputation: 15
changing fstab


I have edited fstab to allow the hda1 to be mounted but, when I try to save the file it says I do not have permission for this????

I am a new user so I do not know how to do this,, help please
 
Old 09-11-2007, 11:51 AM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
type this in a terminal
Code:
sudo gedit /etc/fstab
After you gave it your password, you will be able to edit and save this file
 
Old 09-11-2007, 11:57 AM   #3
tizwaz
Member
 
Registered: Sep 2007
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks,, that worked,,,
 
Old 09-11-2007, 11:57 AM   #4
rjtucke
Member
 
Registered: Sep 2004
Distribution: Debian testing
Posts: 49

Rep: Reputation: 16
You will also need to set up the sudo command.
To do this, log in as root, read 'man visudo' and
'man sudo', then edit the sudoers file with 'visudo'.
If you need help along the way, please just ask.

Ross
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Fstab in ubuntu to mount vfat drive mikeymorgan Linux - Newbie 13 06-23-2005 08:50 AM
Changing location of /etc/fstab? Aeiri Linux - Software 1 11-23-2004 05:36 PM
fstab!! Stop changing!! l32 Linux - Hardware 12 07-15-2004 04:51 PM
problem booting after changing /etc/fstab buehler Linux - General 2 01-12-2004 06:59 PM
Cannot boot system after changing fstab buddhahat Linux - Newbie 2 11-06-2003 07:52 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration