LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   consoles in RH7.2 (https://www.linuxquestions.org/questions/linux-newbie-8/consoles-in-rh7-2-a-19336/)

Serena 04-24-2002 12:38 PM

consoles in RH7.2
 
How do I get into a text-mode console in RH7.2? I'd like to use a text mode console as root to work on a config file while using a GUI console as a regular user to test the results. In Debian I can do this with ALT and a F key and switch to each console with X taking the place of one console. How do I do this in Red Hat?

zmedico 04-24-2002 12:53 PM

Re: consoles in RH7.2
 
Quote:

Originally posted by Serena
I'd like to use a text mode console as root to work on a config file while using a GUI console as a regular user to test the results.
When I want to do something like this, I just use two GUI consoles. In one x-term I use "su" to become root.

abrakadabra 04-24-2002 12:58 PM

Hi,
Not sure why you want a console as root and a console as user.
Basically you can logon as any user, say regular user. Once logged on, you can alwasy open a shell and su to root to do the editting you need to do. I hope this helps.
:)

Serena 04-24-2002 02:58 PM

Quote:

Originally posted by abrakadabra
Hi,
Not sure why you want a console as root and a console as user.

su is ok if know what needs to be edited and that it will work. But when it's something more difficult to get right (like smb.conf) then separate consoles is helpful. The root console makes the change and saves the file without exiting. The user console tries the application. If I don't get the expected results, root can make another change without having to once again login, invoke the editor, do the editing, save and exit, and return to user. Instead, root makes the adjustment and saves again without exiting the editor, and the user tries again. This process continues until the user does get the desired results, and then root can exit the editor and logout.

abrakadabra 04-24-2002 03:06 PM

As far as I know you can open multiple shells in your GUI environment. Open one as root, and open another as user.

This way you'll work as root on one shell, and as user on the other(s).

;)

linuxcool 04-24-2002 10:49 PM

Try CTRL+ALT+F1 thru F6. You may have as many as six virtual consoles available. To get back to the gui try CTRL+ALT+F7 thru F12.

ph34r3d 04-25-2002 03:36 PM

Linux cool is correct, but:

It's CTRL+ALT+F1-F6 to go into a console
and ALT+F7 to go back into X-windows

in the default installs of RedHat


All times are GMT -5. The time now is 06:52 AM.