From: "devnull" <devnull@indirizzo.fasullo.it>
Subject: running a runlevel-3 service as ordinary user at boot-time: what's wrong?
Date: Thu, 02 Oct 2003 12:52:51 GMT [thread overview]
Message-ID: <DcVeb.3580$vO5.111800@twister1.libero.it> (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.
next reply other threads:[~2003-10-02 12:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-02 12:52 devnull [this message]
2003-10-02 17:25 ` running a runlevel-3 service as ordinary user at boot-time: what's wrong? Peter da Silva
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