









|
[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[NMLUG] Debian Startup Script
Thanks Sam. Just what I needed.
My laziness is twofold.
1. I really love webmin which makes me a lazy admin.
2. I'm too lazy to install webmin on my debian machine. I've had problems installing it on debian with apt-get and am too lazy to try again.
Tim
Sam Noble <sam.noble@comcast.net> wrote:
On Wed, 2004-10-06 at 08:30 -0700, Tim Emerick wrote:
> Thanks for the pointers. I like the idea of setuid. Works just as
> described. In my case I'm trying to make sure this prog runs as a
> regular user instead of root. I plan on having it start at
> boot.....if I can just figure out how.
You put the script in /etc/init.d an then need a specially named symlink
in the right /etc/rc* directory.
There's a tool called updaterc that can set this up; but the syntax is a
bear so I just make symlinks by hand.
# ln -s /etc/init.d/boinc /etc/rcS.d/S20boinc
where 20 is greater
than /etc/rcS.d/S
and less than /etc/rcS.d/S
> ATTACHMENT part 1.2 application/pgp-signature name=signature.asc
_______________________________________________
NMLUG mailing list
NMLUG@nmlug.org
http://www.nmlug.org/mailman/listinfo/nmlug
---------------------------------
Do you Yahoo!?
vote.yahoo.com - Register online to vote today!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.b9.com/pipermail/nmlug/attachments/20041006/c21ef8e1/attachment.htm
|
|