Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!wizard.pn.com!Germany.EU.net!news.dfn.de!gs.dfn.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: GNU version of su? Date: 2 Oct 1995 00:30:38 +0100 Organization: Private FreeBSD site, Dresden. Lines: 23 Message-ID: <44n8au$j70@uriah.heep.sax.de> References: <44i0tb$sd7@xymox.dsw.com> <JKH.95Sep29215420@time.cdrom.com> NNTP-Posting-Host: uriah.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Jordan K. Hubbard <jkh@time.cdrom.com> wrote: > I need to find a version of su that supports passing a command (usually > -c). The GNU version of su that comes with Linux allows this. The su from > 2.0.5R does not support such a thing (unless I'm missing it). > >This feature is now back in both FreeBSD-current and FreeBSD-stable, >exists in the latest snapshot and will, of course, be in FreeBSD 2.1 Well, but the equivalent to su foobar -c mumble is echo mumble | su foobar ...and it even works with all the older su's around. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)