On 9/4/06, Brandon Peirce <[EMAIL PROTECTED]> wrote:

One _advantage_ of the coreutils version is that is implements a -c switch
which the shadow version doesn't.  (More about -c later.)

The shadow version implements -c to pass a command. su would be pretty
crippled without it.

[06:59 AM [EMAIL PROTECTED] su -h
Usage: su [options] [login]

Options:
 -c, --command COMMAND         pass COMMAND to the invoked shell
 -h, --help                    display this help message and exit
 -, -l, --login                make the shell a login shell
 -m, -p,
 --preserve-environment        do not reset environment variables, and keep
                               the same shell
 -s, --shell SHELL             use SHELL instead of the default in passwd
[06:59 AM [EMAIL PROTECTED] paco -q `which su`
/bin/su:        shadow-4.0.15

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to