Subject: Re: integrating PAM
To: NetBSD-current Discussion List <current-users@netbsd.org>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 01/21/2003 23:01:04
In message <20030122042906.22E1AA@proven.weird.com>, "Greg A. Woods" writes:
>Damned if I know for sure.  I'd bet they simply ignore PAM, though no
>doubt the login_pam module for BSD/OS works just fine on OpenBSD too.

If there are incompatibilities, they're small.

I have to say, I *love* the BSD Authentication system.  It's awfully
convenient, and I've had several occasions to write authentication scripts,
which could be pretty hugely arbitrary:
	#!/bin/sh
	case `date +%d` in
	*[13579])	echo >&3 "reject"
			exit 1
			;;
	esac
	exec /usr/libexec/login_passwd "$@"
Is "login_noodddays".  Unless I made a typo.  I've seen "login only during
business hours" or "only outside business hours" used in the wild.

-s