Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: patrick@hsc.mb.ca (Patrick leMaistre)
Subject: Starting a process during bootup?
Date: 1995/05/24	[thread overview]
Message-ID: <3q034j$t24@canopus.cc.umanitoba.ca> (raw)

How do I start a process during boot up such that it is run as user news. 
OSF won't allow me to pipe to su like I was told I could do it. Here is 
what I am trying to accomplish...

-----------

#!/bin/sh
echo "/usr/local/lib/news/nn/nnmaster -r -O30 && echo 'Keeping 30 Days.' \
             > /dev/console" | su news


-----------

I have called this script from an rc3.d file and it doesn't allow me to 
do this?

Thanks in advance.
--
Patrick G. leMaistre, Communication Systems Engineer, Health Sciences Centre
Email: patrick@hsc.mb.ca




                 reply	other threads:[~1995-05-24  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox