tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* "su" in init script
@ 2004-09-13 19:37 curt
  0 siblings, 0 replies; only message in thread
From: curt @ 2004-09-13 19:37 UTC (permalink / raw)


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


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

only message in thread, other threads:[~2004-09-13 19:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-13 19:37 "su" in init script curt

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