Displaying 20 results from an estimated 75 matches for "allowfrom".
Did you mean:
allowfork
2009 Sep 14
1
Fwd: NUT and removed allowfrom/ACCEPT/REJECT support
I don't reply to messages send to me in private.
Best regards, Arjen
--
Please keep list traffic on the list
-------------- next part --------------
An embedded message was scrubbed...
From: Rudolf Cejka <cejkar op fit.vutbr.cz>
Subject: NUT and removed allowfrom/ACCEPT/REJECT support
Date: Mon, 14 Sep 2009 19:23:17 +0200
Size: 3148
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090914/40c0e230/attachment.eml>
2011 Mar 10
1
Access restriction on Upgrade Debian lenny -> Debian squeeze
Hi,
In Debian lenny I used the following in upsd.conf:
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACL webinterface 192.168.0.2/32
ACL slave 192.168.50.22/32
ACCEPT localhost
ACCEPT webinterface
ACCEPT slave
REJECT all
and in upsd.users:
[monmaster]
password = secret0
allowfrom = localhost
upsmon master
[monslave]
password = secret1
allowfrom = slave
upsmon slave
[admin]
password = secret2
actions = SET
instcmds = ALL
allowfrom = webinterface
Although upsd runs in a secured, private network, I woul...
2006 Jan 09
2
Master privileges unavailable
Hi,
I'm using debian sarge on my server and connected a MGE-ups ellipse via
the serial port.
I searched the internet for the answer, but can't find it.
My config files:
<upsd.users>
[admin]
password = pwd
allowfrom = 127.0.0.1/32
actions = set
instcmds = all
[upsmon]
password = pwd
allowfrom = 127.0.0.1/32 10.0.0.224/32
upsmon master
[upsslave]
password = pwd
allowfrom = 10.0.0.223/32
upsmon slave
</upsd.users>
<upsd.conf>
ACL localhost 127.0.0.1/32
ACL test2 10.0.0.223/...
2010 Jan 18
0
2.2.1 to 2.4.1 migration (allowfrom/tcp_wrappers)
Hello,
I just upgraded my nut 2.2.1 setup to 2.4.1. The "upsdrvctl shutdown"
command now works using a APC Backup-UPS CS350 via USB. Great!
The removed ACL/allowfrom functionality can be replaced by tcp_wrappers.
Unfortunately there isn't much documentation about the migration.
First you have to compile nut with "--with-wrap".
I have a special "nutadmin" user with read/write permissions
and a nut user with "read only" permis...
2011 Mar 10
1
Problems with upscmd ACCESS-DENIED
...battery test
test.battery.stop - Stop the battery test
An example:
upscmd sinus test.battery.start.quick
Username (root): gardar
Password:
Unexpected response from upsd: ERR ACCESS-DENIED
I have defined the user in the /etc/ups/upsd.users
74 [gardar]
75 password = hidden
76 allowfrom = local
77 actions = SET
78 instcmds = ALL
79 [local_mon]
80 password = hidden
81 allowfrom = localhost
82 upsmon master
Device and driver info:
device.mfr: Inform
device.model: SINUS1KURM
device.type: ups
driver.name: blazer_ser
driver.version: 2.6.0...
2016 Nov 24
4
Can't get NUT slave to connect to master
Hi can anyone please help.
Although I have two servers in the same cabinet/room and sharing the same
UPS - they're on different networks.
I've tried everything I can find online, but whatever I do I can't get the
slave nut client to connect to the master.
When testing then on the same LAN, they DO work - but how do I allow the IP
of the slave to connect to the master when both on
2016 Nov 25
2
Can't get NUT slave to connect to master
...sts.allow file to your suggested one - thanks for that.
I'm still getting "Connection refused on the client cgi screen as well as
in the shell it gives me UPS upsname at ipaddresshere is unavailable...
Any ideas what I can try next to debug why it's not working. Also should
the "allowfrom = clientIPaddresshere" line be in my monuser entry in
upsd.users on the master, or should I take that out?
Thanks once again for the help.
On 25 November 2016 at 12:37, Roger Price <roger at rogerprice.org> wrote:
> On Fri, 25 Nov 2016, Jonah Naylor wrote:
>
> upsd : ipaddres...
2008 Jul 30
1
machine not shutting down and connection failures in logs
...o add nut user to nut group manually.
ups.conf:
[bongups]
driver = megatec_usb
port = auto
desc "UPS Mustek PowerMust 2000"
upsd.conf:
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACL mybox 192.168.10.75/32
ACCEPT localhost
ACCEPT mybox
REJECT all
upsd.users:
[admin]
password = pass
allowfrom = localhost
upsmon master
[monuser]
password = pass
allowfrom = mybox
upsmon master
upsmon.conf:
POWERDOWNFLAG /etc/nut/killpower
MONITOR bongups at mybox 1 monuser pass master
SHUTDOWNCMD "/sbin/shutdown -h +0"
syslog (daemon.log):
Jul 30 09:13:18 bong upsd[2819]: listening on 0....
2006 Dec 27
3
Help with nut 2.0.4, MGE Ellipse 1000 and FreeBSD
...-Ellipse]
driver=newhidups
port=auto
desc="MGE Ellipse 1000"
root@zork3# cat upsd.conf
ACL world 0.0.0.0/0
ACL zork 192.168.100.0/24
ACL servers 192.168.1.0/24
ACL local 127.0.0.1/32
ACCEPT local
ACCEPT servers
ACCEPT zork
REJECT world
root@zork3# cat upsd.users
[admin]
password = admin
allowfrom = local
actions = set
instcmds = all
[monitor]
password = monitor
allowfrom = local
upsmon master
root@zork3# /usr/local/libexec/nut/upsdrvctl -u root start
Network UPS Tools - UPS driver controller 2.0.4
Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.4)
Detected a UPS: MGE UPS SYSTEMS/ELLI...
2009 Mar 07
3
"Master privileges unavailable on UPS" after upgrade to Debian Lenny
...sbhid-ups
port = /dev/usb/hiddev0
upsd.conf
#########
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACL localhost2 127.0.1.1/32
ACL nobodynet 10.9.2.0/24
#ACCEPT all
ACCEPT localhost
ACCEPT nobodynet
ACCEPT localhost2
REJECT all
upsd.users
##########
[admin]
password = blarblarblarblar
allowfrom = localhost
actions = SET
instcmds = ALL
[monuser]
password = blarblar
allowfrom = localhost
actions = SET
instcmds = ALL
upsmon master
upsmon.conf
###########
RUN_AS_USER nut
MONITOR copstick_ups at copstick3 1 monuser blarblar master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h...
2006 Aug 25
2
suse linux and nut
...TIFYFLAG ONBATT SYSLOG+WALL+EXEC
NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC
NOTIFYFLAG FSD SYSLOG+WALL+EXEC
NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC
NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC
RBWARNTIME 43200
NOCOMMWARNTIME 300
FINALDELAY 5
/etc/ups/upsd.users
[upsmaster]
password = okeefe
allowfrom = localhost
upsmon master
[upsslave]
password = okeefe
allowfrom = localhost
upsmon slave
i tried:
/usr/lib/ups/driver/powercom -DD -u root -x vendorid=0d9f /dev/hiddev0
and i get:
Network UPS Tools - PowerCom and similars protocol UPS driver $ Revision: 0.5
$ (...
2006 Nov 16
6
FreeBSD 6.1, MGE Ellipse ASR600USBS, newhidups & upsd
...idups
port = auto
desc = "MGE Ellipse ASR600USBS"
# Network UPS Tools: example upsd configuration file
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
REJECT all
MAXAGE 30
# Network UPS Tools: Example upsd.users
[admin]
password = xxxx
allowfrom = localhost
actions = SET
instcmds = ALL
[monuser]
password = yyyy
allowfrom = localhost
upsmon master
# Network UPS Tools: example upsmon configuration
RUN_AS_USER root
MONITOR mge@localhost 1 monuser monuser master
MINSUPPLIES 1
SHUTDOWNCMD "/sb...
2006 Feb 14
3
Master privileges unavailable on UPS
...ork UPS Tools: example ups.conf
user nutmon
[lupin1500AVR]
driver = cyberpower
port = /dev/tty01
# Network UPS Tools: example upsd configuration file
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
REJECT all
# Network UPS Tools: Example upsd.users
[monmaster]
password = *
allowfrom = localhost
actions = SET
instcmds = ALL
# Network UPS Tools: example upsmon configuration
RUN_AS_USER nutmon
MONITOR lupin1500AVR@localhost 1 monmaster * master
MINSUPPLIES 1
SHUTDOWNCMD "/sbin/shutdown -h +0"
NOTIFYCMD /usr/local/ups/bin/notifyme
POLLFREQ 5
POLLFREQALERT 5
HOSTSYNC...
2008 Mar 20
1
NUT behaviour when master system fails
...;#" upsd.conf
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACL nutMaster xx.xx.xx.xx1/32
ACL nutSlave1 xx.xx.xx.xx7/32
ACL nutSlave2 xx.xx.xx.xx3/32
ACCEPT localhost nutMaster nutSlave1 nutSlave2
REJECT all
upsd.users
----------
$ grep -v "#" upsd.users
[upsadmin]
password = ****
allowfrom = nutMaster
actions = SET
instcmds = ALL
[monmaster]
password = ****
allowfrom = nutMaster
upsmon master
[monslave-nutSlave1]
password = ****
allowfrom = nutSlave1
upsmon slave
[monslave-nutSlave2]
password = ****
allowfrom = nutSlave2
upsmon slave
upsmon.conf
-----------
$ grep -v "#"...
2009 Mar 01
7
Poll UPS / Driver not connected with UPS MGE Evolution 850VA USB
...t localhost lost
What did I miss ?
This is my conf file:
==ups.conf==
[MGE850VA]
driver = usbhid-ups
port = auto
==upsd.conf==
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
REJECT all
==upsd.users==
#Supervision user
[admin]
password = ***
allowfrom = localhost
actions = SET
instcmds = ALL
#Protection User
[MGE]
password = ***
allowfrom = localhost
upsmon master
==upssched.conf==
MDSCRIPT /usr/bin/upssched-cmd
==upsmon.conf==
RUN_AS_USER nut
MONITOR MGE850VA at localhost 1 MGE *** master
MINSUPPL...
2007 Feb 16
3
Belkin F6C100-UNV + newhidups
...-usb
Here's my /etc/nut/ups.conf
[myups]
driver = newhidups
port = auto
# vendorid=050d
# productid=0910
desc="belkin f6c100"
# explore
/etc/nut/upsd.users (pulled from a howto somewhere off the web)
[admin]
password=password
allowfrom=127.0.0.1
actions=set
instcmds=all
relevant snippets from syslog:
------------------------------
Feb 11 16:37:37 localhost kernel: ohci_hcd 0000:00:02.2: wakeup
Feb 11 16:37:37 localhost kernel: usb 1-2: new low speed USB device using
ohci_hcd and address 3
Feb 11 16:37:37 localhos...
2006 Aug 14
1
UPS problem
...ot;root", I have one user "marto".
These are my configuration files:
ups.conf:
[InformGuard]
driver = genericups
port = /dev/ttyS0
upsd.conf:
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCESS grant monitor localhost
ACCESS deny all all
upsd.users:
[root]
password = mypass
allowfrom = localhost
actions = SET
instcmds = ALL
[marto]
password = pass
allowfrom = localhost
upsmon master
upsmon.conf:
MONITOR InformGuard@localhost 1 marto pass master
#the other settings in upsmon.conf are the default ones
The problem is that when I run "upsd", the following m...
2006 Aug 14
0
UPS inform GUARD install problem
...the "root", I have one user "marto".
These are my configuration files:
ups.conf:
[InformGuard]
driver = genericups
port = /dev/ttyS0
upsd.conf:
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCESS grant monitor localhost
ACCESS deny all all
upsd.users:
[root]
password = mypass
allowfrom = localhost
actions = SET
instcmds = ALL
[marto]
password = pass
allowfrom = localhost
upsmon master
upsmon.conf:
MONITOR InformGuard@localhost 1 marto pass master
#the other settings in upsmon.conf are the default ones
The problem is that when I run "upsd", the following message appea...
2006 Jun 05
0
Passwords not verified in upsmon?
...ssword.
The following setup is working:
Server A has nut installed and has the following config:
upsd.conf:
ACL localnets 192.168.101.0/255.255.255.0
ACL localhost 127.0.0.1/32
ACL all 0.0.0.0/0
ACCEPT localnets localhost
REJECT all
upsd.users:
[admin]
password = hardertoguess
allowfrom = 64me
actions = set
instcmds = all
[upsmon]
password = hardtoguess
allowfrom = localnets
# give the rights required by a monitoring host:
upsmon slave
Now, if I run upsmon on a Server B with
upsmon.conf:
...
MONITOR mainups@ServerA 1 upsmon wrongpassword slave...
2016 Nov 24
0
Can't get NUT slave to connect to master
...the servers.
The machines firewalls allow each other's ips etc.
Part of the issue is possibly that I just don't know if I've set up NUT
correctly for this arrangement? Like I say it works ok on LAN, but not
across networks.
Is there something I should be doing other than adding "allowfrom =
ipaddressofslave" to the upsd.users file on the master?
I have this also in there:
[monuser]
password = pass
upsmon slave
allowfrom = ipaddressofslave
-
Then on the slave client I have this in the upsmon.conf:
MONITOR UPS at ipaddressofma...