*BSD News Article 53966


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!psgrain!newsfeed.internetmci.com!btnet!dispatch.news.demon.net!demon!falstaf.demon.co.uk!falstaf.demon.co.uk!not-for-mail
From: robin@falstaf.demon.co.uk (Robin Birch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: SU -c switch
Date: 4 Nov 1995 11:01:28 -0000
Organization: Ruff'n Ready
Lines: 17
Message-ID: <47fh68$8d@falstaf.demon.co.uk>
Reply-To: robin@falstaf.demon.co.uk
NNTP-Posting-Host: falstaf.demon.co.uk
X-NNTP-Posting-Host: falstaf.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Dear All,
Many systems, my PDP-11 running 2bsd amongst others, allow me to do something
like su news -c "some command string".  This then allows me to execute the
command string as news.  

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.

What am I doing wrong?.  Or is there some stuff I have to set up before I
can do this?.

Yours confused

Robin