something like motd question
Tom Christiansen
tchrist at convex.COM
Sat May 11 06:09:10 AEST 1991
>From the keyboard of bshaw at hcmv2.ti.com (bob shaw):
:This is probably a very "basic" question .
:
:What I am looking for is something like /etc/motd.
:
:I would like to have a file that is read when a user logs in
:*IF* this file has been updated since it was last read by this
:user. This file would contain specific system news info, etc and
:would constantly be changed by the sys_admin.
One approach is to put 'make -f .hushlogin' in users' .login
files, where this file contains the following:
all: .hushlogin
.hushlogin: /etc/motd
@$${PAGER-less} /etc/motd
@touch .hushlogin
--tom
--
Tom Christiansen tchrist at convex.com convex!tchrist
"So much mail, so little time."
More information about the Comp.unix.admin
mailing list