question about fortune at login
Norberto Meijome
freebsd at meijome.net
Wed Sep 13 09:48:18 PDT 2006
On Wed, 13 Sep 2006 10:56:59 -0400
"Jerold McAllister" <jerrymc at msu.edu> wrote:
> > What I don't much care for is the large /etc/motd which ships stock with
> > FreeBSD. So that and /etc/hosts are the only files I hack and override
> > manually when using mergemaster.
>
> The motd is supposed to be frequently update. It was originally intended
> for the system manager to post messages to users about whatever was
> happening to the system - such as a notice that it would be down for
> maintenance that evening. That is why it was called 'Message Of The Day'.
to get rid of motd on login:
touch ~/.hushlogin
fortune is being called by one of your shell startup scripts. if bash (as the
others have been covered already), look for ~/.profile and ~/.bashrc (and
~/.bash_logout ... if you need for actions when logging out.
_________________________
{Beto|Norberto|Numard} Meijome
"I don't think they could put him in a mental hospital. On the other
hand, if he were already in, I don't think they'd let him out."
I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
More information about the freebsd-questions
mailing list