BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} Auto-starting bb as non-root user on Slackware linux
On Fri, 3 Sep 1999, Stephen Bates wrote:
> If anyone knows how to get bb to auto start when the host boots, without being
> owned by root, I'd appreciate some help.
>
> Currently I have this in rc.local
> # start Big Brother
> echo "starting Big Brother client..."
> #su bb
> #cd /home/bb
> /home/bb/runbb.sh
Here's what I used to use to start rc5des as rc5 at bootup from rc.local.
su -c "./rc5des &" - rc5 &
To start bb as user bb, try
su -c "/home/bb/runbb.sh &" - bb &
Only one of the &'s is likely necessary...I never bothered figuring out
which one. Alternatively, you could write a little C or perl script that
does a setgid and setuid to the bb user and then execs runbb.sh. I'm
surprised a C version of such a program/script hasn't become part of bb by
now.
----don't waste your cpu, crack rc5...www.distributed.net team enzo---
Jon Lewis *jlewis@lewis.org*| Spammers will be winnuked or
System Administrator | nestea'd...whatever it takes
Atlantic Net | to get the job done.
_________http://www.lewis.org/~jlewis/pgp for PGP public key__________
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index