LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2003, 02:28 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Redhat 9 question


I just upgraded to RH9 from RH8 and when the main gui login screen shows up i cant login as root it says i cant login from here but in RH8 i always was able to do that. How do i login using Kde or any gui as root now?
 
Old 07-28-2003, 02:46 PM   #2
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 31
Re: Redhat 9 question

Quote:
Originally posted by BajaNick
I just upgraded to RH9 from RH8 and when the main gui login screen shows up i cant login as root it says i cant login from here but in RH8 i always was able to do that. How do i login using Kde or any gui as root now?
If you are running GDM as your Display Manager for the login screen, then make sure you have

AllowRoot=true

in /etc/X11/gdm/gdm.conf
 
Old 07-28-2003, 02:50 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
I would advise not to allow root login though as first of all running X and logging in thru X is usually open on port 6000. This can cause a security type problem. I would advise to just login as your normal user then su to root when needed. Its a better habit instead of just logging in as root to perform administration.
 
Old 07-28-2003, 02:51 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Apparently too many folk were logging into the root gui and running it that way (Not A Good Idea) rather than logging into the user account and administering properly.
 
Old 07-28-2003, 02:51 PM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
What is GDM, I looked for that directory but i dont have it, I did have show hidden files/directories checked.
 
Old 07-28-2003, 02:57 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by BajaNick
What is GDM, I looked for that directory but i dont have it, I did have show hidden files/directories checked.
What login manager are you using for X then, when you boot up to the GUI? GDM or KDM.. etc?

Have you searched for GDM? It might be located in a different place than specified, etc?
 
Old 07-28-2003, 02:58 PM   #7
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I fixed it. I had allow login root at login screen disabled, thanks
 
Old 07-28-2003, 03:01 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by BajaNick
I fixed it. I had allow login root at login screen disabled, thanks
I hope you did take in consideration of the possible security flaws when logging in as root instead of logging in as a user then su to root when needed. Just a thought.
 
Old 07-28-2003, 03:53 PM   #9
shadowhand
LQ Newbie
 
Registered: Jul 2003
Distribution: Fedora Core 1
Posts: 3

Rep: Reputation: 0
i never log in as root after i have my system configured... unless something goes REALLY wrong and it would be quicker to fix from a gui...
 
Old 07-28-2003, 07:33 PM   #10
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Oh man, you guys mean your not supposed to login as root through the gui? how do you do anything, You have to do everything thru the console while logged in as a user? then? I move from use to root all the time like that, I guess ill have to figure out a way how to do root stuff another way.
 
Old 07-28-2003, 07:43 PM   #11
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
# System administration
The best ways I have found to administer my computer is with basic bash commands in a virtual terminal or when I am in a GUI, an x terminal (you can open lots of these, more than the 6 VTs.), or with another powerful shell, the well kept secret of mc (Midnight Commander), with a file manager, editor, and lots more handy tools that runs in command line or an x terminal.

If you use the gui log in, you will be on virtual terminal 1 (most installs default to 6 of these terminals) and your x session will be running in virtual terminal 7.

You have mouse support in the command line with gpm unless it has been disabled, so copy and paste is just as easy in virtual terminals as it is in x.

From a virtual terminal, you can switch from one terminal to another by holding down the alt key and pressing one of the function keys F1 - F6. If you are in x, hold down the control key as well as the alt and F<N> key and you will go that terminal. The terminal that was first used to login will be busy and if x was run from that terminal, the error messages generated by x will be shown. The others will display the login prompt until it is used to log in to an account. To return to x from a virtual terminal, press alt and F7 and you are back to your x session.

To change to the root account, use these commands from your user account. Note the change in the prompt.
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]#
Remember, whatever you command in root (it's the "god" mode. You can bless or destroy at your whim) usually gets done if enough system is left to carry out the command. Sit on your hands and read at least 3 times before pressing the enter key when in root.

If you have Midnight Commander installed, type
Code:
mc
and press return and the Midnight Commander shell should run. Type control-o and you are in bash. Type control-o and you are in mc.
Code:
man mc
info mc
will give lots of info. You can use Midnight Commander in either user or root accounts.

Midnight Commander article w screen shots, etc.

You can do the normal linux copy/paste with the mouse from one virtual terminal to another by left clicking and swiping text in one, alt-FN to switch to the virtual terminal you wish to paste into, and middle click will paste the text that was swiped in the first virtual terminal into the file at the blinking cursor position.

To surf the internet from the command line, I recommend installing links as it displays most pages reasonably. Also, you can use it to post your questions about Linux here using it. Remember to refresh the posting page after login.

There should be no fear of the command line as it is actually easier to use than the gui. All that is necessary is to know the commands.

If you have zgv installed, you can even view images from the console command line if you want.
 
  


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
A question on Redhat satimis Red Hat 2 06-23-2004 06:26 AM
Redhat 9 Question RainKing Linux - Newbie 3 05-29-2003 11:14 AM
Question about RedHat 8.0 israel Linux - Software 3 04-18-2003 01:06 AM
Redhat Question... Zerodark Linux - General 3 03-18-2003 05:29 PM
RedHat 8.0 Question MikeT Linux - Distributions 1 02-24-2003 01:16 PM


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