On Mon, Nov 15, 2010 at 09:48:55 -0800,
msacks <ntwrkd(a)gmail.com> wrote:
Hello List,
I am creating a diagnostic livecd that will run a custom script as
soon as it boots.
I'd like to bypass the login screen altogether and automatically log
in as the root user.
I was considering creating a custom rpm with the following lines in
the following files like so:
/etc/gdm/custom.conf AutomaticLoginEnable=true
AutomaticLogin=root
and my /etc/pam.d/gdm
#auth required pam_succeed_if.so user != root quiet
Is there a better way to achieve this than customizing these config
files and over-writing them in an RPM?
One way people do stuff like this is in the %post section write commands to
a file that gets run when the live image boots up. You can probably do
what you want there. Then you would have a custom ks file instead of
a custom rpm.