How can I disable login banner?

Andrey N. Oktyabrski ano at bestmx.ru
Thu Sep 1 07:17:38 PDT 2011


On 01.09.11 18:14, Andrey N. Oktyabrski wrote:
On 01.09.11 17:54, Sascha Wildner wrote:
I want to disable login banner for some users. After reading "man
motd", I have created the $HOME/.hushlogin, but login banner remains.
What is wrong? How can I disable login banner?
Hmm, that's weird. I just tried it here (touch ~/.hushlogin) and the
motd was no longer shown upon re-login.
To be clear: I don't see the "Last login: ...", I see something same as
"fortune" prints. So, I have disabled login banner, but not fortune.
Sorry, it is from .profile :-(






More information about the Users mailing list