blob: 486d45df9975e729ce771259e53b5ae463387b7c [file] [log] [blame]
paul788cdc62003-01-18 00:22:08 +00001#%PAM-1.0
2#
pauledd7c242003-06-04 13:59:38 +00003
paul5f5eab72003-08-12 12:56:00 +00004##### if running quagga as root:
paul788cdc62003-01-18 00:22:08 +00005# Only allow root (and possibly wheel) to use this because enable access
6# is unrestricted.
paul9abb7b72003-07-12 21:46:24 +00007auth sufficient /lib/security/pam_rootok.so
paul788cdc62003-01-18 00:22:08 +00008
paul788cdc62003-01-18 00:22:08 +00009# Uncomment the following line to implicitly trust users in the "wheel" group.
10#auth sufficient /lib/security/pam_wheel.so trust use_uid
11# Uncomment the following line to require a user to be in the "wheel" group.
12#auth required /lib/security/pam_wheel.so use_uid
pauledd7c242003-06-04 13:59:38 +000013###########################################################
14
paul5f5eab72003-08-12 12:56:00 +000015# If using quagga privileges and with a seperate group for vty access, then
pauledd7c242003-06-04 13:59:38 +000016# access can be controlled via the vty access group, and pam can simply
paul2f4453f2003-08-13 06:05:01 +000017# check for valid user/password, eg:
pauledd7c242003-06-04 13:59:38 +000018#
19# only allow local users.
paul2f4453f2003-08-13 06:05:01 +000020#auth required /lib/security/pam_securetty.so
21#auth required /lib/security/pam_stack.so service=system-auth
22#auth required /lib/security/pam_nologin.so
23#account required /lib/security/pam_stack.so service=system-auth
24#password required /lib/security/pam_stack.so service=system-auth
25#session required /lib/security/pam_stack.so service=system-auth
26#session optional /lib/security/pam_console.so