LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Switching Linux to multimode (https://www.linuxquestions.org/questions/linux-newbie-8/switching-linux-to-multimode-760635/)

ChrisPetra 10-08-2009 04:17 PM

Switching Linux to multimode
 
Hy!
I have Fedora 11 ,I created an user account whe I installed Fedora,I setted a password for root.Fedora started in graphic mode,but I need to work in terminal.I tried to login as root,but it doesn't allow me to.As user I cannot change etc/inittab file so that the system turn to multimode. I have no idea what I've done wrong.Please,give me an advice.What should I do to turn my fedora to level-3 (instead of 5 ).

John VV 10-08-2009 04:21 PM

the only thing you did wrong was not to read the fedora documentation .
the root login was DISABLED in fedora 10 .
you need to use " su -" in the terminal .
http://fedoraproject.org/wiki/FWN
http://docs.fedoraproject.org/

lutusp 10-08-2009 04:23 PM

Quote:

Originally Posted by ChrisPetra (Post 3712683)
Hy!
I have Fedora 11 ,I created an user account whe I installed Fedora,I setted a password for root.Fedora started in graphic mode,but I need to work in terminal.I tried to login as root,but it doesn't allow me to.As user I cannot change etc/inittab file so that the system turn to multimode. I have no idea what I've done wrong.Please,give me an advice.What should I do to turn my fedora to level-3 (instead of 5 ).

The crux:

Quote:

As user I cannot change etc/inittab file so that the system turn to multimode.
You don't need to log in as root, you only need to invoke "sudo". Like this:

Code:

$ sudo kwrite /etc/inittab
Change this line:

Code:

id:5:initdefault:
To this:

Code:

id:3:initdefault:
And reboot your machine.

smeezekitty 10-08-2009 04:31 PM

farmilure

John VV 10-08-2009 07:11 PM

lutusp "sudo" is NOT SET UP by default in fedora it also is a security hole

Use the commands " su " and " su - "

Ahmed 10-09-2009 02:15 AM

What you could do in order to get a one time non-graphical login: When grub starts, go to the entry you want to boot and hit 'e', which should display the menu.lst configuration of this entry. Go to the "kernel" line and hit 'e' again to edit it. Just add a '3' (without the quotation marks) to the end of the line. Hit Enter and then press 'b' to boot. Et voila, runlevel 3 :)

This only works once btw, once you reboot you'll go back to runlevel 5. So if you want a console login more than once in a row, you're better off editing /etc/inittab as shown above.

-A


All times are GMT -5. The time now is 11:03 PM.