[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 19990714: automatic ldm process start up after reboot



On Wed, 14 Jul 1999, Unidata Support wrote:

> 
> ------- Forwarded Message
> 
> >To: "'Unidata Support'" <address@hidden>
> >From: "Molenar, Deb" <address@hidden>
> >Subject: automatic ldm process start up after reboot
> >Organization: .
> >Keywords: 199907141657.KAA26948
> 
> I'm running the ldm on HP-UX 10.20.   When the ldm is manually started from
> user ldm, ldm owns all files and processes and the ldm account can stop,
> delete, etc. as necessary.  However, if I automatically start the ldm at
> bootup following HP's recommended procedure, then root owns all ldm
> processes and files and the ldm account can't touch then.  HP says this is
> the only way to automatically start processes at boot-up.  Are you aware of
> anyway to autostart everything as user ldm?


Deb,

This is how we configure the ldmd be be started on a reboot.

Copy the script at:
http://www.unidata.ucar.edu/packages/ldm/ldmConfigInstallList.html#s10 

to /sbin/init.d/ldmd

Make sure all the variables in the script are set correctly for your
system. In directory /sbin/rc3.d   do a link to the /sbin/init.d/ldmd
file, ie

% ln /sbin/init.d/ldmd  S95ldmd

Make sure there are no other files that start with S95, if there is one
then pick a number higher but not above 100.

That's it.  Notice all ldm commands start with "/bin/su - ldm " to make
the ldm run as user ldm, not root.


Robb...






> ___________________________
> Debra A. Molenar          address@hidden
> Computer Specialist     NOAA/NESDIS/RAMM  E-RA2
> phone:  970-491-8447    fax:  970-491-8241
> 
> 
> 
> ------- End of Forwarded Message
> 

===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================