~ubuntu-branches/ubuntu/saucy/nut/saucy

« back to all changes in this revision

Viewing changes to conf/upsd.users

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Quette
  • Date: 2004-05-28 13:10:01 UTC
  • mto: (16.1.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040528131001-yj2m9qcez4ya2w14
Tags: upstream-1.4.2
ImportĀ upstreamĀ versionĀ 1.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Network UPS Tools: Example upsd.users
2
2
#
3
 
# This file sets the permissions for the information server upsd.  Users
4
 
# are defined here, are given passwords, and their privileges are controlled
5
 
# here too.  As this file will contain passwords, keep it secure, with only
6
 
# enough permissions so that upsd can access it.
 
3
# This file sets the permissions for upsd - the UPS network daemon.
 
4
# Users are defined here, are given passwords, and their privileges are
 
5
# controlled here too.  Since this file will contain passwords, keep it
 
6
# secure, with only enough permissions for upsd to read it.
7
7
 
8
 
# This file recently changed formats.  If your current file doesn't
9
 
# have any of this bracket based [section] stuff going on, you probably
10
 
# need to convert to this format.
 
8
# --------------------------------------------------------------------------
11
9
 
12
10
# Each user gets a section.  To start a section, put the username in
13
11
# brackets on a line by itself.  To set something for that user, specify
30
28
# Valid actions are:
31
29
#
32
30
# SET   - change the value of certain variables in the UPS
33
 
#
 
31
# FSD   - set the "forced shutdown" flag in the UPS
 
32
34
33
# --------------------------------------------------------------------------
35
34
#
36
35
# instcmds: Let the user initiate specific instant commands.  Use "ALL"
37
 
# to grant all commands automatically.  Here are a few instant
38
 
# commands.  For the full list, see include/shared-tables.h.  
 
36
# to grant all commands automatically.  There are many possible  
 
37
# commands, so use 'upscmd -l' to see what your hardware supports.  Here
 
38
# are a few examples:
39
39
#
40
 
# FPTEST        - Front panel test
41
 
# BTEST0        - Stop battery test
42
 
# BTEST1        - Start battery test
43
 
# CAL0          - Stop calibration
44
 
# CAL1          - Start calibration
 
40
# test.panel.start      - Start a front panel test
 
41
# test.battery.start    - Start battery test
 
42
# test.battery.stop     - Stop battery test
 
43
# calibrate.start       - Start calibration
 
44
# calibrate.stop        - Stop calibration
45
45
#
46
46
# --------------------------------------------------------------------------
47
47
#
53
53
#               actions = SET
54
54
#               instcmds = ALL
55
55
#
56
 
#
 
56
 
 
57
#
 
58
# --- Configuring for upsmon
 
59
#
 
60
# To add a user for your upsmon, use this example:
 
61
#
 
62
#       [monuser]
 
63
#               password  = pass
 
64
#               allowfrom = bigserver
 
65
#
 
66
#               upsmon master                   (or upsmon slave)
 
67
#
 
68
# The matching MONITOR line in your upsmon.conf would look like this:
 
69
#
 
70
# MONITOR myups@myhost 1 monuser pass master    (or slave)