Re: motd displayed twice on console login

bipin <[email protected]> Tue, 20 Feb 2007 16:49:21 +0530
Newsgroups gmane.linux.trustix.general
Message-ID <[email protected]>
Christopher Thorjussen wrote:
> I'm using TSL 3.0.5 RC2.
> 
> I added a line with info to the /etc/motd file and now it displayes twice when I log in from console. How can I fix this? I only want it once.
> 
> It's like this:
> 
> <snip>
> ** motd msg **
> 
> Last login: xxxxxx
> ** motd msg **
> </snip>
> 

Workaround: Comment out the following line in /etc/pam.d/login.

  session    required     /lib/security/pam_motd.so


Thanks & Regards
Bipin