









|
[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[NMLUG] Debian Startup Script
On Wednesday 06 October 2004 05:11 pm, Tim Emerick wrote:
> 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
hehe, i dunno about that, how hard is:
wget -c http://unc.dl.sourceforge.net/sourceforge/webadmin/webmin-1.160.tar.gz
tar -xzvf webmin-1.160.tar.gz
cd webmin-1.160
./setup.sh /usr/local/webmin
and i'm as lazy as they get :P
though i lost my Debian system to a major hard drive crash, so i had to
migrate my mail server to my Slackware system. (no apt-get) which i have
found to be a little more typing but less headaches because they packages
always install and work right off the bat. I'm lazy, but i don't like
problems either. FreeBSD's ports system is rather reliable though :D
nice thing about apt-get is you get all the dependencies resolved and
installed, but for something like webmin that only requires perl, apt-get, in
my opinion, is just overkill.
>
> 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!
--
1. If it ain't broke don't fix it
2. If it's broke fix it.
3. If ya want it right, recompile it.
4. Still not right? Read the manual.
|
|