tokenadm(8)

tokenadm8

Manage the activcard, cryptocard and snk-004 token databases

Usage

tokenadm [-1BDdEeRrT] [-m [-] mode] [user ...]

Overview

The tokenadm utility displays and edits user entries in the various token databases. It may also be invoked as one the following: activadm, cryptoadm, or snkadm.

The options are as follows:

-1

Display users, one per line.

-B

Display users with no banner.

-D

Display disabled users.

-d

Disable users without removing them from the database. This prevents the users from authenticating, but does not lose their shared secret. The -m flag may also be used with the -d flag.

-E

Display enabled users.

-e

Enable users. This should be used to re-enable users who were disabled by the -d flag. The -m flag may also be used with the -e flag.

-m

[-]mode Add [or remove] the specified mode of authentication for the user. Modes available are decimal (dec), hexadecimal (hex), phonebook (phone), and reduced-input (rim). Not all modes are available for all types of cards. The -m flag may be used alone or in conjunction with either the -d or -e flags. Whenever reduced-input mode is set, the reduced-input state is reset. This should be done if a paper copy of challenge/responses had been produced and then misplaced.

-R

Display users in reverse order.

-r

Remove users from the database.

-T

Display users in terse format (only the user names). Unless -1 is also specified, four users will be displayed per line.

Use of any of the -1BDERT flags precludes the use of any of the -demr flags. The -demr flags all require at least one user argument.

Releases

52 releases since OpenBSD 3.0; the text changed 3 times.

  1. 3.0–3.2
  2. 3.3–4.1
  3. 4.2–7.0
  4. 7.1–8.0

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.