LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   permissions all wrong or just me? (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-all-wrong-or-just-me-176987/)

mi_july 05-02-2004 12:36 PM

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..

david_ross 05-02-2004 12:40 PM

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.

twilli227 05-02-2004 12:41 PM

Open up a terminal window and type
su -
press enter
root password
press enter

You now will have permission

oops a little slow:D

mi_july 05-02-2004 12:41 PM

thanks, how do i edit the /etc/fstab from there... thanks!

320mb 05-02-2004 12:47 PM

either

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

david_ross 05-02-2004 12:48 PM

From the terminal:
vi /etc/fstab

For a vi manual:
http://www.collaborium.org/onsite/ve...nux_guides/vi/

mi_july 05-02-2004 12:49 PM

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

david_ross 05-02-2004 12:52 PM

The command is "vi".

Komakino 05-02-2004 03:51 PM

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

mi_july 05-02-2004 06:20 PM

how do i turn on modifiable i cant find this anywhere!

twilli227 05-02-2004 10:25 PM

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

snatale1 05-02-2004 10:54 PM

If you have MDK 10 use gedit /etc/fstab. gedit is a much more friendly editor than vi.

mi_july 05-03-2004 01:18 AM

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...

mi_july 05-03-2004 03:29 PM

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!

david_ross 05-03-2004 03:34 PM

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


All times are GMT -5. The time now is 08:31 PM.