nethsm-user-remove(1)

πŸ“¦ version 0.10.0, in arch rolling

πŸ’… nethsm-user-remove β€” the nethsm user remove command, bestie

okay so this is the page for nethsm-user-remove from the General Commands Manual β€” it's the little doc that tells you all about the nethsm user remove command. like, literally the whole personality of the command in one place. you're gonna remove a user from a Nitrokey NetHSM and it's gonna be clean 🧚


✨ SYNOPSIS ✨

nethsm user remove [-a|--auth-passphrase-file] [-c|--config]
[-l|--label] [-u|--user] [-h|--help] <NAME>

that's the whole vibe. name goes at the end, flags go wherever. slay.


🌸 DESCRIPTION 🌸

The "nethsm user remove" command. yes bestie that is genuinely the entire description in the original and we are not out here inventing lore πŸ’€ it removes a user, that's the tea.


πŸŽ€ OPTIONS πŸŽ€

okay this is the part where you actually pay attention because every single one of these matters πŸ‘‘

  • -a, --auth-passphrase-file <AUTH_PASSPHRASE_FILE> β€” the path to a file containing a passphrase for authentication πŸ”

the passphrase inside that file has gotta be the one for the user you picked for this command. like, it has to match, no cap.

this option can be provided multiple times, and you'll need that for commands that require multiple roles at once. when you do pass multiple passphrase files, ordering matters β€” the files get assigned to the respective user given by the "--user" option, in order. so don't be out here shuffling them around πŸ™ˆ

may also be specified with the NETHSM_AUTH_PASSPHRASE_FILE environment variable.

  • -c, --config <CONFIG> β€” the path to a custom configuration file πŸ—‚οΈ

if you specify it, that custom config file gets used instead of the default configuration file location. simple as that.

may also be specified with the NETHSM_CONFIG environment variable.

  • -l, --label <LABEL> β€” a label uniquely identifying a device in the configuration file 🏷️

must be provided if more than one device is set up in the configuration file. yes, must β€” it's not optional in that case, bestie.

may also be specified with the NETHSM_LABEL environment variable.

  • -u, --user <USER> β€” a user name which is used for a command πŸ‘€

can be provided if there's no user name set up in the configuration file for a device. must be provided if several user names of the same target role are set up in the configuration file for a device.

this option can be provided multiple times, which is needed for commands that require multiple roles at once.

may also be specified with the NETHSM_USER environment variable.

  • -h, --help β€” print help (see a summary with '-h') 🫢
  • <NAME> β€” the name of the user to remove πŸ—‘οΈ

may also be specified with the NETHSM_USER_NAME environment variable.


πŸ’€ friendly reminder that ordering of multiple --auth-passphrase-file values is load-bearing β€” they line up with the users from --user positionally. get that wrong and it's giving chaos.

okay that's the whole page, you're all caught up ✨ this was nethsm-user-remove, sittin' pretty under the nethsm-user-remove(1) manual page, coming at you from the General Commands Manual section. bye bestie, go remove that user πŸ¦‹πŸ’–

πŸ“¦ where this page comes from