On Monday 01 April 2002 6:47 am, you wrote:
> On Monday 01 April 2002 04:05, Guilherme Cirne wrote:
> > Hi,
> >
> > How do I start the LAN Information Server (LISa) automatically at boot
> > time. If I run lisa --kde2 as root, everything works fine. I tried adding
> > the following lines to /etc/rc.d/rc.local:
> >
> > if [ -x /usr/bin/lisa ]; then
> >  echo "Starting LISa daemon..."
> >  /usr/bin/lisa --kde2
> > fi
> >
> > but this doesn't work. I don't know where to look for possible error
> > messages, but I believe that the problem has something to do with it not
> > being run as root or not recognising the --kde2 option and thus not
> > finding the correct config file.
> >
> > Any ideas?
> >
> > TIA,
>
> I think at 8.2 the options for LISa changed. I'm not sure if the --kde2
> switch is there any more.
> In any case you can start LISa with
> lisa -c path_to_config_file
>
> The default path to the config file should be
> /root/.kde/share/config/lisarc which is where KDE Control Centre will put
> it if you run kcontrol as root.
>
> derek

I don't think that is the problem. I have tried the -c option and it doesn't 
work. What I want to know is if any program run from /etc/rc.d/rc.local will 
be run with root privileges.

So I guess my question is: how do I run a program, with root privileges, 
during system startup?

-- 
Guilherme Cirne
[EMAIL PROTECTED]

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to