switch from rcS.d to rc[0-6].d
[debian/sudo] / sample.pam
1 #%PAM-1.0
2 # Sample /etc/pam.d/sudo file for RedHat 9 / Fedora Core.
3 #   For other Linux distributions you may want to
4 #   use /etc/pam.d/sshd or /etc/pam.d/su as a guide.
5 #
6 #   There are two basic ways to configure PAM, either via pam_stack
7 #   or by explicitly specifying the various methods to use.
8 #
9 # $Sudo: sample.pam,v 1.3 2004/10/01 14:58:15 millert Exp $
10 #
11 # Here we use pam_stack
12 auth       required     pam_stack.so service=system-auth
13 account    required     pam_stack.so service=system-auth
14 password   required     pam_stack.so service=system-auth
15 session    required     pam_stack.so service=system-auth
16 #
17 # Alternately, you can specify the authentication method directly.
18 # Here we use pam_unix for normal password authentication.
19 #auth       required    pam_env.so
20 #auth       sufficient  pam_unix.so
21 #account    required    pam_unix.so
22 #password   required    pam_cracklib.so retry=3 type=
23 #password   required    pam_unix.so nullok use_authtok md5 shadow
24 #session    required    pam_limits.so
25 #session    required    pam_unix.so
26 #
27 # Another option is to use SMB for authentication.
28 #auth       required    pam_env.so
29 #auth       sufficient  pam_smb_auth.so
30 #account    required    pam_smb_auth.so
31 #password   required    pam_smb_auth.so
32 #session    required    pam_limits.so