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 func‐
13 tions, 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 Nomi‐
20 nation Servers. Identities are a user + password pair stored in
21 "<razorhome>/identity-<user>". The first time "razor-admin -regis‐
22 ter" exits successfully, a symlink "identity" is created to point
23 to the active "identity-<user>" file. After that, new identities
24 can be created, but in order to use them the symlink "identity"
25 must be changed to point to them. In general, it should be called
26 once from the command line. Exits 0 for success, exits 1 on failure
27 with a human-readable output message.
28
29 Both razor-report(1) and razor-revoke(1) require user authentica‐
30 tion to work, razor-check(1) does not. This allows the Razor Nomi‐
31 nation Server to keep track of how many messages a user reports and
32 revokes. The more messages a user correctly reports and/or cor‐
33 rectly revokes, the more trust the user earns. Likewise, when mes‐
34 sages are incorrectly reported or revoked, the trust goes down for
35 that user. Highly trusted users will have the most affect on the
36 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 any‐
46 thing 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 "servers.nomi‐
88 nation.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 permis‐
113 sions.
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 debug‐
127 ging information to stdout, and does not talk to any Razor Servers.
128
129 razor-admin -d -create -home=/etc/razor
130 Creates global razorhome, /etc/razor. This is the magic directory
131 that will be consulted if no razorhome is specified on the cmd-line
132 or found in user's home directory.
133
135 Vipul Ved Prakash <mail@vipul.net>, and Chad Norwood <chad@samo.org>
136
138 razor-agents(1), razor-agent.conf(5), razor-check(1), razor-report(1),
139 razor-revoke(1), razor-whitelist(5)
140
142 This is free software, distributed under the ARTISTIC license.
143
144
145
146perl v5.8.8 2002-07-26 RAZOR-ADMIN(1)