LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-25-2002, 08:16 PM   #1
2016
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 9.0
Posts: 13

Rep: Reputation: 0
Post I tried to login as console only on mandrake 8.0, but I must not be doing it right


I went to inittab changed the defualt level from 5 to 3, then logged out then in again but it still went to KDE...i just want to go to console no KDE or that stuff...I will just be using my box as a server
 
Old 01-25-2002, 08:22 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
run this command after editing the inittab file:

telinit

then reboot and see if the changes are made and it boots to runlevel 3.
 
Old 01-25-2002, 08:42 PM   #3
2016
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
please help!, I think i really messed up

I know this is really dumb, but i changed the wrong thing in the inittab file (it just hangs after a while). Now I cannot login as root or change inittab...since I can't login as root.... is there some work around to this.... can I grant my other user-self root permmission? please help.
 
Old 01-25-2002, 08:45 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
what kind of errors are you getting.. or are you saying it hangs when trying to login as root ??

you can try to boot into single mode, where it asks for no password. you can then edit make changes and reboot.
if you using lilo, type linux single at the command to boot into single mode and see if that works.
 
Old 01-25-2002, 09:05 PM   #5
2016
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
I am still messed up pretty bad :( Please help

well, I brought up a terminal in super-user mode and restored the inittab file, but when I re-logged back in as root, it does the same thing

KDE starts to load
it thinks on initializing system services
then everthing else goes by in a blink (not normal)
then I just have a blue background and nothing else

Last edited by 2016; 01-25-2002 at 09:12 PM.
 
Old 01-25-2002, 09:23 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
what distro are you using and does it happen on any other login accounts you may have created ? also, if you can, post your inittab file here.. or the first part of it.. for the runlevels section.
 
Old 01-25-2002, 09:40 PM   #7
2016
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
here it is

mandrake 8.0
here is the file inittab sans comments (it doesnt want to copy/paste)
----------
id:3:initdefault:

si::sysinit:/etc/rc.d/rc.sysinit

10:0:wait:/etc/rd.c/rc 0
11:1:wait:/etc/rd.c/rc 1
12:2:wait:/etc/rd.c/rc 2
13:3:wait:/etc/rd.c/rc 3
14:4:wait:/etc/rd.c/rd 4
15:5:wait:/etc/rd.c/rd 5
16:6:wait:/etc/rd.c/rd 6

ud::once:/sbin/update

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"

1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

x:5:respawn:/etc/X11/prefdm -nodaemon
------------

edit:disabled smilies.
 
Old 01-25-2002, 10:16 PM   #8
2016
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 9.0
Posts: 13

Original Poster
Rep: Reputation: 0
thanks for halping me

I know I must be some green uber-newbie to y'all but it is now workin....thanks for your patience and attention
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Console login env Linux - General 3 03-08-2005 11:03 AM
cant login to console esgaroth Fedora 1 01-05-2005 09:11 PM
Mandrake 10 official - console login even at runlevel 5 valmar Mandriva 3 06-04-2004 10:12 PM
Is it possible to auto login from console rrautens Linux - Newbie 10 10-15-2003 09:30 AM
when you login to the console/command....... Katrix Linux - Security 3 06-22-2001 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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