Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!brl-adm!brl-smoke!smoke!bzs@BU-CS.BU.EDU From: bzs@BU-CS.BU.EDU (Barry Shein) Newsgroups: net.unix-wizards Subject: unix system enhancements Message-ID: <4323@brl-smoke.ARPA> Date: Thu, 2-Oct-86 19:32:10 EDT Article-I.D.: brl-smok.4323 Posted: Thu Oct 2 19:32:10 1986 Date-Received: Sat, 4-Oct-86 10:42:03 EDT Sender: news@brl-smoke.ARPA Lines: 25 Guy Harris writes... >The trouble is that several people have done this, all giving the file >a different name. (proceeds to list various names for the system-wide .login files for csh) And I gave it a different name! Anyhow, call it what you like, here's the change to the file sh.c, around line 332, 4.2bsd: [note: it's just the one srcunit() line that needs to be added] if (loginsh) { /* BZS - srcunit/open does enuf access checking. Source a global .login file if it exists. Cannot use srccat et al cause they demand we be the owner. */ srcunit(dmove(open("/usr/lib/.login",0),-1),0,0) ; /* end BZS */ srccat(value("home"), "/.login"); } -Barry Shein, Boston University