Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 1996 08:52:49 +0200
From:      Mark Murray <mark@grondar.za>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        Peter Wemm <peter@jhome.DIALix.COM>, 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:  <199603120652.IAA07022@grumble.grondar.za>

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



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