From owner-cvs-usrbin Tue Oct 28 11:03:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA12629 for cvs-usrbin-outgoing; Tue, 28 Oct 1997 11:03:47 -0800 (PST) (envelope-from owner-cvs-usrbin) Received: from gvr.gvr.org (root@gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA12535; Tue, 28 Oct 1997 11:02:58 -0800 (PST) (envelope-from guido@gvr.org) Received: (from guido@localhost) by gvr.gvr.org (8.8.6/8.8.5) id UAA00981; Tue, 28 Oct 1997 20:02:23 +0100 (MET) From: Guido van Rooij Message-Id: <199710281902.UAA00981@gvr.gvr.org> Subject: Re: cvs commit: src/usr.bin/su su.1 su.c In-Reply-To: <199710280112.CAA00610@bitbox.follo.net> from Eivind Eklund at "Oct 28, 97 02:12:09 am" To: perhaps@yes.no (Eivind Eklund) Date: Tue, 28 Oct 1997 20:02:22 +0100 (MET) Cc: ache@nagual.pp.ru, guido@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Eivind Eklund wrote: > > > > In fact I started with -C, and reverted to -c because that is what > > BSD/OS uses for the same option. I know -c is used in some other > > Unixen to specify a command. If more ppl feel this is more painfull > > than being incompatible with BSD/OS's su, please yeel and I'll > > chaneg it to -C (or -L or whatever). > > -c is used in *FreeBSD* to specify a command, or at least was used > prior to your commit. > > IMO, being internally consistent and not re-using options is more > important than being compatible with BSD/OS here - my vote is for > using -C. > After thinking this over: There is no problem. The -c you refer to is passed to the shell. This -c is for the class. It is issued before the user you want to su to. So there is no problem here. -Guido