Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rlgvax.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.unix-wizards Subject: Re: shell scripts as login shells Message-ID: <556@rlgvax.UUCP> Date: Wed, 6-Mar-85 11:55:08 EST Article-I.D.: rlgvax.556 Posted: Wed Mar 6 11:55:08 1985 Date-Received: Sat, 9-Mar-85 19:40:28 EST References: <7982@brl-tgr.ARPA> <97@timeinc.UUCP> <440@down.FUN> <1166@sunybcs.UUCP> <427@lsuc.UUCP> <503@rlgvax.UUCP> <236@itm.UUCP> Organization: CCI Office Systems Group, Reston, VA Lines: 16 > In article <503@rlgvax.UUCP> guy@rlgvax.UUCP (Guy Harris) writes: > >Sorry, that *will* work on V7 (and 4.xBSD, and Sys3, and SysV) systems, > >... > Sorry, Guy, on our Perkin-Elmer 3210 running "edition7" (used to be "unix") > with a few Berkleyisms (vi, more, 1K disk blocks) login *will not* > execute a shell script...I sure wish it would.... Then you should yell at P-E; the code in the V7/S3/S5/4.xBSD/whatever "login" uses "execlp" to run your login shell, which will execute shell scripts (as long as the shell script has the execute bit set). It's successfully worked with the S5 and 4.2BSD "login"s. Either P-E broke "execlp", or they broke "login", or the permissions on your shell script are wrong, or the shell script is broken. -- Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy