Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 21:59:29 +0100
From:      Nicolas Rachinsky <list@rachinsky.de>
To:        FreeBSD Security <freebsd-security@FreeBSD.ORG>
Subject:   Re: su -c user command not working
Message-ID:  <20020322205929.GC529@pc5.abc>
In-Reply-To: <657B20E93E93D4118F9700D0B73CE3EA02FFF4C5@goofy.epylon.lan>
References:  <20020322204951.GB529@pc5.abc> <657B20E93E93D4118F9700D0B73CE3EA02FFF4C5@goofy.epylon.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
* "DiCioccio, Jason" <jdicioccio@epylon.com> [2002-03-22 12:53:04 -0800]:
> No, the reason this works is because you're passing the -c to the shell
> which su invokes.  Most shells take a -c argument.  This is why -c is passed
> after the username, su -c <class> username would be what you are thinking of
> :)

uh, my mistake sorry.
I mixed "su -c blah user" and "su user -c blah". 

Nicolas

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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