LinuxQuestions.org
Visit Jeremy's Blog.
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 05-02-2004, 12:36 PM   #1
mi_july
LQ Newbie
 
Registered: Apr 2004
Distribution: mandrake
Posts: 9

Rep: Reputation: 0
permissions all wrong or just me?


hey all, im tring to edit my /etc/fstab file but i dont have the permission, i have mandrake 10.0 rc1 for amd 64 installed and i have tried editing permissions in the mandrake control center but to no avail... oh yeah almost forgot it wont let me login as root.. ie there isn't an option i am a noob here so please be gentle! thanks in advance..
 
Old 05-02-2004, 12:40 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
When you are logged in as a user open up a terminal and type "su -" then at the password prompt enter your root password you will then have root access from that shell.
 
Old 05-02-2004, 12:41 PM   #3
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
Open up a terminal window and type
su -
press enter
root password
press enter

You now will have permission

oops a little slow
 
Old 05-02-2004, 12:41 PM   #4
mi_july
LQ Newbie
 
Registered: Apr 2004
Distribution: mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
thanks, how do i edit the /etc/fstab from there... thanks!
 
Old 05-02-2004, 12:47 PM   #5
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
either

vi fstab
or
pico fstab
whatever editor you use...........

Last edited by 320mb; 05-02-2004 at 12:48 PM.
 
Old 05-02-2004, 12:48 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
From the terminal:
vi /etc/fstab

For a vi manual:
http://www.collaborium.org/onsite/ve...nux_guides/vi/
 
Old 05-02-2004, 12:49 PM   #7
mi_july
LQ Newbie
 
Registered: Apr 2004
Distribution: mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
yep i have tried the su and it gets me in as root but i dont no how to edit it from there, is there a command to do this im not familiar running in console as i was with windows since i can remember.. thanks
 
Old 05-02-2004, 12:52 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
The command is "vi".
 
Old 05-02-2004, 03:51 PM   #9
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Being a Windows user is no excuse!! Even WITH windows I did most tasks from command line.

Anyway, as a noob you'll find pico much easier to use than vi.
Just type:
pico /etc/fstab to edit it
 
Old 05-02-2004, 06:20 PM   #10
mi_july
LQ Newbie
 
Registered: Apr 2004
Distribution: mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
how do i turn on modifiable i cant find this anywhere!
 
Old 05-02-2004, 10:25 PM   #11
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
Maybe you should tell us what you are trying to do. We seem to be going around in circles.

http://www.google.com/linux?hl=en&lr...=Google+Search
 
Old 05-02-2004, 10:54 PM   #12
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Debian Stretch
Posts: 420

Rep: Reputation: 32
If you have MDK 10 use gedit /etc/fstab. gedit is a much more friendly editor than vi.
 
Old 05-03-2004, 01:18 AM   #13
mi_july
LQ Newbie
 
Registered: Apr 2004
Distribution: mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
hey i have edited the fstab no problem but the device in question apparently called removable cant be deleted by me, so i just need to get rid of that ill try gedit thanks...
 
Old 05-03-2004, 03:29 PM   #14
mi_july
LQ Newbie
 
Registered: Apr 2004
Distribution: mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
hey, i edited it out of /etc/fstab but its still there, it is still in /mnt/removable but the problem is this was a compact flash card that it mounted but when i insert it again it cant read any of it! has anyone got any idea what i can do? thanks!
 
Old 05-03-2004, 03:34 PM   #15
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I'm not 100% sure what you are trying to do - are you trying to unmount it?
umount /mnt/removable
 
  


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
Fedora bind-chroot permissions wrong rhoekstra Linux - Networking 1 08-07-2005 09:47 PM
my time is wrong and calender is also wrong Paxmaster Linux - General 6 12-16-2004 12:46 AM
fstab defaults sets wrong permissions dibblethewrecke Linux - Newbie 3 12-11-2004 02:10 PM
Permissions wrong on FTP file upload jwest44 Linux - Newbie 3 06-23-2004 10:15 AM
No root access, wrong permissions unixgeek Linux - Software 3 09-16-2003 09:08 PM


All times are GMT -5. The time now is 12:17 PM.

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