LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-29-2010, 02:19 AM   #1
kingbda222
LQ Newbie
 
Registered: Jan 2010
Location: India
Distribution: RHEL 4u5, RHEL 5.4
Posts: 3

Rep: Reputation: 0
Question Root Login Denial


I have a good working installation of RHEL 5.3 on one partition. Recently I installed RHEL 4u5 on another partition. Both use KDE as DT managers. Now I can boot into RHEL 4u5 as a user (and also do su -), but when I attempt root login at the GUI, I get message 'root login not permitted'.
 
Old 01-29-2010, 04:12 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
This is, afaik, by design. root should never start up an X session himself, su-ing upon demand is a much safer mechanism.
 
Old 02-01-2010, 12:58 AM   #3
kingbda222
LQ Newbie
 
Registered: Jan 2010
Location: India
Distribution: RHEL 4u5, RHEL 5.4
Posts: 3

Original Poster
Rep: Reputation: 0
Question no, that's not it

dear friend, thanks for the info. however on another pc i have the same installation, and there's absolutely no problem in root login at kde gui. BTW, ssh or telnet login for root is definitely a security risk and is usually disallowed by default. the issue still remains. i'm sure it is some config entry which is responsible. am still looking for the answer.
 
Old 02-01-2010, 05:54 AM   #4
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
In "/usr/share/config/kdm/kdmrc" find "AllowRootLogin=false", row ~229, and change it to true. save and logout, or restart X server/system.

Of course, I have to repeat that this is possible security issue :-)
 
Old 02-19-2010, 03:06 AM   #5
kingbda222
LQ Newbie
 
Registered: Jan 2010
Location: India
Distribution: RHEL 4u5, RHEL 5.4
Posts: 3

Original Poster
Rep: Reputation: 0
Smile Issue Resolved

Had to edit the /etc/hosts file. Was actually a trivial thing.
 
  


Reply



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
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 04:27 PM
/dev/null permission denial on login dsschanze Linux - General 2 10-12-2006 05:26 AM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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