Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 094536f010c39298a1b4d4f786e7edbd > files > 5

nut-server-0.45.4-1mdk.i586.rpm

# Network UPS Tools: Example upsd.users
#
# This file sets the permissions for the information server upsd.  Users
# are defined here, are given passwords, and their privileges are controlled
# here too.  As this file will contain passwords, keep it secure, with only
# enough permissions so that upsd can access it.

#=============================================================================
# USER <username>
#
# Declare a new user.  This must happen before any of the other directives
# can be used on this user.  Note that the username is case sensitive,
# so if you call someone "admin" here, you can't change to "Admin" below.
#
# Example:
# USER admin

#=============================================================================
# PASSWORD <username> <password>
#
# Set an existing user's password.  This is also case sensitive.
#
# Example:
# PASSWORD admin mypass

#=============================================================================
# ALLOW <username> <acl1> <acl2> <acl3> <acl4> <acl5>
#
# Grant access to the user from up to 5 locations defined by the ACLs
# in your upsd.conf.  If you need more locations, use more ALLOW lines 
# with the same username.
#
# Example:
# ALLOW admin admworkstation admhome

#=============================================================================
# ACTIONS <username> <act1> <act2> <act3> <act4> <act5>
#
# Let a user do certain things with upsd.  If you need more than 5,
# use another ACTIONS line with the same username.  Valid actions are:
#
# SET	- change the value of certain variables in the UPS
#
# Example:
# ACTIONS admin SET

#=============================================================================
# INSTCMDS <username> <cmd1> <cmd2> <cmd3> <cmd4> <cmd5>
#
# Let a user initiate specific instant commands.  Use "ALL" to grant all
# commands automatically.  Here are a few instant commands.  For the full
# list, see include/shared-tables.h.  Repeat the INSTCMDS <username> line
# to add more than 5 to a given user.
#
# FPTEST	- Front panel test
# BTEST0	- Stop battery test
# BTEST1	- Start battery test
# CAL0		- Stop calibration
# CAL1		- Start calibration
#
# Example:
# INSTCMDS admin all