pkgsrc/x11/xscreensaver/files/pam-xscreensaver-NetBSD
drochner 543729b13a don't install suid on NetBSD per default; now there are 3 ways:
-no PAM (default): let configure figure out whether shadow passwords
 are used, in that case xscreensaver will be installed suid to enable
 checking
-"pam" option enabled: assume that PAM is able to check the password
 w/o root privs; require the new pam-pwauth_suid on NetBSD for that
-"pam" option enabled; the user decides not to use pam-pwauth_suid
 but sets xscreensaver suid instead (on NetBSD, or if the PAM
 implementation needs it)
add a MESSAGE discussing the latter 2 options
bump PKGREVISION
2007-01-08 21:45:10 +00:00

17 lines
306 B
Text

# $NetBSD: pam-xscreensaver-NetBSD,v 1.1 2007/01/08 21:45:10 drochner Exp $
#
# PAM configuration for the "xscreensaver" service
#
# auth
auth sufficient pam_pwauth_suid.so
auth include system
# account
account include system
# session
session include system
# password
password include system