Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* running a runlevel-3 service as ordinary user at boot-time: what's wrong?
@ 2003-10-02 12:52 devnull
  2003-10-02 17:25 ` Peter da Silva
  0 siblings, 1 reply; 2+ messages in thread
From: devnull @ 2003-10-02 12:52 UTC (permalink / raw)


hi,

i'm using tru64 v5.1 and i'm trying to execute a certain script running at
boot with an ordinary user identity ("user" from now on).

what i'm doing is trying to write a script ("rc3script") into /sbin/init.d
containing something like

su - user -c '$USERVARIABLECONTAININGAPATH/userscript.sh &'

when invoked with start as first parameter (yes it should be "forked").


the script itself is owned by bin:bin and with r and x flags on for user and
group (and user writable).

the script is running without a problem when launched interactively by the
shell.


i created a symlink in /sbin/rc3.d called S99rc3script pointing at rc3script
(absolute path)

no matter what  i try, the script seems to not activate at boot (the system
goes to runlevel 3 of course)


what i forgot?

thank you for any suggestion you have, and for bearing my horrible english
;-)

devnull.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-02 17:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-02 12:52 running a runlevel-3 service as ordinary user at boot-time: what's wrong? devnull
2003-10-02 17:25 ` Peter da Silva

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