all: check return value from daemon() call
[jleu-quagga.git] / redhat / quagga.pam
blob9a91ad852fbd7018c79d117a46f949abe86d6e90
1 #%PAM-1.0
4 ##### if running quagga as root:
5 # Only allow root (and possibly wheel) to use this because enable access
6 # is unrestricted.
7 auth       sufficient   pam_rootok.so
9 # Uncomment the following line to implicitly trust users in the "wheel" group.
10 #auth       sufficient   pam_wheel.so trust use_uid
11 # Uncomment the following line to require a user to be in the "wheel" group.
12 #auth       required     pam_wheel.so use_uid
13 ###########################################################
15 # If using quagga privileges and with a seperate group for vty access, then
16 # access can be controlled via the vty access group, and pam can simply
17 # check for valid user/password, eg:
19 # only allow local users.
20 #auth       required     pam_securetty.so
21 #auth       include      system-auth
22 #auth       required     pam_nologin.so
23 #account    include      system-auth
24 #password   include      system-auth
25 #session    include      system-auth
26 #session    optional     pam_console.so