ACC SHELL

Path : /usr/share/doc/packages/sysvinit-tools/
File Upload :
Current File : //usr/share/doc/packages/sysvinit-tools/FAQ.powerd

1) Detectups doesn't work. Whats wrong?
	Your UPS may not work with this powerd at this time. Consult your 
	UPS vendor as they dont work in a simple (dumb) mode. This may 
	give your UPS more features, but since this isnt a specific daemon 
	for a specific UPS, we at this time dont support proprietary UPS's

2) Detectups worked, and set everything up. I run powerd, Pull the cord, 
   And immediatly nothing happens. What gives?
	Powerd delays a default 16 seconds before initiating a shutdown, 
	and cancelling a shutdown. This is because most power outages
	just last a few seconds. And the delay to CANCEL the shutdown is 
	so if there is an extended power outage, and the power comes back, and 
	then goes back out, we wont have cancelled the shutdown. You can 
	change the delay, and disable the delay by setting DELAY 0

3) Is this networking part secure?
	No problems so far. And security has been a top concern when doing 
	the networking programming. But things that I consistently dont 
	things like using secure functions (not using things like gets() or 
	sprintf() that dont check for possible buffer overflows, And I've 
	also used select() to handle many client connections. The thought 
	of someone connecting to the daemon, and then a power outage occuring,
	and the client not receiving the notice occured to me.. So I've 
	tried to make that scenario be very very hard. Additionally, You 
	can have powerd drop root privlidges, only to use them when its 
	absolutely required (notifying init/executing shutdown, binding 
	to privlidged ports)
	So in short, No, Security has not been an oversight.

4) Why another power daemon?
	Well, The other ones arent BAD, some are real good (like ones that 
	work for proprietary UPS's) but none did everything I wanted. Most
	are also unmaintained. And so I just made a simple one for myself,
	and then I felt like there should be a simple power daemon with lots
	of features for others to use. And differant things that all try 
	to do the same thing is good... it brings variety. 
	  
5) What operating systems will work?
	Linux, and now BSD systems should work as well (FreeBSD, OpenBSD, 
	etc) But past that, Im not sure. There are plans for a Windows NT 
	port, but that may be a while. Contact me if you could help make 
	that happen.

6) Can I hire you?
	Perhaps, I live in Houston, TX, and am currently a college student 
	persuing a degree in Computer Science. If your interested, Feel free
	to contact me.


7) Why isnt there more documentation?
	Im trying... But docs are something I dread. Any volunteers would 
	be GREATLY appreciated.

ACC SHELL 2018