<p>Bear in mind that blocking direct root login to X and gdm was implemented because of the huge security issues exposed. X already runs with many root privileges due to how X interacts with the hardware layer. Opening pam to allow root login from terminals is flat out dangerous as the security of the password process over the network is an exposure that's not balanced by the convenience. With the exception of gconf editing now requiring an active X session to work, there is no reason for root to ever login anywhere except the actual console of the server and only at the command line.<br>

Current Linux distros basically should never have a need for direct root login unless the system is being put into single user mode for repairs.</p>
<div class="gmail_quote">On Aug 31, 2011 8:03 AM, "Gianugo Altieri" <<a href="mailto:gianugo.altieri@gmail.com">gianugo.altieri@gmail.com</a>> wrote:<br type="attribution">> On 08/31/2011 01:43 PM, Jim Kinney wrote:<br>
>><br>>> Hmm. I tried direct login as root and was blocked. Thus the startx <br>>> process.<br>>><br>>> On Aug 30, 2011 10:45 PM, "Burke Almquist" <<a href="mailto:burke@thealmquists.net">burke@thealmquists.net</a> <br>
>> <mailto:<a href="mailto:burke@thealmquists.net">burke@thealmquists.net</a>>> wrote:<br>>> ><br>>> > On Aug 29, 2011, at 4:49 PM, Jim Kinney wrote:<br>>> ><br>>> >> gconftool-2 requires that the gconfd be runing. But as a non-root <br>
>> user, you can't edit the /etc/gconf file space. So....<br>>> >><br>>> >> boot the server but DON'T login at the gui screen.<br>>> > You CAN log in as root at the GUI screen, you just need to enter the <br>
>> username and password manually.<br>>> ><br>>> ><br>>> ><br>>> >> Instead, hit ctl-alt-f2 and get a normal terminal shell instead. <br>>> Login as root.<br>>> >><br>
>> >> now run: telinit 3<br>>> >><br>>> >> This will stop the X login process<br>>> >><br>>> >> now run startx<br>>> >><br>>> ><br>>> ><br>
>> ><br>>> ><br>>> > _______________________________________________<br>>> > K12OSN mailing list<br>>> > <a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a> <mailto:<a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a>><br>
>> > <a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>>> > For more info see <<a href="http://www.k12os.org">http://www.k12os.org</a>><br>
>><br>>><br>>> _______________________________________________<br>>> K12OSN mailing list<br>>> <a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>>> <a href="https://www.redhat.com/mailman/listinfo/k12osn">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
>> For more info see<<a href="http://www.k12os.org">http://www.k12os.org</a>><br>> <br>> When I need a graphical login as root, I edit this file:<br>> /etc/pam.d/gdm<br>> and I comment (#) this line:<br>
> # auth       required    pam_succeed_if.so user != root quiet<br>> <br>> then I edit this file:<br>> /etc/pam.d/gdm-password<br>> and I comment (#) this line:<br>> # auth        required      pam_succeed_if.so user != root quiet<br>
> <br>> Then I can graphically login as root both from server and from terminals<br>> <br>> Best<br>> Gianugo Altieri<br></div>