Date: Thu, 09 Jan 2003 19:02:39 -0800 From: paul beard <pdb2@u.washington.edu> To: Coreix Systems - UNIX Developers <craigrm@coreixsystems.com.au> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Motd Updating Message-ID: <3E1E37CF.10209@u.washington.edu> References: <001401c2b915$54172550$2d01a8c0@apollo>
index | next in thread | previous in thread | raw e-mail
Coreix Systems - UNIX Developers wrote:
>
> Can someone tell me he name of the .c or .h file containing code to do the
> updating of MOTD,
> i want to add company specific support data to the source so it can be
> updated to motd on a daily basis, but do not want
> it to be easily accessiably be sysadmins.
> i have done it through a /etc/perodic/daily/script file, but clients can
> find it i want to complile it in the source.
>
from motd(5):
DESCRIPTION
The file /etc/motd is normally displayed by login(1) after a
user has logged in but before the shell is run. It is generally
used for important system-wide announcements. During system
startup, a line containing the kernel version string is prepended
to this file.
so perhaps you need to look into how login(1) works.
--
Paul Beard
<http://paulbeard.no-ip.org/movabletype/>
8040 27th Ave NE Seattle WA 98115 / 206 529 8400
UFO's are for real: the Air Force doesn't exist.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E1E37CF.10209>
