At 05:20 AM 9/15/2004, Nathan Butcher wrote:
A little bit more tinkering, and it seems that when I start up bs0.99b2 as a non-privileged user, the reason why it hangs at uxmon-asroot is that bb_start is actually waiting for a root password in the background before continuing.I guess that this is just a stupid bug of some sort, but stupid enough to annoy me.
It's hardly much of a bug in bigisister.. It's seems obvious that anything doing "asroot" operations should be started as root...
Perhaps a better behavior would be to bail out and fail to start unless run interactively. Or just skip uxmon-asroot with an error message in the logs.
*sigh* I guess I'll just have to run big sister as root :(
Or if you feel like hacking bigsister a bit you could try to remove the "asroot" part in bb_start. Of course, this limits your ability to run things as root (ie: icmp pings)...
May I ask you want to start bigsister as nonroot anyway?By default BS deprivs itself where ever possible to an unprivileged user you configured at compile time... Hence the split of 'uxmon-asroot' and the normal deprived 'uxmon-net'.
Just because you start it as root doesn't mean it runs as root constantly. Look at ps aux: bigsis 4794 0.1 4.0 9796 9724 ? S Sep14 1:17 bsmon bigsis 2882 0.0 2.3 5864 5660 ? S Sep14 0:05 bbd root 3373 0.4 6.4 15100 15424 ? S Sep14 4:40 uxmon bigsis 2881 0.0 2.0 5800 4900 ? S Sep14 0:00 uxmonNote only one uxmon (the one for "asroot") has retained root privs.. Everything else has setuid'ed itself to bigsis.
------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ Bigsister-general mailing list suppressed https://lists.sourceforge.net/lists/listinfo/bigsister-general
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.