Fwd: logging with pam to busybox

אלכסיי סיליוק alex.silyuk at gmail.com
Sun Jan 20 17:48:31 UTC 2019


Hello, i am using busybox to run on my embedded device.
i am using tacacs server to authenticate to device instead of using local
database and i faced some problem.
i am removing username "su" from /etc/passwd .after that i am entering in
login prompt username "su" and password, pam mofule trying to authenticate
to tacacs server and returning FAIL, and it's ok.
After that i am using correct username and password for existing user at
tacacs server, after entering, i see in tacacs server that user
authenticated successfully but login prompt simply staing in clean screen,
as shown at attached image


[image: Screenshot_3.png]

after this, i am clicking CTRL+C and enter, trying again with same username
and password and login succeed

[image: Screenshot_4.png]

today, after enabling in config file  option

CONFIG_LOGIN_SESSION_AS_CHILD=y

and reloading device, it seems that problem described above, solved, but
now all logs of SYSLOG goes to screen instead of  /var/log/message , as you
can see in next screenshot

[image: Screenshot_5.png]



I am using RSYSLOG for syslog messages

will glad for any help,


Best regards, Alexey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190120/1672a090/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_3.png
Type: image/png
Size: 3538 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190120/1672a090/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_4.png
Type: image/png
Size: 3710 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190120/1672a090/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_5.png
Type: image/png
Size: 18240 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190120/1672a090/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_3.png
Type: image/png
Size: 3538 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190120/1672a090/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_4.png
Type: image/png
Size: 3710 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190120/1672a090/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_5.png
Type: image/png
Size: 18240 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20190120/1672a090/attachment-0011.png>


More information about the busybox mailing list