2008-03-26 14:31:17 +03:00
|
|
|
# $NetBSD: su,v 1.7 2008/03/26 11:31:17 lukem Exp $
|
2004-12-12 11:48:21 +03:00
|
|
|
#
|
|
|
|
# PAM configuration for the "su" service
|
|
|
|
#
|
|
|
|
|
|
|
|
# auth
|
|
|
|
auth sufficient pam_rootok.so no_warn
|
|
|
|
auth sufficient pam_self.so no_warn
|
2008-03-26 14:31:17 +03:00
|
|
|
auth sufficient pam_skey.so no_warn try_first_pass
|
2005-03-01 19:28:46 +03:00
|
|
|
auth sufficient pam_ksu.so no_warn try_first_pass
|
2005-04-05 22:23:36 +04:00
|
|
|
#auth sufficient pam_group.so no_warn group=rootauth root_only authenticate
|
2004-12-12 11:48:21 +03:00
|
|
|
auth requisite pam_group.so no_warn group=wheel root_only fail_safe
|
2005-03-01 19:28:46 +03:00
|
|
|
auth required pam_unix.so no_warn try_first_pass nullok
|
2004-12-12 11:48:21 +03:00
|
|
|
|
|
|
|
# account
|
2005-02-27 06:40:14 +03:00
|
|
|
account required pam_login_access.so
|
2004-12-12 11:48:21 +03:00
|
|
|
account include system
|
|
|
|
|
|
|
|
# session
|
|
|
|
session required pam_permit.so
|