version 2 showing authors affecting page license.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
UPSD.USERS |
|
|
2 |
!!!UPSD.USERS |
|
|
3 |
NAME |
|
|
4 |
DESCRIPTION |
|
|
5 |
FIELDS |
|
|
6 |
NEW FORMAT |
|
|
7 |
SEE ALSO |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
upsd.users - Administrative user definitions for NUT upsd |
|
|
13 |
!!DESCRIPTION |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
Administrative commands such as setting variables and the |
|
|
17 |
instant commands are powerful, and access to them needs to |
|
|
18 |
be restricted. This file defines who may access them, and |
|
|
19 |
what is available. |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
Each user gets its own section. The fields in that section |
|
|
23 |
set the parameters associated with that user's privileges. |
|
|
24 |
The section begins with the name of the user in brackets, |
|
|
25 |
and continues until the next user name in brackets or |
|
|
26 |
EOF. |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
Two example entries might look like this: |
|
|
30 |
|
|
|
31 |
|
|
|
32 |
[[admin] |
|
|
33 |
password = mypass |
|
|
34 |
allowfrom = admworkstation admhome |
|
|
35 |
actions = set |
|
|
36 |
instcmds = all |
|
|
37 |
[[pfy] |
|
|
38 |
password = duh |
|
|
39 |
allowfrom = gameosbox |
|
|
40 |
instcmds = fptest |
|
|
41 |
!!FIELDS |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
password |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
Set the password for this user. |
|
|
48 |
|
|
|
49 |
|
|
|
50 |
allowfrom |
|
|
51 |
|
|
|
52 |
|
|
|
53 |
Grant access to the user based on the source IP address. The |
|
|
54 |
values for this field are the names of your ACLs in the |
|
|
55 |
ups.conf(5). |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
actions |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
Allow the user to do certain things with upsd. Valid actions |
|
|
62 |
are: |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
SET - change the value of certain variables in the |
|
|
66 |
UPS |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
The list of actions is expected to grow in the |
|
|
70 |
future. |
|
|
71 |
|
|
|
72 |
|
|
|
73 |
instcmds |
|
|
74 |
|
|
|
75 |
|
|
|
76 |
Let a user initiate specific instant commands. Use |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
FPTEST - Front panel test |
|
|
80 |
|
|
|
81 |
|
|
|
82 |
BTEST0 - Stop battery test |
|
|
83 |
|
|
|
84 |
|
|
|
85 |
BTEST1 - Start battery test |
|
|
86 |
|
|
|
87 |
|
|
|
88 |
CAL0 - Stop calibration |
|
|
89 |
|
|
|
90 |
|
|
|
91 |
CAL1 - Start calibration |
|
|
92 |
!!NEW FORMAT |
|
|
93 |
|
|
|
94 |
|
|
|
95 |
This file's format had to be forcibly changed to dump an |
|
|
96 |
evil and confusing scheme that required duplicating elements |
|
|
97 |
far too often. |
|
|
98 |
|
|
|
99 |
|
|
|
100 |
upsd(8) doesn't know how to parse the old format. |
|
|
101 |
Once you install the new upsd, you must rewrite this file to |
|
|
102 |
use the new section-based style as documented |
|
|
103 |
above. |
|
|
104 |
!!SEE ALSO |
|
|
105 |
|
|
|
106 |
|
|
|
107 |
upsd(8) |
|
|
108 |
|
|
|
109 |
|
|
|
110 |
__Internet resources:__ |
|
|
111 |
|
|
|
112 |
|
|
|
113 |
The NUT (Network UPS Tools) home page: |
|
|
114 |
http://www.exploits.org/nut/ |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
NUT mailing list archives and information: |
|
|
118 |
http://lists.exploits.org/ |
|
|
119 |
---- |