Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tokenadmin(8) [mojave man page]

tokenadmin(8)						    BSD System Manager's Manual 					     tokenadmin(8)

NAME
tokenadmin -- Command-line interface to smartcards and other token-based keychains SYNOPSIS
tokenadmin [-hqv] command [command_options] [command_args] DESCRIPTION
A command-line tool to administer smartcards and other token-based keychains. OPTIONS
-h With no arguments, shows a list of all commands. If arguments are provided, shows usage for each of the specified commands. Same as the help command. -q Makes tokenadmin less verbose. -v Makes tokenadmin more verbose. COMMANDS
Note: all commands other than help take the -h option to display help. help Shows all commands. create-fv-user -u short-name -l long-name [-p password] Creates a new FileVaulted user protected by the inserted smart card or token. Options: -u short-name Specify the short (i.e., login) name to be used for the account. -l long-name Specify the full name to be used for the account. If the full name contains spaces, the name must be enclosed by quotation marks. -p password Password for the user's login keychain (optional). EXAMPLE
tokenadmin create-fv-user -u fvtest3 -p foo -l "FV Test User 3" Create a new FileVaulted user with short name "fvtest3" and full name "FV Test User 3", with the new FileVault image being protected by the inserted token. The password for the user's login keychain is "foo". Note: after creating this user with tokenadmin, you must run "sc_auth accept -u fvtest3" or this user will not be able to log in. SEE ALSO
security(1), sc_auth(8), systemkeychain(8) NOTES
tokenadmin will eventually be merged into the security(1) command. Darwin June 1, 2019 Darwin

Check Out this Related Man Page

NETRC(5)						      BSD File Formats Manual							  NETRC(5)

NAME
netrc, .netrc -- user configuration for ftp DESCRIPTION
This file contains configuration and autologin information for the File Transfer Protocol client ftp(1). The .netrc file contains login and initialization information used by the auto-login process. It resides in the user's home directory. The following tokens are recognized; they may be separated by spaces, tabs, or new-lines: machine name Identify a remote machine name. The auto-login process searches the .netrc file for a machine token that matches the remote machine specified on the ftp command line or as an open command argument. Once a match is made, the subsequent .netrc tokens are processed, stopping when the end of file is reached or another machine or a default token is encountered. default This is the same as machine name except that default matches any name. There can be only one default token, and it must be after all machine tokens. This is normally used as: default login anonymous password user@site thereby giving the user automatic anonymous ftp login to machines not specified in .netrc. This can be overridden by using the -n flag to disable auto-login. login name Identify a user on the remote machine. If this token is present, the auto-login process will initiate a login using the specified name. password string Supply a password. If this token is present, the auto-login process will supply the specified string if the remote server requires a password as part of the login process. Note that if this token is present in the .netrc file for any user other than anonymous, ftp will abort the auto-login process if the .netrc is readable by anyone besides the user. account string Supply an additional account password. If this token is present, the auto-login process will supply the specified string if the remote server requires an additional account password, or the auto-login process will initiate an ACCT command if it does not. macdef name Define a macro. This token functions like the ftp macdef command functions. A macro is defined with the specified name; its con- tents begin with the next .netrc line and continue until a null line (consecutive new-line characters) is encountered. If a macro named init is defined, it is automatically executed as the last step in the auto-login process. SEE ALSO
ftp(1), ftpd(8) Linux NetKit (0.17) September 23, 1997 Linux NetKit (0.17)
Man Page