LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: Khai Dao <saigon_ca@yahoo.com>
To : Charles Williams \(CEO\) <hosting.mailing.list.account@acnshosting.com>
Date: Tue, 5 Jun 2001 13:17:45 -0700 (PDT)
Re: /etc/rc2.d
Actually I have written the script to turn on netscape
server at boot time. I have a web application and I want
it turn on the web application at boot time . The daemon
runs as regular user.
to switch user id at boot time, which command is that
chmod +s ?
--- "Charles Williams (CEO)"
<hosting.mailing.list.account@acnshosting.com> wrote:
>
> ----- Original Message -----
> From: "Khai Dao" <saigon_ca@yahoo.com>
> To: <linuxsa@linuxsa.org.au>
> Sent: Tuesday, June 05, 2001 9:50 PM
> Subject: /etc/rc2.d
>
>
> > Hello,
> > I have a problem to set the scripts to run as a
> regular
> > user at boot time.
> > when I set the scripts at /etc/rc.local/myscripts it
> runs
> > at root user. How do I set it to run at regular user?
> >
> > cheers.
> > K.d
>
> K.d.
>
> I would imagine that you would want the program the
> script calls not to run
> as root (such as httpd running as httpd and not nobody)
> which can be done
> with an suid call in the script.
>
> chuck
>
>
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page