Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!sdd.hp.com!usc!chi-news.cic.net!newsfeed.internetmci.com!in2.uu.net!genmagic!sgigate.sgi.com!wetware!wsrcc.com!news.orst.edu!news.uidaho.edu!usenet From: Faried Nawaz <fn@uidaho.edu> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: SU -c switch Date: 07 Nov 1995 01:44:24 -0800 Organization: you have mail. Lines: 12 Sender: nawaz921@brownlee.cs.uidaho.edu Distribution: world Message-ID: <imka5cbvyf.fsf@brownlee.cs.uidaho.edu> References: <47fh68$8d@falstaf.demon.co.uk> Reply-To: fn@uidaho.edu NNTP-Posting-Host: brownlee.cs.uidaho.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In-reply-to: robin@falstaf.demon.co.uk's message of 4 Nov 1995 11:01:28 -0000 In article <47fh68$8d@falstaf.demon.co.uk> robin@falstaf.demon.co.uk (Robin Birch) writes: $ I am running FreeBSD 2.0 and this doesn't appear to do this. If I enter $ such a string all I get is the sh prompt and I hae to mannually enter $ the command. it doesn't on freebsd 2.0. it does in freebsd-current (and probably in 2.1). what you can do instead is echo "command" | su -m toor