Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 1996 22:39:17 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Peter Wemm <peter@jhome.DIALix.COM>
Cc:        Mark Murray <mark@grondar.za>, Mark Murray <markm@freefall.freebsd.org>, 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 
Message-ID:  <1660.826612757@time.cdrom.com>
In-Reply-To: Your message of "Tue, 12 Mar 1996 14:29:12 %2B0800." <199603120629.OAA02941@jhome.DIALix.COM> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1660.826612757>