Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2002 14:00:20 +1000 (EST)
From:      Andrew <andrew@ugh.net.au>
To:        "Christopher J. Umina" <FJU@Fritzilldo.com>
Cc:        questions@freebsd.org
Subject:   Re: motd questions
Message-ID:  <20020512135725.Y52524-100000@starbug.ugh.net.au>
In-Reply-To: <002801c1f981$97596480$0301a8c0@uminafamily.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sat, 11 May 2002, Christopher J. Umina wrote:

> BSD.  Their motd messages were really long, so when the person logged in,
> they got the message and then had to press enter to show the rest of it.
> There was just like a pause in a batch file in DOS.  Can I do that?

I tell the system not to show me the motd and then get my shell to more
the file if it has been changed since I last saw it.

> Also, I'd like motd not to be shown to some users (for my sanity) such as
> root and my username, is that at all possible?

ave a look at PrintMotd yes in sshd_conf, the hushlogin capability in
login.conf and creating an empty file called .hushlogin in you home dir.

You shouldn't be logging in as root anyway ;-)

Andrew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020512135725.Y52524-100000>