From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,62b777b00162ff4d,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-10-02 05:52:52 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail From: "devnull" Newsgroups: comp.unix.tru64 Subject: running a runlevel-3 service as ordinary user at boot-time: what's wrong? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: Date: Thu, 02 Oct 2003 12:52:51 GMT NNTP-Posting-Host: 195.210.94.1 X-Complaints-To: abuse@libero.it X-Trace: twister1.libero.it 1065099171 195.210.94.1 (Thu, 02 Oct 2003 14:52:51 MET DST) NNTP-Posting-Date: Thu, 02 Oct 2003 14:52:51 MET DST Organization: [Infostrada] Xref: archiver1.google.com comp.unix.tru64:6 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.