SUMMARY: (#2) Weird messages on login

From: Ze'ev Wurman (zeev@cat.amdahl.com)
Date: Fri Jun 19 1992 - 00:15:50 CDT


My original message was:

>>Last week my SS2 (SunOS 4.1.1 + patch 1050558) 'froze' on me (no messages in
>>'messages' file or console) and I had to reboot. The reboot seemed to go
>>thru cleanly, but since then on login I get the following lines:
>>
>>int i
>>file f
>>abstract Lid
>>
>>The third line sometimes doesn't show up, while the first 2 always do.
>>I took away my .login and .cshrc, but no change. It happens *only* in login
>>shell, and not in inferior shells.
>>
>>It doesn't seem to do any harm, but I wonder what it is...

I guess my first summary was so rapid it didn't acknowledge all the kind souls
that tried to help me, as well as some good advice that resulted. Specifically,
in (at least) 4.1.1, the default rc.local leaves the /etc/motd file
*R/W for the world*, so anybody can trash it. The wise suggestion is to
change its mode to 644 in rc.local, as in the following
/etc/rc.local excerpt:

...
mv /tmp/t1 /etc/motd
chmod 644 /etc/motd # originally it was 'chmod 666 /etc/motd'
...

Special mention to Christopher A. Collins, who correctly guessed the
offending application, that originally crashed my system, from the
'abstract Lid' line :-)

Thanks to you all, and in particular:

Brent Alan Wiese <brent@crick.ssctr.bcm.tmc.edu>
mp@allegra.att.com (Mark Plotnick)
collins@corona.AuE.com (Christopher A. Collins)
oran@spg.amdahl.com (Oran Davis)
stern@sunne.East (Hal Stern - NE Area Systems Engineer)
Jim Mattson <mattson@cs.UCSD.EDU>
wallen@cogsci.UCSD.EDU (Mark R. Wallen)
Michael S. Maiten <msm@Energetic.COM>
Barry Margolin <barmar@Think.COM>
matt@wbst845e.xerox.com (Matt Goheen)
jeff@cns.nyu.edu (Jeff Fookson)
Mike Raffety <miker@sbcoc.com>
trudel@cs.rutgers.edu
Daniel Quinlan <danq@lemond.Colorado.EDU>
"John R Ruckstuhl Jr" <ruck@alpha.ee.ufl.edu>
..!amdahl!fuwutai!katkam (Anil Katakam)
ldavis!woden!gunn@snowbird.Central.Sun.COM (David Gunn)



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:44 CDT