🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs.uucp
Article #555

Re: Adding hushlogin to system V

#555
From: Michael Wescott
Date: Tue, 18 Feb 1986 15:33
27 lines
1767 bytes
In article <73@fai.UUCP> ronc@fai.UUCP (Ronald O. Christian) writes:
>
>A trivial fix for system V users that don't have the
>'.hushlogin' feature.
>
>Briefly, there are cases where the message of the day will
>screw up uucp transfers.  I'm not really sure whether this
>is due to escape codes present (for standout mode, etc.) or
>due to particular groups of words in the MOTD.  On BSD systems
>at least, if you put a .hushlogin in uucp's home directory,
>you supress the message of the day, and the problem goes away.
>(The code is in login.c.)
>
>On sysV systems, (at least on ours) there is no such feature.

On sysV systems, (at least ours) there is no need for such a
feature, at least not for uucp.  As shown by the original posting
/etc/motd et. al. are handled in /etc/profile.  And /etc/profile
is executed by /bin/sh when first invoked, not by login.
So uucp logging in will not get any garbage from /etc/motd
since the "shell" is /usr/lib/uucp/uucico.

Now for ordinary users to inhibit the /etc/motd garbage the changes
work OK.

	-Mike Wescott
	ncrcae!wescott
Technical Details
Message-ID: <614@sauron.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!ittatc!dcdwest!sdcsvax!ncr-sd!ncrcae!sauron!wescott
References: <73@fai.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site sauron.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!ittatc!dcdwest!sdcsvax!ncr-sd!ncrcae!sauron!wescott
From: wescott@sauron.UUCP (Michael Wescott)
Newsgroups: net.bugs.uucp
Subject: Re: Adding hushlogin to system V
Message-ID: <614@sauron.UUCP>
Date: Tue, 18-Feb-86 10:33:49 EST
Article-I.D.: sauron.614
Posted: Tue Feb 18 10:33:49 1986
Date-Received: Thu, 20-Feb-86 07:19:03 EST
References: <73@fai.UUCP>
Reply-To: wescott@sauron.UUCP (Michael Wescott)
Organization: NCR Corp., Advanced System Development, Columbia, SC
Lines: 27