Subject: Re: bin/17340: the meaning of the "-c" option to /usr/bin/su is overloaded
To: None <david@l8s.co.uk, gnats-bugs@gnats.netbsd.org, netbsd-bugs@NetBSD.ORG>
From: Paul Shupak <paul@Plectere.com>
List: netbsd-bugs
Date: 06/21/2002 14:25:12
	Sorry, a quick script I wrote for my wife (actually on 1.2C, I believe)
stopped working and I (much too quickly) fired off a "send-pr".  Checking,
the cvs logs and histories I can't find haw it would've ever worked in the
presence of "getopt()".

	Just to reiterate my withdraw of what is clearly my own mistake I've
appended my response to Greg Woods below.

NOTE: this `habit' may have also been developed on Xenix, IRIX, and/or AIX
along with Sunos/Solaris -- I used all of them for many years while at IBM,
SGI & Sun respectively;  Hell, I even used Locus/TCF at IBM for about a year
and a half.

	Sorry,

	paul shupak

--------------------------------------------------------------------------------
---------  Reply to Greg ( probably should've cc'd to the list anyway ) --------
--------------------------------------------------------------------------------

> From paul Fri Jun 21 13:28:00 2002
> Return-Path: <paul>
> Received: (from paul@localhost)
> 	by Plectere.com (8.11.6/8.11.0) id g5LKS0928507;
> 	Fri, 21 Jun 2002 13:28:00 -0700 (PDT)
> Date: Fri, 21 Jun 2002 13:28:00 -0700 (PDT)
> From: Paul Shupak <paul>
> Message-Id: <200206212028.g5LKS0928507@Plectere.com>
> To: woods@weird.com
> Subject: Re: bin/17340: the meaning of the "-c" option to /usr/bin/su is overloaded
> Cc: paul@Plectere.com
> Status: R
> 
> 	You are correct that the syntax does show that the "name" is
> not optional when arguments are to be passed to the `new' account's shell.
> The closest defense of my original position I could find ( checking though
> manuals from V7, SystemIII, SVR1, SVR2, SVR3, BSD4.2, BSD4.3 and BSD4.4 )
> was the verbiage in the 1986 CBS COLLEGE PUBLISHING (blue-colored "Blocks"
> version of) "The UNIX Programmers Manual" volume 1 and the syntax is 
> unequivocally as you have said in the 1986 Prentice-Hall (red "AT&T"
> version) release of the SVR1 "The UNIX System User's Manual" -- and even
> for my (very slightly) supporting case even its syntax line shows that
> the name is not optional if further command line arguments are given.
> 
> 	Therefore, though reluctantly, I must agree with you that this has 
> simply been a "bad" habit of mine (lasting across 4 decades), and that I
> should/will change my ways.  The hardest habits to break are those which
> should never have been acquired to begin with (as most cigarette smokers
> and all ex-smokers will admit).
> 
> 		Thank you for the enlightenment ( and for causing me to
> reread my dusty sets of manuals ).
> 
> 	Please consider bin/17340 to be withdrawn and close it as best
> you see fit.
> 
> 	Sincerely,
> 
> 	paul shupak
> 
> >[ On Thursday, June 20, 2002 at 16:48:50 (-0700), paul@plectere.com wrote: ]
> >> Subject: bin/17340: the meaning of the "-c" option to /usr/bin/su is overloaded
...
> >
> >-- 
> >								Greg A. Woods
> >
> >+1 416 218-0098;  <gwoods@acm.org>;  <g.a.woods@ieee.org>;  <woods@robohack.ca>
> >Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>
> >
>