YAPET_CONFIG(5) | File Formats | YAPET_CONFIG(5) |
NAME¶
yapet_config - format of YAPET configuration fileDESCRIPTION¶
yapet(1) reads the configuration file $HOME/.yapet if it exists unless a different file is specified by using the -r option (see yapet(1)). Options given on the command line override options given in a configuration file.The configuration file has the following syntax:
option=value
where option can be any of the following:
colors
load
Equivalent to providing a filename when invoking yapet.
A ~ (tilde) sign as the first character of the pathname will be replaced by the home directory of the user running yapet.
Default: not set
locktimeout
Equivalent to providing the -t option when invoking yapet.
Default: 600
pwinputtimeout
Default: 60
allowlockquit
Default: true
checkfsecurity
Equivalent to providing the -S (same as true) or -s (same as false) options when invoking yapet.
Default: true
pwgen_rng
devrandom
devurandom
Using this random number generator will not block as opposite to /dev/random.
lrand48
rand
If the random number generator requested is not available on the system, yapet takes the next best random number generator.
Default: devurandom
pwgen_pwlen
Default: 15
pwgen_letters
Default: true
pwgen_digits
Default: true
pwgen_punct
Default: true
pwgen_special
Default: true
pwgen_other
Default: false
For Boolean values, 1, yes, true, enable, and enabled denote true. 0, false, no, disable, disabled denote false. Please note, Boolean values are case-sensitive.
See the section called “EXAMPLES” for examples of configuration files.
EXAMPLES¶
Example 1. Example of an yapet configuration fileload=/home/joe/passwords locktimeout=300 checkfsecurity=0 pwgen_pwlen=8
In this example, the file /home/joe/passwords will be loaded upon invocation of yapet. The timeout until the screen is locked is set to 300 seconds. File permissions will not be verified.
The Password Generator Dialog will have preset the Password Length to 8 characters.
Example 2. Example of an yapet configuration file
locktimeout=150 checkfsecurity=yes pwgen_other=enable
In this example, no file will be automatically loaded upon invocation of yapet. The timeout until the screen is locked is set to 150 seconds. File permissions and owner will be verified.
The Password Generator Dialog will have preset the Other check box checked.
Example 3. Example 1 revisited
load=~/passwords.pet locktimeout=300 checkfsecurity=false pwgen_pwlen=8
This example has the same effect as Example 1, “Example of an yapet configuration file”. But instead of specifying the full path to the home directory, the ~ (tilde) sign is used, which is expanded to the home directory automatically. The .pet suffix can be specified, but if omitted it will be appended automatically.
FILES¶
$HOME/.yapetProcessing of this file can be disabled by invoking yapet with the -i option.
AUTHOR¶
Rafael Ostertag rafi@guengel.chSEE ALSO¶
yapet(1), yapet_colors(5)COPYRIGHT¶
Copyright © 2008, 2009, 2010, 2011, 2013, 2014 Rafael Ostertag <rafi@guengel.ch>02/23/2014 | yapet 1.0 |