Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Permission Denied Trying To Edit Inittab
texasjailer
post Jun 18 2004, 04:32 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 18-June 04
Member No.: 3,181



I have been trying to edit the initab to boot to runlevel 3 to install the nvidia drivers, have opened up a terminal and typed/etc/inittab and get a permission denied. What do i need to do to resolve this or am i going about this the wrong way, just need to exit x to get the drivers installed. Any help appreciated. BTW first Linux install.
Thanks Richard
Go to the top of the page
 
+Quote Post
hughesjr
post Jun 18 2004, 05:25 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



richard ...

you actually need to edit the file /etc/inittab. When you type it by itself in the command line, you are trying to execute /etc/inittab as if it was a script instead of editing it. But, to install the NVIDIA drivers, (in many distros) you can just type the command (as the root user):

init 3

and you won't have edit the file at all ... you can do the install in gui mode and when you reboot, if the install went well, you will still be booting in GUI mode (runlevel 5). ... also, some distros (debian and slackware) don't use runlevel 5 as GUI mode.

(make sure you already have the drivers downloaded and you are ready to install them).

While in console mode, if you need to edit a file, you must use a console editor like nano or vi


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Hemant
post Jun 19 2004, 07:29 AM
Post #3


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



A redundant reply:
# vi /etc/inittab


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 11th December 2017 - 06:30 AM