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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-29-2003, 05:05 AM
|
#1
|
Member
Registered: Jul 2003
Distribution: HP-UX
Posts: 35
Rep:
|
How do I change "fstab" to Write/Edit Mode?
Hi,
I am unable to edit the "fstab" of /etc/fstab.
I logged in as root and tried to change the permissions of
"fstab" in the following sequence:
i) cd ..
ii) cd ..
iii) cd etc
iv) chmod -r fstab ( I am not sure whether this synatx is correct)
But I got a "permission denied" message.
1) Do I have to login as "root" to add an entry into
the "/etc/fstab" or can I do it logged in as a normal user.
2) Does the RedHat OS keep a separate "fstab" for each user
or does it access a single file for all users?
Here I am basically trying to make an entry into "fstab" so that
the RedHat OS will detect my Windows OS partition as well.
ThankYou
Sharath
|
|
|
07-29-2003, 05:09 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
1) root only. that's the point of root existing, so people can't bugger around with things like that.
2) no, that's nonsense i'm afraid. completley wrong scope. fstab is not related to user accounts in anyway at all.
|
|
|
07-29-2003, 05:11 AM
|
#3
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
2. A central file, but it can contain data to allow users to mount/umount and use a certain device.
Cool
|
|
|
07-29-2003, 06:09 AM
|
#4
|
LQ Newbie
Registered: Jul 2003
Location: Victoria Britsh Columbia
Distribution: Ydl, Redhat, a bit of slack.
Posts: 13
Rep:
|
i found to edit fstab, all you need to do is open the path to fstab in your browser. Now you are looking at fstab now what you want to do is open it in a text editor and make your changes. Save the changes and reload fstab. Hopefully that helps you out.
|
|
|
07-29-2003, 08:52 AM
|
#5
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
hi Sharathkv
As Root - use an Editor from the Command line.
Open a terminal
su
root password
vi /etc/fstab
Second - No - there's only 1 filesystem table file - /etc/fstab
|
|
|
All times are GMT -5. The time now is 10:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|