[Fedora-livecd-list] [SOLVED] Automatic root login on livecd

Mads Kiilerich mads at kiilerich.com
Thu Jan 6 12:22:28 UTC 2011


On 01/06/2011 01:17 PM, Lars Bjørndal wrote:
> Hello list!
>
> There are situations where you want to switch between different console
> windows. With the automatic login recommendation that we got (se below),
> we cannot switch console after the livecd has started. The
> suggestion is as follow:
>
> lars at lamasti.net (Lars Bjørndal) writes:
>
>> msacks<ntwrkd at gmail.com>  writes:
>>
> [...]
>
>>> Just for reference here is how I modified my /etc/init/tty.conf to
>>> bypass the login on a console-only machine:
>>>
>>> sed -i s/"exec \/sbin\/mingetty $TTY"/"exec \/sbin\/mingetty
>>> --autologin root $TTY"/ /etc/init/tty.conf
>>>
>>> which gives you:
>>>
>>> #tty.conf
>>>
>>> stop on runlevel [016]
>>> respawn
>>> instance $TTY
>>> exec /sbin/mingetty --autologin root $TTY
>>
>> What can I do if I want to have only TTY1 automatically logging in as
>> root, and have the other TTY's ready for logging in as other users after
>> the livecd has started up?
>
> Do someone have a solution to suggest?

See /etc/init/start-ttys.conf

/Mads


More information about the livecd mailing list