Changes

From SME Server
Jump to navigationJump to search
Line 45: Line 45:  
NUT uses TCP-Wrappers to provide controlled access to the daemon upsd. To allow this add a fragment to the templates
 
NUT uses TCP-Wrappers to provide controlled access to the daemon upsd. To allow this add a fragment to the templates
    +
mkdir -p /etc/e-smith/templates-custom/etc/services
 +
vim /etc/e-smith/templates-custom/etc/services/30Nut
 +
and paste
 +
#Nut Service
 +
nut              3493/tcp                      # Network UPS Tools
 +
nut              3493/udp                      # Network UPS Tools
 +
then
 
  mkdir -p /etc/e-smith/templates-custom/etc/hosts.allow/
 
  mkdir -p /etc/e-smith/templates-custom/etc/hosts.allow/
 
  mc -e /etc/e-smith/templates-custom/etc/hosts.allow/upsd
 
  mc -e /etc/e-smith/templates-custom/etc/hosts.allow/upsd

Navigation menu