LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-18-2004, 03:57 AM   #1
texasjailer
LQ Newbie
 
Registered: Jun 2004
Location: Texas
Distribution: Mandrake 10
Posts: 5

Rep: Reputation: 0
trying to edit inittab, perission denied


I am trying to get to runlevel 3 by editing inittabb and keep getting a message permission denied, i have tryed su, password and then /etc/inittabb. what do i have to do to get the permission or am i going about this the wrong way I am trying to install the nvidia drivers and it is telling me to exit x first. need some direction here , first linux install. Thanks for any help you can give me
 
Old 06-18-2004, 04:04 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Typing "su" and then the root password should do it. As would logging on as root.

Just typing "/etc/inittab" means that you are trying to execute the file. It's not an executable and so doesn't have that permission, which would explain your error message.

How are you trying to edit the file? What exactly does "vi /etc/inittab" give you?

John
 
Old 06-18-2004, 05:41 AM   #3
texasjailer
LQ Newbie
 
Registered: Jun 2004
Location: Texas
Distribution: Mandrake 10
Posts: 5

Original Poster
Rep: Reputation: 0
i am trying to install nvidia drivers and need to boot to runlevel 3, i was told to edit this file and change id:5:initdefault to id:3:initdefault, can you tell me how to get into this file to edit it. i have just installed mandrake 10.0 and is my first linux install so i don't know "squat" but trying to learn

Last edited by texasjailer; 06-18-2004 at 05:48 AM.
 
Old 06-18-2004, 06:22 AM   #4
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Hi,

"vi" is an editor that you could use to make the changes you need. But changing inittab like this means that you will always boot to runlevel 3 (no X-windows). There's nothing wrong with that, it's how my own machine is configured, but you don't need to go that far for what you're trying to do.

Log in as root (or use "su"), open an xterminal and type "/sbin/init 3". That will put you in runlevel 3 where you can install your drivers. You can get then get back into X-windows by typing "startx".

John
 
Old 06-18-2004, 08:33 AM   #5
texasjailer
LQ Newbie
 
Registered: Jun 2004
Location: Texas
Distribution: Mandrake 10
Posts: 5

Original Poster
Rep: Reputation: 0
You are a life saver, thanks very much for the help.
have a nice day
Richard
 
  


Reply



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
neet to edit inittab, pls help PSIPHON Linux - Newbie 7 07-16-2005 05:43 PM
edit inittab C_J Linux - Newbie 4 01-24-2005 11:33 AM
Recover/edit of /etc/inittab from GRUB sujith_marar Linux - General 1 09-11-2004 01:19 PM
How to recover/edit /etc/inittab From GRUB sujith_marar Linux - Newbie 3 06-25-2004 10:28 AM
Permision error when trying to edit 'inittab' /home/kyle Linux - Software 13 03-12-2004 05:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:13 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
Open Source Consulting | Domain Registration