Re: gdm login as root automatically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Apr 20, 2009 at 9:02 PM, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote:
> Hi all,
>
> I was wondering if someone knows how to "automatically" login as root
> with gdm and gnome.
>
> I have been doing some searching, and havent been able to find a method.
> I dont want to login
> automatically all the time - its just part of install setup.
> 1) kickstart install
> 2) post section do somethings
> 3) setup so on reboot auto login as root
> 4) complete installing some things and REMOVE the auto root login.

If you're doing it via kickstart (which is what I have), you can try
something like this in the kickstart post sections:
%post
useradd -p '$1$aqFmf2PA$VVacErRFawntEp9asdasasdasd' kwan
sed -i -e "s/^\(AutomaticLoginEnable=\).*$/\1true/" /etc/X11/gdm/gdm.conf
sed -i -e "s/^\(AutomaticLogin=\).*$/\1kwan/" /etc/X11/gdm/gdm.conf

All that does is add the AutomaticLogin to gdm.. Not sure if it works
for root thogh.




> This is what I am looking at trying to do. I have it all working except
> the auto root login.
>
> I have looked at gdmsetup on centos 5.3 x86_64 and dont see a setup for it.
> I have setup gdm to auto login as a regular user but that doesnt work
> for me.
>
> How does one setup gdm to login as root automatically?
>
> Thanks,
>
> Jerry
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux