Skip to content

Add add null_usersfile_okay parameter and check for gengetopt cli

Luna requested to merge Lunarequest/oath-toolkit:master into master

the first commit adds a check for gengetopt cli to the project similar to help2man, I noticed there wasn't a check when i tried building and the build failed without an explanation. The second commit adds a null_userfile_okay parameter. This is useful when you configure the usersfile to be in the home directory of the logging-in user like usersfile=${HOME}/.pam_oath_usersfile, if you'd still like to retain the user_unknown=ignore behavior you need to at least create an empty .pam_oath_usersfile. The by setting null_userfile_okay to 1 you retain the behavior of user_unknown=ignore if the file does not exist. This does have security implications and hence is disabled by default

Merge request reports

Loading