LinuxQuestions.org
Review your favorite Linux distribution.
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-09-2004, 02:13 AM   #1
muthiahm
LQ Newbie
 
Registered: Jun 2004
Location: India
Distribution: Red Hat 7.2
Posts: 13

Rep: Reputation: 0
inittab file


Hi Friends,


If i change the runlevel in the inittab file to 0 0r 6 can i be able to recover it. If not then any hackers can modify that file and can permanently halt my system. What is the way to solve this.


Regards,
Muthiah.M
 
Old 06-09-2004, 02:38 AM   #2
zeropash
Member
 
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
you can pass the option 1 or 3 or 5 to the command line while booting which will drop to the corresponding level and then change the inittab file.
 
Old 06-10-2004, 03:41 AM   #3
muthiahm
LQ Newbie
 
Registered: Jun 2004
Location: India
Distribution: Red Hat 7.2
Posts: 13

Original Poster
Rep: Reputation: 0
Hi,

How should i have to give 3 or 5 runlevel in command line booting? What is the command for that?

Regards,
Muthiah.M
 
Old 06-10-2004, 04:19 AM   #4
zeropash
Member
 
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
I guess you use grub as the bootloader
on the screen of the boot press select the config you want to boot, type a
this will drop you on to a prompt. there put 3 or 5 at the end of the line.

if you have set a password for grub then you need to press p and enter the password before you do what I said above.
 
Old 06-10-2004, 09:28 PM   #5
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 30
Also, You could use something like knoppix mount your drive and chage inittab

-Joey
 
  


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
No inittab file found doublej Linux - Newbie 5 07-22-2005 06:35 AM
No inittab file found Rundi Linux - General 2 10-05-2003 10:56 PM
ok here is the inittab file stuff New 2 The Game Linux - Software 5 09-01-2003 10:15 PM
inittab file not found abinux Linux - Software 3 03-13-2003 04:02 PM
no inittab file? Atroxic Linux - Software 2 05-14-2002 05:26 PM

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

All times are GMT -5. The time now is 11:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration