LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   system administrator not allowed to login from this screen in rhel 5 (https://www.linuxquestions.org/questions/linux-software-2/system-administrator-not-allowed-to-login-from-this-screen-in-rhel-5-a-4175532455/)

vikilinux 01-29-2015 11:37 PM

system administrator not allowed to login from this screen in rhel 5
 
Dear Friends

Here i m using RHEL 5,While i try to login in GUI it shows "system administrator not allowed to login from this screen"error.

But in CLI there is no problem,So kindly help me to Solve this issue.

knudfl 01-30-2015 03:49 AM

You are not supposed to use the GUI as root. Never required.

So root login is disabled. For security reasons.

vikilinux 01-30-2015 06:52 AM

Thanks friend

Pls let me know how to enable.

TB0ne 01-30-2015 08:57 AM

Quote:

Originally Posted by vikilinux
Here i m using RHEL 5,While i try to login in GUI it shows "system administrator not allowed to login from this screen"error. But in CLI there is no problem,So kindly help me to Solve this issue.

As knudfl pointed out, there is no issue to 'solve'. It's disabled for security reasons, because it is ALWAYS A VERY BAD IDEA TO LOG IN AS ROOT, PERIOD. There is NO REASON to do it, EVER, unless you're in single-user mode, trying to fix a very serious problem.
Quote:

Originally Posted by vikilinux (Post 5308846)
Thanks friend Pls let me know how to enable.

Read the LQ Rules about text-speak, and about not using it. It's "please", not "pls".

Also, since you're using RHEL, you are PAYING for RHEL...RIGHT???? Have you called them for support/assistance? Did you try to look this up on the Red Hat website, which you're paying for access to?
https://access.redhat.com/documentat...es-noroot.html

cbonar 02-28-2015 12:00 PM

  1. edit /etc/gdm/gdm.conf
  2. in [security], add :
    AllowRoot=true
  3. save file and restart gdm

John VV 03-01-2015 04:00 PM

Warning:
if you login as root into the gui login
you can and WILL have all kinds of unexpected problems
that basically are not easily solvable

--- DO NOT LOG IN TO THE GUI AS ROOT !!! ---


see "TB0ne's" above post!!!!!!


All times are GMT -5. The time now is 08:47 PM.