[Tfug] Security Question
Bruce R. Nevins
tfug@tfug.org
Wed Jun 5 10:33:02 2002
Mike,
Check out http://www.exploits.org/nut/ which is a really rich UPS package.
It supports many UPS models, and has all the feature would want. It has been
under development for several years and I have watched it grow to a mature
package.
Bruce
--
Bruce R. Nevins, bnevins@nexiliscom.com
Vice President, Nexilis Communications Corp.
2527 E. 3rd St., Tucson, AZ, 85716-4114
+1-520-795-6000, +1-520-795-0158 (Fax)
http://www.nexiliscom.com/
Mike Morrell wrote:
> I have an APC UPS with two computers connected to it, both running
> Linux. One computer is connected to the UPS with the monitor cable and
> its running APC's monitor software. I want to configure it so that a
> batch file is run to shutdown both computers when the battery gets low.
> Of course this is simple for the computer physically connected to the
> UPS but whats the best way to force the other computer to shutdown? Its
> just my computers at home so I could kludge something together but I
> would like to know what would be a more secure way of doing it.
> I was thinking of sending the shutdown command via ssh to a special user
> on the other computer. Set that users account so that it can only
> execute the shutdown command, via the ssh config but set the regular
> login to /bin/false, and make it a part of the sudo group. In addition
> set ssh to only accept the key of the UPS computer. In a more hostile
> network would I be leaving my self open to anything? Is there a more
> elegant way of achieving this?
>
> Thanks,
>
> Mike
>
> _______________________________________________
> tfug mailing list
> tfug@tfug.org
> https://www.tfug.org/mailman/listinfo/tfug