RAZOR-ADMIN(1)
π razor-admin(1) β the glow-up β¨
okay so first things first: this is a page from the User Contributed Perl Documentation set, and the star of the show is razor-admin, bestie. buckle up π
πΈ NAME πΈ
razor-admin β the Razor Registering Agent. literally the admin-y one π«Ά
β¨ SYNOPSIS β¨
razor-admin [options] [ -register | -create | -discover ]
π DESCRIPTION π
razor-admin is the Razor Agent that handles the administrative stuff β and most importantly, registering (-register). it's giving backstage-pass energy π
π¦ USAGE π¦
razor-admin must have one of these arguments, no exceptions, periodt:
-registerβ registers a new identity, which is what you use to authenticate with the Razor Nomination Servers. an identity is a user + password pair stored in<razorhome>/identity-<user>. the first timerazor-admin -registerexits successfully, a symlink calledidentitygets created pointing at the activeidentity-<user>file. after that you can totally make new identities, but to actually use one you gotta repoint theidentitysymlink at it, iykyk. honestly? just call it once from the command line and move on. exits0for success, exits1on failure with a human-readable output message π
so here's the tea: both razor-report(1) and razor-revoke(1) need user authentication to work β razor-check(1) does not. that's how the Razor Nomination Server keeps track of how many messages a user reports and revokes. the more messages a user correctly reports and/or correctly revokes, the more trust that user earns. and likewise, when messages get incorrectly reported or revoked, that user's trust goes down. highly trusted users have the most affect on the Razor database β main character energy fr fr π
-discoverβ forces discovery. this createsserver.*.lstfiles in<razorhome>. cute little files, slay π-createβ explicitly creates therazor-agent.conffile in<razorhome>, and also<razorhome>itself if it doesn't already exist. normally it loads/etc/razor/razor-agent.confif that exists, using defaults for anything it doesn't find. it does not attempt to register with the server, but it will do discovery β see-discoverabove π
π OPTIONS π
razor-admin takes the following optional arguments:
-hβ print a usage message and exit.-vβ print the version number and exit.-d|--verboseβ print debugging information. yes bestie, show us everything π-debuglevel=n|-dl=nβ set the debug level to n. default is3without the-doption, and9with it.-sβ simulate a check. do everything except talk to the server. fake it till you make it π-conf=filenameβ specifies an alternate configuration file. if you don't specify one, it's computed β see the razor-agents(1) manpage for the details. and see the razor-agent.conf(5) manpage for the various configuration options. the default is<razorhome>/razor-agent.conf.-home=directoryβ specify the razorhome directory. this is where the configuration file, logfiles, identities, and server files live. if not specified, it's computed β see razor-agents(1) for the details. π-logfile=fileβ specify a file to log to instead of whatever's in the configuration file. the default is<razorhome>/razor-agent.log.-ident=filenameβ specify an identity file to use for storing a newly registered identity. if not specified,<razorhome>/identity-<user>is used.-rs=razor.server.comβ use this Razor Nomination Server instead of readingservers.nomination.lst.-user=user@domain.comβ request to be known as this username. must be less than64chars and may containA-Z,a-z,0-9, as well printable chars [ex:- _ @ . + /]. if not specified, a username will be assigned. Razor users are encouraged to use their email addresses as their usernames. π§-pass=passwordβ request this password. valid chars are the same as for-user. if not specified, it will be assigned. π-lβ the identity created during thisrazor-adminrun becomes the default. normally, the first identity file created byrazor-adminis the default one used.
π EXAMPLES π
razor-admin -d -createβ with no global razorhome defined (that's the default) in/etc/razor/razor-agents.conf, this creates the.razordirectory in the user's home directory. but with a global razorhome defined in/etc/razor/razor-agents.conf, it'll try to use that one instead β and it will fail if that one doesn't have the correct permissions πrazor-admin -registerβ registers a new identity, storing it in<lt>razorhome<gt>. the user and pass will be server generated. an identity is required for razor-report(1) and razor-revoke(1) π«‘razor-admin -register -user me@a.comβ attempts to register a new identity using the username'me\@a.com'. will fail if that user is already taken. no stealing, bestie πrazor-admin -d -create -home=/home/me/.razorβ creates the.razordirectory in the user's home directory, which then becomes the default home unless you specify otherwise from the cmd-line. sends debugging information to stdout, and does not talk to any Razor Servers π§razor-admin -d -create -home=/etc/razorβ creates the global razorhome,/etc/razor. this is the magic directory that gets consulted if no razorhome is specified on the cmd-line or found in the user's home directory β¨
π AUTHORS π
Vipul Ved Prakash <mail@vipul.net>, and Chad Norwood <chad@samo.org> β legends, honestly π
π SEE ALSO π
razor-agents(1), razor-agent.conf(5), razor-check(1), razor-report(1), razor-revoke(1), razor-whitelist(5)
β LICENSE β
This is free software, distributed under the Artistic License 2.0. iconic behavior π
and that's the whole page, bestie β brought to you by perl v5.44.0, dated 2026-10-17. mwah π RAZOR-ADMIN(1) forever π¦
π¦ where this page comes from
- arch rolling: razor 2.88-2 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms