Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* starting user program at boot time
@ 1994-08-31 19:23 Stan Joseph Simon
  1994-08-31 21:58 ` Larry Felawka
  0 siblings, 1 reply; 2+ messages in thread
From: Stan Joseph Simon @ 1994-08-31 19:23 UTC (permalink / raw)



Is there any way to start a user program at boot time with OSF 1.3?  I
have looked at man pages for cron and at and didn't see the "at boot"
option I am used to seeing.

I then asked my sysadmin for help.  We tried adding a startup script to
/sbin/rc3.d, but this did not work. So the program would not be run as
root, but as the user who owns the program, we did a chown and a chmod
u+s.  This was not successful--the program ran, but gave an error
message: could not determine user name from uid.  BTW, this is a NCSA
httpd server that I would like to have started up at boot time.

Stan



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

* Re: starting user program at boot time
  1994-08-31 19:23 starting user program at boot time Stan Joseph Simon
@ 1994-08-31 21:58 ` Larry Felawka
  0 siblings, 0 replies; 2+ messages in thread
From: Larry Felawka @ 1994-08-31 21:58 UTC (permalink / raw)


 In article <kiNBWai00WBN072rYz@andrew.cmu.edu> Stan Joseph Simon <ssb6+@andrew.cmu.edu> writes:
 >
 >Is there any way to start a user program at boot time with OSF 1.3?  I
 >have looked at man pages for cron and at and didn't see the "at boot"
 >option I am used to seeing.
 >
 >I then asked my sysadmin for help.  We tried adding a startup script to
 >/sbin/rc3.d, but this did not work. So the program would not be run as
 >root, but as the user who owns the program, we did a chown and a chmod
 >u+s.  This was not successful--the program ran, but gave an error
 >message: could not determine user name from uid.  BTW, this is a NCSA
 >httpd server that I would like to have started up at boot time.
 >
 >Stan
 >

I had exactly the same problem: how does one start up at boot time a daemon
that wants to run as user "foo"?  I finally opted for an inelegant solution:
start the daemon up in the "/sbin/rc3.d" startup script using the
"rsh nodename -l foo ..." command.  I had to take care to redirect the
(remote) standard output and error streams to the (remote) null pseudodevice,
even though it appeared to me that the daemon startup command produced no
output at all.


_____
Larry


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

end of thread, other threads:[~1994-08-31 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-31 19:23 starting user program at boot time Stan Joseph Simon
1994-08-31 21:58 ` Larry Felawka

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