Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 2003 11:40:05 +0000
From:      Jez Hancock <jez.hancock@munk.nu>
To:        freebsd-questions@freebsd.org
Subject:   Re: pre-login massage.
Message-ID:  <20031206114005.GC40664@users.munk.nu>
In-Reply-To: <33027.81.31.164.174.1070740601.squirrel@ce.sharif.edu>
References:  <33027.81.31.164.174.1070740601.squirrel@ce.sharif.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 06, 2003 at 02:56:41PM -0500, falaki@ce.sharif.edu wrote:
> Hi every body;
>    In Linux There is a file in /etc named issue which contains the
> pre-login massage. But it seems there is not such a file in FreeBSD.
> How can I display a pre-login massage in my FreeBSD box.
The /etc/motd file contains the message of the day that's displayed for
users when they login.  You can modify that to display what you want.

Alternatively you could add items on a per-user basis in their ~/.login
file or globally in one of the login startup rc files (.profile, .cshrc,
.shrc, etc) - see the manpage for 'login' for more info on the files that
are best to use.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/



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