uudruid74 Posted July 28, 2015 Report Share Posted July 28, 2015 Anyone see anything wrong with this line in /etc/login.defs ? MOTD_FILE /etc/motd Here's what I get: configuration error - unknown item 'MOTD_FILE' (notify administrator) Link to comment Share on other sites More sharing options...
0 Oleg Vinichenko Posted July 29, 2015 Report Share Posted July 29, 2015 where this configuration error comes from. Link to comment Share on other sites More sharing options...
0 uudruid74 Posted July 29, 2015 Author Report Share Posted July 29, 2015 The moment I do an 'su' Link to comment Share on other sites More sharing options...
0 Oleg Vinichenko Posted July 29, 2015 Report Share Posted July 29, 2015 was uncomment a manual change? Link to comment Share on other sites More sharing options...
0 uudruid74 Posted July 30, 2015 Author Report Share Posted July 30, 2015 yes Link to comment Share on other sites More sharing options...
0 Oleg Vinichenko Posted July 30, 2015 Report Share Posted July 30, 2015 using MOTD_FILE in login.defs is no longer works and handled by pam_motd, in /etc/pam.d/login man pam_motd have an example. Link to comment Share on other sites More sharing options...
0 uudruid74 Posted July 30, 2015 Author Report Share Posted July 30, 2015 Sounds like the examples need to be removed then Link to comment Share on other sites More sharing options...
Question
uudruid74
Anyone see anything wrong with this line in /etc/login.defs ?
Here's what I get:
Link to comment
Share on other sites
6 answers to this question
Recommended Posts