Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 1996 09:27:57 -0600
From:      Sean Kelly <kelly@fsl.noaa.gov>
To:        richardc@CSUA.Berkeley.EDU
Cc:        terry@lambert.org, terry@lambert.org, questions@FreeBSD.ORG
Subject:   Re: long motd files - screen pause?
Message-ID:  <199605301528.PAA16583@gatekeeper.fsl.noaa.gov>
In-Reply-To: <Pine.PTX.3.91.960529160144.29367G-100000@soda.CSUA.Berkeley.EDU> (message from Veggy Vinny on Wed, 29 May 1996 16:02:26 -0700 (PDT))

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Veggy" == Veggy Vinny <richardc@CSUA.Berkeley.EDU> writes:

    Veggy> 	Hmmm, okay but how do some machines make the motd
    Veggy> pause even before it knows the termcap?

By ``cheating'' with the default user setup, perhaps.

When creating new users, just give 'em a .hushlogin file so
/usr/bin/login won't do any of the normal introductory stuff.  Then,
give 'em a .login (assuming csh/compatible here) that does the
following:

1. Determines the terminal type.
2. Shows if password is about to expire (two week warning).
3. Shows if account is about to expire (two week warning).
4. Show last login.
5. Warn if no kerberos tickets are issued.
6. Show the Regents copyright.
7. Page the motd.
8. Show if there's mail.

Step 7 will work as a consequence of step 1.

-- 
Sean Kelly                          
NOAA Forecast Systems Laboratory    kelly@fsl.noaa.gov
Boulder Colorado USA                http://www-sdd.fsl.noaa.gov/~kelly/



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