Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pam_biometrics manpage #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions man/pam_biometrics.8
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
.\"
.\" Copyright (c) 2023 Procursus Team <[email protected]>
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
.Dd February 27, 2023
.Dt PAM_BIOMETRICS 8
.Os
.Sh NAME
.Nm pam_biometrics
.Nd PAM module for FaceID/TouchID authentication
.Sh SYNOPSIS
.Op Ar service-name
.Ar function-class
.Ar control-flag
pam_biometrics
.Op Ar options
.Sh DESCRIPTION
.Nm pam_biometrics
is a PAM module that allows users to authenticate with FaceID or TouchID.
.Pp
The following options can be used to set up
.Nm pam_biometrics :
.Bl -tag -width -indent
.It Sy timeout
Set a timeout period for authentication, in seconds.
.It Sy prompt
Set the given prompt as a message when authenticating.
.It Sy disableonssh
Disable the PAM module when used over SSH.
.It Sy allowwatch
Make use of your Apple Watch for authentication instead.
.El
.Sh EXAMPLES
Setting a timeout of 10 seconds for any service
.Pp
.Dl "auth sufficient pam_biometrics.so timeout=10"
.Pp
Setting a custom message and timeout to any service, while disabling
the configuration when connecting through SSH
.Pp
.Dl "auth required pam_biometrics.so timeout=10 prompt=Find\ your\ phone disableonssh"
.Sh SEE ALSO
.Xr pam.conf 5 ,
.Xr pam 8
.Sh BUGS
Report bugs to the issue tracker:
.Lk https://github.com/ProcursusTeam/pam-biometrics/issues