lemano init
Create the store and its key
Description
Create the store and the key file that seals it.
The key file is written to $XDG_CONFIG_HOME/lemano/key (default
~/.config/lemano/key) with mode 0600; an existing key file is used, never
replaced. With LEMANO_PASSPHRASE set, the store is sealed by that
passphrase instead and no key file is written. An existing store is never
replaced.Synopsis
lemano initExamples
lemano init
lemano --store /var/lib/lemano/lemano.db initFlags inherited from parent commands
| Flag | Type | Default | Description |
|---|---|---|---|
--log-level | string | warn | log level on standard error: debug, info, warn or error |
--no-color | never colour the text (colour is also off when $NO_COLOR is set, when $TERM is dumb and when the output is not a terminal; $FORCE_COLOR turns it on, over $NO_COLOR) | ||
--password-prompt | ask on the terminal for the login password of each target whose file names none | ||
--ssh-config | string | ssh configuration file that targets’ connection settings are read from, or none to read none (default $LEMANO_SSH_CONFIG, else the files ssh reads) | |
--store | string | path of the store (default $LEMANO_STORE, else $XDG_DATA_HOME/lemano/lemano.db) | |
--sudo-password-prompt | ask on the terminal for the sudo password of each target whose file names none |
Exit codes
See exit codes.
See also
- lemano: the parent command