I'm trying to disable motd(5) message using login.conf(5). Previously, I could accomplish this by touching an empty file ~/.hushlogin. As the man page of login.conf(5) states, ~/.hushlogin should be able to replaced with the hushlogin field in login.conf. However, it isn't; motd is still displayed after login.
Here is my ~/.login_conf:
FYI: locale(1) shows that the charset and lang field is applied as intended. I ran cap_mkdb(1) after modifying login.conf.
Here is my ~/.login_conf:
Code:
me:\
:hushlogin:\
:charset=UTF-8:\
:lang=en_US.UTF-8: