Install pam configuration files.
This commit is contained in:
parent
f57f7bfa69
commit
2cfa477387
@ -1,4 +1,4 @@
|
||||
# $NetBSD: NetBSD.dist,v 1.270 2004/12/28 23:59:22 thorpej Exp $
|
||||
# $NetBSD: NetBSD.dist,v 1.271 2005/01/09 07:27:14 christos Exp $
|
||||
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
|
||||
|
||||
/set type=dir uname=root gname=wheel mode=0755
|
||||
@ -35,6 +35,7 @@
|
||||
./etc/openssl/certs
|
||||
./etc/openssl/misc
|
||||
./etc/openssl/private
|
||||
./etc/pam.d
|
||||
./etc/postfix
|
||||
./etc/powerd
|
||||
./etc/powerd/scripts
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: postinstall,v 1.85 2004/12/09 04:42:54 jmc Exp $
|
||||
# $NetBSD: postinstall,v 1.86 2005/01/09 07:27:14 christos Exp $
|
||||
#
|
||||
# Copyright (c) 2002-2004 The NetBSD Foundation, Inc.
|
||||
# All rights reserved.
|
||||
@ -607,6 +607,25 @@ do_rc()
|
||||
return ${failed}
|
||||
}
|
||||
|
||||
#
|
||||
# pam
|
||||
#
|
||||
additem pam "/etc/pam.d being up to date"
|
||||
do_pam()
|
||||
{
|
||||
[ -n "$1" ] || err 2 "USAGE: do_pam fix|check"
|
||||
op=$1
|
||||
failed=0
|
||||
|
||||
compare_dir ${op} ${SRC_DIR}/etc/pam.d ${DEST_DIR}/etc/pam.d 644 \
|
||||
README ftpd gdm imap kde login other passwd \
|
||||
pop3 rexecd rsh sshd su system telnetd xdm
|
||||
|
||||
failed=$(( ${failed} + $? ))
|
||||
|
||||
return ${failed}
|
||||
}
|
||||
|
||||
#
|
||||
# ssh
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user