  | |  | Nut config? | Nut config? 2002-05-16 - By Tom Diehl
Back I was wondering if anyone has succeeded in getting nut configured properly? By that I mean what does it take to be able to send commands to the ups? I can read the thing but no matter what I do I cannot get past the username and passwd thing if I try something like:
upscmd kanga@(protected) fptest
I have a very basic upsd.users file setup. something like USER admin PASSWORD admin passwd ALLOW admin 100acrewoods ACTIONS admin SET INSTCMDS admin all
Yes, the passwd really is passwd. I just want to see it work and then I will put a real passwd in.
The acl looks like the following: ACL all 0.0.0.0/0 ACL localhost 127.0.0.1/32 ACL 100acrewoods 192.168.0.0/24
ACCESS grant monitor localhost passwd ACCESS grant all 100acrewoods passwd ACCESS deny all all
This is what I get: (kanga pts1) # upscmd -u admin -p passwd kanga fptest Instant command failed: Access denied
Anyone have any ideas what I am doing wrong??
-- .............Tom "Nothing would please me more than being able to tdiehl@(protected) hire ten programmers and deluge the hobby market with good software. " -- Bill Gates 1976
We are still waiting ....
|
|
 |