Configuration file reference
============================
The configuration file is formatted in XML and subdivided in 4 sections:
* Default options, shared among every device, user and service
* Devices declaration and settings
* Users declaration and settings
* Services declaration and settings
The syntax is the following:
```xml
```
Options
-------
Name
Type
Default
Description
enable
Boolean
true
Enable pam_usb
debug
Boolean
false
Enable debug messages
quiet
Boolean
false
Quiet mode
color_log
Boolean
true
Enable colored output
one_time_pad
Boolean
true
Enable the use of one time pads
deny_remote
Boolean
true
Deny access from remote host (ssh)
probe_timeout
Time
10s
Time to wait for the volume to be detected
pad_expiration
Time
1h
Time between pads regeneration
hostname
String
Computer's hostname
Must be unique accross computers using the same device
system_pad_directory
String
.pamusb
Relative path to the user's home used to store one time pads
device_pad_directory
String
.pamusb
Relative path to the device used to store one time pads
Example:
```xml
```
Location of the configuration file
----------------------------------
By default, pam_usb.so and its tools will look for the configuration file at `/etc/security/pam_usb.conf`.
If you want to use a different location, you will have to use the `-c` flag.
# /etc/pam.d/common-auth
auth sufficient pam_usb.so -c /some/other/path.conf
auth required pam_unix.so nullok_secure
You will also have to use the -c option when calling pam_usb's tools.
pamusb-agent -c /some/other/path.conf