From owner-cvs-usrbin Mon Mar 11 22:40:23 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA07336 for cvs-usrbin-outgoing; Mon, 11 Mar 1996 22:40:23 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id WAA07325 Mon, 11 Mar 1996 22:40:20 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.7.4/8.6.9) with SMTP id WAA01662; Mon, 11 Mar 1996 22:39:17 -0800 (PST) To: Peter Wemm cc: 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 In-reply-to: Your message of "Tue, 12 Mar 1996 14:29:12 +0800." <199603120629.OAA02941@jhome.DIALix.COM> Date: Mon, 11 Mar 1996 22:39:17 -0800 Message-ID: <1660.826612757@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > It worked a few weeks ago.. Is this what you mean? > > Script started on Tue Mar 12 14:26:29 1996 > > peter@jhome[2:26pm]/tmp-103> l /usr/bin/su > 12 -r-sr-xr-x 1 root bin 12288 Feb 22 16:09 /usr/bin/su* > > peter@jhome[2:26pm]/tmp-104> su peter -c id Hmmm. Sonofagun! Still a couple of things here though.. 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. Second, it doesn't seem to work in the absence of a username anymore, e.g. you can't say: su -c id To run the command as root. These two factors led me to believe that it was still unimplemented. Jordan