LinuxQuestions.org
Register a domain and help support LQ
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 04-24-2002, 01:38 PM   #1
Serena
Member
 
Registered: Apr 2002
Location: Moon Kingdom
Distribution: Debian 4.0
Posts: 94

Rep: Reputation: 15
Question 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?
 
Old 04-24-2002, 01:53 PM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
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.
 
Old 04-24-2002, 01:58 PM   #3
abrakadabra
Member
 
Registered: Apr 2002
Location: Denver
Distribution: SuSe,RedHat,Mandrake,
Posts: 109

Rep: Reputation: 16
Exclamation

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.
 
Old 04-24-2002, 03:58 PM   #4
Serena
Member
 
Registered: Apr 2002
Location: Moon Kingdom
Distribution: Debian 4.0
Posts: 94

Original Poster
Rep: Reputation: 15
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.
 
Old 04-24-2002, 04:06 PM   #5
abrakadabra
Member
 
Registered: Apr 2002
Location: Denver
Distribution: SuSe,RedHat,Mandrake,
Posts: 109

Rep: Reputation: 16
Lightbulb

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).

 
Old 04-24-2002, 11:49 PM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
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.
 
Old 04-25-2002, 04:36 PM   #7
ph34r3d
Member
 
Registered: Apr 2002
Location: Tamaqua, Pa
Distribution: Slackware. Gentoo 1.4rc3, RH9, Mandrake 9.1, Debian, FreeBSD, OpenBSD, Fedra Core 3 x86_64
Posts: 71

Rep: Reputation: 15
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
 
  


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
Consoles bong.mau Linux - Software 5 09-05-2005 01:59 PM
more consoles Donald1000 Solaris / OpenSolaris 2 02-18-2005 12:12 PM
installing RH7.2 or 7.3 fails; RH7.1 & W2k work great river Linux - Software 4 05-24-2002 05:45 PM
Difference in SSH between RH7.0 and RH7.2 rogerb56 Linux - Networking 1 02-08-2002 02:01 AM
Upgrade RH7.1 to RH7.2 with two .iso files t0dd Linux - Software 1 01-31-2002 06:47 PM


All times are GMT -5. The time now is 02:42 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