[yocto] Delete /run/nologin after boot up.

Vishwanath Chandapur vishwavtu at gmail.com
Fri Mar 8 07:25:14 PST 2019


Hi Team,

We are using poky thud version with systemd .we have enabled pam mdoule for
authentication because of which  non-root users no longer able to login to
terminal/ssh.
I have gone through systemd documentation according that  "/run/nologin"
should be deleted after boot up so that pam module cam allow to login.

There is already init script is available but it deletes in /etc/login not
/run/login.

https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-core/initscripts/initscripts-1.0/rmnologin.sh

With Regards
Vishwa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190308/48ce40ff/attachment.html>


More information about the yocto mailing list