From owner-freebsd-questions@FreeBSD.ORG Sat Dec 6 03:40:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16DCE16A4CE for ; Sat, 6 Dec 2003 03:40:11 -0800 (PST) Received: from munk.nu (mail.munk.nu [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E95F43FE3 for ; Sat, 6 Dec 2003 03:40:07 -0800 (PST) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.24; FreeBSD) id 1ASan7-000FMR-Bq for freebsd-questions@freebsd.org; Sat, 06 Dec 2003 11:40:05 +0000 Date: Sat, 6 Dec 2003 11:40:05 +0000 From: Jez Hancock To: freebsd-questions@freebsd.org Message-ID: <20031206114005.GC40664@users.munk.nu> Mail-Followup-To: freebsd-questions@freebsd.org References: <33027.81.31.164.174.1070740601.squirrel@ce.sharif.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33027.81.31.164.174.1070740601.squirrel@ce.sharif.edu> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: pre-login massage. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2003 11:40:11 -0000 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/