Page MenuHomeFreeBSD

usr.bin/login: send errors to console if syslog isn't running
ClosedPublic

Authored by arichardson on Jun 25 2021, 10:00 AM.

Details

Summary

I was debugging why login(1) wasn't working as expected on a minimal
MFS_ROOT disk image. This image doesn't have syslogd running so the
warnings were lost and I had to use GDB to find out why login(1) was
not working as expected (missing PAM libraries).

MFC after: 1 week

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.