Shadow+PAM: unknown item ´NOLOGIN_STR´

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Shadow+PAM: unknown item ´NOLOGIN_STR´

Post by ^rooker »

[PROBLEM]
After installing PAM (0.80) and re-installing shadow (4.0.10) to use PAM, a strange error occured when testing the login in a new shell:
configuration error - unknown item ´NOLOGIN_STR´ (notifty administrator)
[SOLUTION]
Edit your /etc/login.defs and search for NOLOGIN_STR. there you will see a comment saying that this flag was ripped out by a programmer.
So simply comment it out.
Post Reply