config.security.oath: new module

Add a module to make options to pam_oath module configurable.
These are:
 - enable - enable the OATH pam module
 - window - number of OTPs to check
 - digits - length of the OTP (adds support for two-factor auth)
 - usersFile - filename to store OATH credentials in
This commit is contained in:
Michael Raitza 2016-02-24 21:41:02 +00:00
parent bd9f128cc2
commit d09c7986de
3 changed files with 55 additions and 13 deletions

View file

@ -93,6 +93,7 @@
./security/ca.nix
./security/duosec.nix
./security/grsecurity.nix
./security/oath.nix
./security/pam.nix
./security/pam_usb.nix
./security/pam_mount.nix