File: upsd.users

package info (click to toggle)
nut 0.45.5-rel-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,984 kB
  • ctags: 2,146
  • sloc: ansic: 22,216; sh: 1,138; makefile: 405
file content (56 lines) | stat: -rw-r--r-- 1,856 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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.

# This file recently changed formats.  If your current file doesn't
# have any of this bracket based [section] stuff going on, you probably
# need to convert to this format.

# Each user gets a section.  To start a section, put the username in
# brackets on a line by itself.  To set something for that user, specify
# it under that section heading.  The username is case-sensitive, so
# admin and AdMiN are two different users.
#
# Possible settings:
#
# password: The user's password.  This is case-sensitive.
#
# --------------------------------------------------------------------------
#
# allowfrom: ACL names that this user may connect from.  ACLs are
#            defined in upsd.conf.
#
# --------------------------------------------------------------------------
#
# actions: Let the user do certain things with upsd.  
# 
# Valid actions are:
#
# SET	- change the value of certain variables in the UPS
#
# --------------------------------------------------------------------------
#
# instcmds: Let the 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.  
#
# FPTEST	- Front panel test
# BTEST0	- Stop battery test
# BTEST1	- Start battery test
# CAL0		- Stop calibration
# CAL1		- Start calibration
#
# --------------------------------------------------------------------------
#
# Example:
#
#	[admin]
#		password = mypass
#		allowfrom = admworkstation admhome
#		actions = SET
#		instcmds = ALL
#
#