🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.security.misc
Article #255

Re: hushlogin

#255
From: Stephen Potter
Date: Sun, 06 Sep 1992 21:23
21 lines
1521 bytes
In article <1992Aug27.214859.8408@das.harvard.edu>, adam@calliope.uucp (Adam Shostack) writes:
|> In article <1992Aug27.200330.24859@news.duc.auburn.edu> hendefd@woof.duc.auburn.edu writes:
|> >What is a .hushlogin file and why does my system have an empty 
|> >one in /usr/spool/uucppublic?
|> 

Here's an interesting little hack that one of our consultants here at UF came up with.  This is nice for those of us that have to use public workstations, and have to log on and off a lot, or for windowing environments.

# Show motd only if it has changed
cmp -s ~/.hushlogin /etc/motd
if ($status != 0) then
  tee ~/.hushlogin < /etc/motd | more
endif

Steve

-- 
"There are worlds out there where the sky is burning.  The sea's asleep, and
the rivers dream.  People made of smoke and cities made of sound.  Somewhere
there's danger.  Somewhere there's injustice.  Somewhere else the tea's getting 
cold. 	Come on Ace, we've got work to do." -Dr Who, spp@reef.cis.ufl.edu
Technical Details
Message-ID: <36961@uflorida.cis.ufl.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!tulane!uflorida!crane.cis.ufl.edu!spp
References: <1992Aug27.200330.24859@news.duc.auburn.edu> <1992Aug27.214859.8408@das.harvard.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!tulane!uflorida!crane.cis.ufl.edu!spp
From: spp@crane.cis.ufl.edu (Stephen Potter)
Newsgroups: comp.security.misc
Subject: Re: hushlogin
Message-ID: <36961@uflorida.cis.ufl.edu>
Date: 6 Sep 92 21:23:01 GMT
References: <1992Aug27.200330.24859@news.duc.auburn.edu> <1992Aug27.214859.8408@das.harvard.edu>
Sender: news@uflorida.cis.ufl.edu
Reply-To: spp@crane.cis.ufl.edu (Stephen Potter)
Organization: U of Florida. Computer Science Dept.
Lines: 21
Nntp-Posting-Host: crane.cis.ufl.edu