From owner-freebsd-hackers Thu Jun 20 17:39:02 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA29790 for hackers-outgoing; Thu, 20 Jun 1996 17:39:02 -0700 (PDT) Received: from hemi.com (hemi.com [204.132.158.10]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA29785 for ; Thu, 20 Jun 1996 17:38:59 -0700 (PDT) Received: (from mbarkah@localhost) by hemi.com (8.6.12/8.6.12) id SAA14673; Thu, 20 Jun 1996 18:37:41 -0600 From: Ade Barkah Message-Id: <199606210037.SAA14673@hemi.com> Subject: Re: NFS install problem with 2.2-960612-SNAP, motd, etc. To: jgreco@brasil.moneng.mei.com (Joe Greco) Date: Thu, 20 Jun 1996 18:37:41 -0600 (MDT) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199606201916.OAA29155@brasil.moneng.mei.com> from "Joe Greco" at Jun 20, 96 02:16:25 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Joe Greco wrote: > > >We should still probably take this out - no reason to be scribbling on > > >an administrator's carefully crafted motd file now, is there? :-) > > > > There are a few decades of precedence here. Without this, the OS & > > version won't be printed when the user logs in. I think the code > > should stay as it is. > > STRONG agreement. Any administrator worth his beans knows that /etc/motd > gets modified at boot, in this fashion... and is free to disable it. > It is really nice to tell people what environment to expect. Well, ok... just a few words... motd doesn't get modified on many operating systems, so a non-BSD admin may get surprised. On these systems, /usr/bin/login prints out the version of the operating system along with the copyright notice... that way the OS & version will *always* be displayed regardless of the /etc/motd file (unless quietlog is on)... maybe we should do this instead ? Simple change to login.c. I'd say... at least modify the code so it doesn't clobber the first line of the /etc/motd like it does, and note that it will break when year 2000 comes. Thanks, -Ade ------------------------------------------------------------------- Inet: mbarkah@hemi.com - HEMISPHERE ONLINE - -------------------------------------------------------------------