Debian Codegraph @

tests/README

raw
1 README for pam-test
2 ===================
3
4 Usage: pam-test [options] <PAM service name>
5 Test PAM authentication.
6
7 Options:
8 -h, --help print help information
9 -v, --version print version information
10 -u, --username specify username for authentication
11
12 Report bugs to <[email protected]>.
13
14 pam-test is a small utility suitable for testing authentication
15 through PAM. pam-test is not Poldi specific at all; rather it's a
16 generic tool for testing authentication through PAM.
17
18 PAM authentication methods are identified by a "service name"
19 (e.g. "su", "login", "gdm"). Testing authentication is thus only a
20 matter of typing:
21
22 $ ./pam-test SERVICENAME
23
24 Testing Poldi authentication can be achieved by defining a new service
25 name "poldi" using pam_poldi.so and then typing:
26
27 $ ./pam-test poldi
28
29 This is how a successful run looks like:
30
31 $ ./pam-test poldi
32 Waiting for card...
33 Trying authentication as user `moritz'...
34 Authentication succeeded
35 Authenticated as user `moritz'
36 $
37
38 Have fun.