1RAZOR-ADMIN(1) User Contributed Perl Documentation RAZOR-ADMIN(1)
2
3
4
6 "razor-admin" - Razor Registering Agent
7
9 razor-admin [options] [ -register | -create | -discover ]
10
12 "razor-admin" is the Razor Agent that performs administrative
13 functions, most notably registering (-register)
14
16 "razor-admin" must have one of the following arguments:
17
18 "-register"
19 Registers a new identity, used for authenticating with Razor
20 Nomination Servers. Identities are a user + password pair stored
21 in "<razorhome>/identity-<user>". The first time "razor-admin
22 -register" exits successfully, a symlink "identity" is created to
23 point to the active "identity-<user>" file. After that, new
24 identities can be created, but in order to use them the symlink
25 "identity" must be changed to point to them. In general, it should
26 be called once from the command line. Exits 0 for success, exits 1
27 on failure with a human-readable output message.
28
29 Both razor-report(1) and razor-revoke(1) require user
30 authentication to work, razor-check(1) does not. This allows the
31 Razor Nomination Server to keep track of how many messages a user
32 reports and revokes. The more messages a user correctly reports
33 and/or correctly revokes, the more trust the user earns. Likewise,
34 when messages are incorrectly reported or revoked, the trust goes
35 down for that user. Highly trusted users will have the most affect
36 on the Razor database.
37
38 "-discover"
39 Force discovery. This will create "server.*.lst" files in
40 <razorhome>.
41
42 "-create"
43 Explicitly creates "razor-agent.conf" file in <razorhome>, as well
44 as <razorhome> if it does not exist. Normally loads
45 "/etc/razor/razor-agent.conf" if it exists, using defaults for
46 anything not found. Does not attempt to register with server, but
47 will do discovery, see "-discover".
48
50 "razor-admin" takes following optional arguments:
51
52 "-h"
53 Print a usage message and exit.
54
55 "-v"
56 Print the version number and exit.
57
58 "-d | --verbose"
59 Print debugging information.
60
61 "-debuglevel=n | -dl=n"
62 Set debug level to 'n'. Default is 3 without "-d" option, 9 with.
63
64 "-s"
65 Simulate a check. Do everything except talk to the server.
66
67 "-conf=filename"
68 Specifies an alternate configuration file. If not specified, it is
69 computed, see razor-agents(1) manpage for details. See
70 razor-agent.conf(5) manpage for various configuration options. The
71 default is "<razorhome>/razor-agent.conf".
72
73 "-home=directory"
74 Specify razorhome directory. This is where the configuration file,
75 logfiles, identities, and server files live. If not specified, it
76 is computed, see razor-agents(1) manpage for details.
77
78 "-logfile=file"
79 Specify file to log to instead of what is in the configuration
80 file. The default is "<razorhome>/razor-agent.log".
81
82 "-ident=filename"
83 Specify an identify file to use for storing a newly registered
84 identity. If not specified, "<razorhome>/identity-<user>" is used.
85
86 "-rs=razor.server.com"
87 Use this Razor Nomination Server instead of reading
88 "servers.nomination.lst".
89
90 "-user=user@domain.com"
91 Request to be known as this username. Must be less than 64 chars
92 and may contain A-Z, a-z, 0-9, as well printable chars [ex: - _ @ .
93 + / ]. If not specified, a username will be assigned. Razor users
94 are encouraged to use their email addresses as their username.
95
96 "-pass=password"
97 Request this password. Valid chars are the same as for -user. If
98 not specified, it will be assigned.
99
100 "-l"
101 The identity created during this "razor-admin" becomes the default.
102 Normally, the first identity file created by "razor-admin" is the
103 default one used.
104
106 razor-admin -d -create
107 With no global razorhome defined (default) in
108 /etc/razor/razor-agents.conf, creates .razor directory in user's
109 home directory.
110
111 With global razorhome defined in /etc/razor/razor-agents.conf, will
112 try to use that one, will fail if it does not have correct
113 permissions.
114
115 razor-admin -register
116 Registers a new identity, storing it in <lt>razorhome<gt>. User
117 and pass will be server generated. An identity is required for
118 razor-report(1) and razor-revoke(1).
119
120 razor-admin -register -user me@a.com
121 Attempts to register a new identity using the user name
122 'me\@a.com'. Will fail if user is already taken.
123
124 razor-admin -d -create -home=/home/me/.razor
125 Creates .razor directory in user's home directory, which will then
126 be the default home unless specified from cmd-line. Sends
127 debugging information to stdout, and does not talk to any Razor
128 Servers.
129
130 razor-admin -d -create -home=/etc/razor
131 Creates global razorhome, /etc/razor. This is the magic directory
132 that will be consulted if no razorhome is specified on the cmd-line
133 or found in user's home directory.
134
136 Vipul Ved Prakash <mail@vipul.net>, and Chad Norwood <chad@samo.org>
137
139 razor-agents(1), razor-agent.conf(5), razor-check(1), razor-report(1),
140 razor-revoke(1), razor-whitelist(5)
141
143 This is free software, distributed under the Artistic License 2.0.
144
145
146
147perl v5.32.0 2020-07-28 RAZOR-ADMIN(1)