Date: Thu, 13 Feb 2003 05:31:08 -0800 From: Saint Aardvark the Carpeted <aardvark@saintaardvarkthecarpeted.com> To: "Colin J. Raven" <duiker@haggis.nl> Cc: freebsd-questions@freebsd.org Subject: Re: Customizing /etc/motd Message-ID: <20030213133108.GG14390@hardesty.saintaardvarkthecarpeted.com> In-Reply-To: <015401c2d360$3339c3a0$1500000a@scrk.com> References: <015401c2d360$3339c3a0$1500000a@scrk.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Colin J. Raven disturbed my sleep to write: > Greetings all! > I'd like to tweak /etc/motd to give ssh users a personalized login text. Printing the last time the user logged in appears to be part of login(1) itself, not /etc/motd. I suppose you could always modify the source code to print the message you like, but an easier way would be to append something to /etc/profile: echo 'Welcome to FreeBSD, $USER!' $USER is the user's account name. And it looks like you need the single quotes there to get the exclamation point to work. Hope this helps, Hugh -- Saint Aardvark the Carpeted aardvark@saintaardvarkthecarpeted.com Because the plural of Anecdote is Myth. 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?20030213133108.GG14390>