"su" in init script

From: curt <curt_at_cola.iges.org>
Date: Mon, 13 Sep 2004 15:37:27 -0400

I need to start up a job at system startup
under a userid other than root. I'm running
tru64 v5.1b (pk4?) on an ES45. I created
a little script called /sbin/rc3.d/S96try:

#/bin/sh
su -f curt -c /homes/cola/curt/fort/a.out &

If I run this script in multi-user mode, or
from crontab it works just fine: it runs
the little fortran program a.out under the userid
"curt" - which is what I want. But when I
start the system up the script doesn't "launch".

Any suggestions?

Sincerely,
Curt Steinmetz
Received on Mon Sep 13 2004 - 19:39:27 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT