From owner-cvs-usrbin Tue Oct 28 14:17:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA25646 for cvs-usrbin-outgoing; Tue, 28 Oct 1997 14:17:25 -0800 (PST) (envelope-from owner-cvs-usrbin) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA25640; Tue, 28 Oct 1997 14:17:10 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id WAA21301; Tue, 28 Oct 1997 22:16:45 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id XAA03772; Tue, 28 Oct 1997 23:16:45 +0100 (MET) Date: Tue, 28 Oct 1997 23:16:45 +0100 (MET) Message-Id: <199710282216.XAA03772@bitbox.follo.net> From: Eivind Eklund To: Guido van Rooij CC: perhaps@yes.no, ache@nagual.pp.ru, guido@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG In-reply-to: Guido van Rooij's message of Tue, 28 Oct 1997 20:02:22 +0100 (MET) Subject: Re: cvs commit: src/usr.bin/su su.1 su.c References: <199710280112.CAA00610@bitbox.follo.net> <199710281902.UAA00981@gvr.gvr.org> Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > -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. There is a conflict in consistency - the user see this as an option to su, not the shell, and would see it as a re-use of an option. It doesn't bother me much, as I know the deal, but I believe it would bother a new/infrequent user. (This is not important to me, so if you still don't agree, just leave it at that and let the case rest.) Eivind.