🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pe.cust.bugs
Article #21

Re: shell scripts as login shells

#21
From: Joe Orost
Date: Fri, 22 Mar 1985 03:16
31 lines
1954 bytes
I found this on "net.unix-wizards".  Please answer this if you can.  I
looked at "login.c" and it does call "execlp".

In article <556@rlgvax.UUCP> guy@rlgvax.UUCP (Guy Harris) writes:
>> 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

					regards,
					joe

--
Full-Name:  Joseph M. Orost
UUCP:       ..!{decvax,ucbvax,ihnp4}!vax135!petsd!joe
ARPA:	    vax135!petsd!joe@BERKELEY
US Mail:    MS 313; Perkin-Elmer; 106 Apple St; Tinton Falls, NJ 07724
Phone:      (201) 870-5844
Location:   40 19'49" N / 74 04'37" W
Technical Details
Message-ID: <476@petsd.UUCP>
Path: arc1-ca.pugleaf.net!lsuc!per!pesnta!petsd!joe
References: <7982@brl-tgr.ARPA> <97@timeinc.UUCP> <440@down.FUN> <1166@sunybcs.UUCP> <427@lsuc.UUCP> <503@rlgvax.UUCP> <236@itm.UUCP> <556@rlgvax.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10.2 9/18/84; site lsuc.UUCP
Posting-Version: version B 2.10.1 6/24/83; site petsd.UUCP
Path: arc1-ca.pugleaf.net!lsuc!per!pesnta!petsd!joe
From: joe@petsd.UUCP (Joe Orost)
Newsgroups: pe.cust.bugs
Subject: Re: shell scripts as login shells
Message-ID: <476@petsd.UUCP>
Date: 22 Mar 85 03:16:35 GMT
Date-Received: 22 Mar 85 17:59:30 GMT
References: <7982@brl-tgr.ARPA> <97@timeinc.UUCP> <440@down.FUN> <1166@sunybcs.UUCP> <427@lsuc.UUCP> <503@rlgvax.UUCP> <236@itm.UUCP> <556@rlgvax.UUCP>
Reply-To: guy@rlgvax.UUCP (Guy Harris)
Followup-To: net.unix-wizards
Organization: Perkin-Elmer DSG, Tinton Falls, N.J.
Lines: 31