Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Starting a process during bootup?
@ 1995-05-24  4:00 Patrick leMaistre
  0 siblings, 0 replies; only message in thread
From: Patrick leMaistre @ 1995-05-24  4:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-05-24  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-05-24  4:00 Starting a process during bootup? Patrick leMaistre

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