*BSD News Article 65958


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!news.mathworks.com!tank.news.pipex.net!pipex!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: No su -c
Date: 13 Apr 1996 16:21:19 +0100
Organization: Ruff'n Ready
Lines: 11
Message-ID: <4kogpf$290@falstaf.demon.co.uk>
NNTP-Posting-Host: localhost.demon.co.uk
X-NNTP-Posting-Host: falstaf.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Dear All,
FreeBSD 2.1 doesn't appear to allow su login -c <something>.  I know there
is a way of haveing the same effect by using echo but I can't remember
how to do it.  I want to run my news stuff from rc.local and start slurp etc
off as news from within a script and am a little stymied.

Ideas please.

Robin