RAZOR-ADMIN(1p)
π RAZOR-ADMIN π
okay so bestie, this is razor-admin β the Razor Registering Agent β¨ (and yeah, it's a perl thing, user-contributed, we love her for that)
πΈ SYNOPSIS πΈ
razor-admin [options] [ -register | -create | -discover ]
π DESCRIPTION π
razor-admin is the Razor Agent that does the administrative stuff β the backstage, main-character, behind-the-scenes work π β and most notably, it registers you (-register). It's giving "manager of the group chat" energy.
π¦ USAGE π¦
razor-admin must have one of these arguments, no exceptions bestie:
-registerβ Registers a new identity, which is what you use to authenticate with Razor Nomination Servers. An identity is literally just a user + password pair, and it lives at<razorhome>/identity-<user>π«Ά. The very first timerazor-admin -registerexits successfully, a symlink calledidentitygets created to point at the activeidentity-<user>file. After that you can make new identities, but to actually use them you have to change theidentitysymlink to point at them. Realistically? You call this once from the command line. Exits0on success π, exits1on failure with a human-readable output message π.
So here's the tea: both razor-report(1) and razor-revoke(1) require user authentication to work, but razor-check(1) does not. Why does that matter? Because it lets the Razor Nomination Server keep track of how many messages a user reports and revokes. The more messages you correctly report and/or correctly revoke, the more trust you earn π. And likewise, when messages are incorrectly reported or revoked, the trust goes down for that user π. Highly trusted users will have the most affect on the Razor database. slay responsibly.
-discoverβ Force discovery. This will createserver.*.lstfiles in <razorhome>. that's it, that's the whole vibe β¨-createβ Explicitly creates therazor-agent.conffile in <razorhome>, and also creates <razorhome> itself if it does not exist. Normally it loads/etc/razor/razor-agent.confif that file exists, and uses defaults for anything not found. It does not attempt to register with server, but it will do discovery β see-discoverabove π
π OPTIONS π
razor-admin takes the following optional arguments:
-hβ Print a usage message and exit. bye π-vβ Print the version number and exit. β¨-d | --verboseβ Print debugging information. the receipts, if you will π§Ύ-debuglevel=n | -dl=nβ Set debug level to 'n'. Default is3without the-doption, and9with it. dial it up, dial it down π-sβ Simulate a check. Do everything except talk to the server. practicing your lines, iconic π-conf=filenameβ Specifies an alternate configuration file. If not specified, it is computed β see razor-agents(1) manpage for details. See 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 is computed β see razor-agents(1) manpage for 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 as printable chars [ex:- _ @ . + /]. If not specified, a username will be assigned. Razor users are encouraged to use their email addresses as their username π§ (iykyk).-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-adminbecomes the default. Normally, the first identity file created byrazor-adminis the default one used. the way she said "I'm the main character now" π
π EXAMPLES π
razor-admin -d -create
With no global razorhome defined (the default) in /etc/razor/razor-agents.conf, this creates a .razor directory in the user's home directory.
With a global razorhome defined in /etc/razor/razor-agents.conf, it will try to use that one β and will fail if it does not have 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 user name me\@a.com. Will fail if the user is already taken π
razor-admin -d -create -home=/home/me/.razor
Creates a .razor directory in the user's home directory, which will then be the default home unless it's specified from the cmd-line. Sends debugging information to stdout, and does not talk to any Razor Servers. so demure β¨
razor-admin -d -create -home=/etc/razor
Creates the global razorhome, /etc/razor. This is the magic directory πͺ that will be 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>
the OGs, we stan π«Ά
πΈ 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.
and that's the whole page bestie, no cap π go register something, you got this π¦
mwah π β this was perl v5.40.1, dated 2025-05-24, and it's the RAZOR-ADMIN(1p) page from the user contributed Perl documentation. periodt. π
β¨
π¦ where this page comes from
- debian trixie: razor 1:2.85-11
- ubuntu questing: razor 1:2.85-11
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms