From owner-cvs-usrbin Mon Mar 11 22:54:13 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA08277 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 22:54:13 -0800 (PST) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA08272 Mon, 11 Mar 1996 22:54:04 -0800 (PST) Received: from grumble.grondar.za (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.7.4/8.7.3) with ESMTP id IAA07022; Tue, 12 Mar 1996 08:52:50 +0200 (SAT) Message-Id: <199603120652.IAA07022@grumble.grondar.za> To: "Jordan K. Hubbard" cc: Peter Wemm , Mark Murray , Mark Murray , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.bin/su su.c Date: Tue, 12 Mar 1996 08:52:49 +0200 From: Mark Murray Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk "Jordan K. Hubbard" wrote: > First, the -c option is undocumented. If you get a usage string out > of it, it won't list -c among the supported options, nor is it in the > man page. It is not actually a su option, it is directly passed as an option to the subshell. Its mentioned in my manpage (-current/international). Maybe I'd better bring that over. > Second, it doesn't seem to work in the absence of a username anymore, > e.g. you can't say: > > su -c id Right. > To run the command as root. These two factors led me to believe > that it was still unimplemented. The advantages of accurate docs! M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key