:: Re: [DNG] passwordless console auto…
Góra strony
Delete this message
Reply to this message
Autor: Florian Zieboll
Data:  
Dla: dng
Temat: Re: [DNG] passwordless console autologin
Am 12. Oktober 2018 15:42:54 MESZ schrieb fsmithred <fsmithred@???>:
> On 10/12/2018 08:14 AM, Florian Zieboll wrote:
> > Hallo,
> >
> > for a video display, I installed devuan with a passwordless console
> autologin, but my current configuration (below) gives me a
> "deprecated" warning:
> >
> > /etc/login.defs
> >     NO_PASSWORD_CONSOLE tty1

> >
> > /etc/inittab
> >     1:2345:respawn:/sbin/getty --autologin devuan tty1

> >
> > Is there an up-to-date solution to achieve this?
> >
> > Thank you and libre Grüße,
> > Florian
> >
>
>
> live-config edits inittab to use this:
> 1:2345:respawn:/bin/login -f user </dev/tty1 >/dev/tty1 2>&1
>
> where user is the login name. It does not use /etc/login.defs, and the
> line you posted is commented out with a warning that it's obsolete.
>
> fsmithred



Very nice, thank you! (I guess it's OK to reply to the list?!)

Florian


--

[message sent mobile]