Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Nut config?

Nut config?

2002-05-16       - By Tom Diehl

 Back
Reply:     1     2     3  

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 ....