cvsdist 69b5f73
%define build6x 0
cvsdist d1a852a
Summary: A security tool which provides authentication for applications.
cvsdist d1a852a
Name: pam
cvsdist 2e03b4f
Version: 0.75
cvsdist 41a3ab7
Release: 14
cvsdist 2e03b4f
License: GPL or BSD
cvsdist d1a852a
Group: System Environment/Base
cvsdist d1a852a
Source0: pam-redhat-%{version}-%{release}.tar.gz
cvsdist d1a852a
Source1: other.pamd
cvsdist d1a852a
BuildRoot: %{_tmppath}/%{name}-root
cvsdist 69b5f73
Requires: cracklib, cracklib-dicts, glib, pwdb >= 0.54-2, initscripts >= 3.94
cvsdist d1a852a
Obsoletes: pamconfig
cvsdist 5a39518
Prereq: grep, mktemp, sed, fileutils, textutils, /sbin/ldconfig
cvsdist 5a39518
BuildPrereq: bison, glib-devel, sed, fileutils, autoconf
cvsdist 69b5f73
%if ! %{build6x}
cvsdist 69b5f73
BuildPrereq: db3-devel
cvsdist 69b5f73
%endif
cvsdist 69b5f73
URL: http://www.us.kernel.org/pub/linux/libs/pam/index.html
cvsdist d1a852a
cvsdist d1a852a
%description
cvsdist 2e03b4f
PAM (Pluggable Authentication Modules) is a system security tool that
cvsdist 2e03b4f
allows system administrators to set authentication policy without
cvsdist 2e03b4f
having to recompile programs that handle authentication.
cvsdist d1a852a
cvsdist 69b5f73
%package devel
cvsdist 69b5f73
Group: Development/Libraries
cvsdist 69b5f73
Summary: Files needed for developing PAM-aware applications and modules for PAM.
cvsdist 69b5f73
Requires: pam = %{version}-%{release}
cvsdist 69b5f73
cvsdist 69b5f73
%description devel
cvsdist 2e03b4f
PAM (Pluggable Authentication Modules) is a system security tool that
cvsdist 2e03b4f
allows system administrators to set authentication policy without
cvsdist 2e03b4f
having to recompile programs that handle authentication. This package
cvsdist 2e03b4f
contains header files and static libraries used for building both
cvsdist 2e03b4f
PAM-aware applications and modules for use with PAM.
cvsdist 69b5f73
cvsdist d1a852a
%prep
cvsdist d1a852a
%setup -q
cvsdist d1a852a
for readme in modules/pam_*/README ; do
cvsdist d1a852a
	cp -fv ${readme} doc/txts/README.`dirname ${readme} | sed -e 's|^modules/||'`
cvsdist d1a852a
done
cvsdist 5a39518
autoconf
cvsdist d1a852a
cvsdist d1a852a
%build
cvsdist 5a39518
CFLAGS="$RPM_OPT_FLAGS -fPIC" \
cvsdist 5a39518
./configure \
cvsdist 5a39518
	--prefix=/ \
cvsdist 5a39518
	--infodir=%{_infodir} \
cvsdist 5a39518
	--mandir=%{_mandir} \
cvsdist 5a39518
	--enable-static-libpam \
cvsdist 5a39518
	--enable-fakeroot=$RPM_BUILD_ROOT
cvsdist 5a39518
make
cvsdist d1a852a
cvsdist d1a852a
%install
cvsdist 5a39518
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
cvsdist 5a39518
make install
cvsdist d1a852a
install -d -m 755 $RPM_BUILD_ROOT/etc/pam.d
cvsdist e0a9764
install -d -m 755 $RPM_BUILD_ROOT%{_libdir}
cvsdist d1a852a
install -m 644 other.pamd $RPM_BUILD_ROOT/etc/pam.d/other
cvsdist d1a852a
install -m 644 system-auth.pamd $RPM_BUILD_ROOT/etc/pam.d/system-auth
cvsdist 5a39518
cvsdist e0a9764
# move the static libraries
cvsdist e0a9764
mv $RPM_BUILD_ROOT/lib/*.a $RPM_BUILD_ROOT%{_libdir}/
cvsdist e0a9764
cvsdist e0a9764
# make new .so links
cvsdist e0a9764
pushd $RPM_BUILD_ROOT%{_libdir}
cvsdist e0a9764
for lib in ../../lib/*.so.%{version} ; do
cvsdist e0a9764
	ln -s ${lib} `basename ${lib} .%{version}`
cvsdist e0a9764
done
cvsdist e0a9764
popd
cvsdist e0a9764
cvsdist d1a852a
# forcibly strip the helpers
cvsdist d1a852a
strip $RPM_BUILD_ROOT/sbin/* ||:
cvsdist 5a39518
cvsdist 69b5f73
# Install man pages.
cvsdist 69b5f73
install -m 644 doc/man/*.3 $RPM_BUILD_ROOT%{_mandir}/man3/
cvsdist 69b5f73
install -m 644 doc/man/*.8 $RPM_BUILD_ROOT%{_mandir}/man8/
cvsdist 69b5f73
cvsdist 5a39518
# Make sure every module built.  Yes, this is hackish.
cvsdist 69b5f73
for dir in modules/pam_* ; do
cvsdist 69b5f73
if [ -d ${dir} ] ; then
cvsdist 69b5f73
	if ! ls -1 $RPM_BUILD_ROOT/lib/security/`basename ${dir}`*.so ; then
cvsdist 69b5f73
		echo ERROR `basename ${dir}` module did not build.
cvsdist 69b5f73
		exit 1
cvsdist 69b5f73
	fi
cvsdist 69b5f73
fi
cvsdist 69b5f73
done
cvsdist d1a852a
cvsdist d1a852a
%clean
cvsdist 5a39518
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
cvsdist d1a852a
cvsdist 69b5f73
%if ! %{build6x}
cvsdist 69b5f73
%pre
cvsdist 69b5f73
# Figure whether or not we're using shadow/md5 passwords if we're upgrading.
cvsdist 69b5f73
if [ -f /etc/pam.d/other ] ; then
cvsdist 69b5f73
	USEMD5=
cvsdist 69b5f73
	if [ -f /etc/sysconfig/authconfig ] ; then
cvsdist 69b5f73
		. /etc/sysconfig/authconfig
cvsdist 69b5f73
	fi
cvsdist 69b5f73
	if [ -z "$USEMD5" ] ; then
cvsdist 69b5f73
		if [ -f /etc/shadow ] ; then
cvsdist 69b5f73
			passwdfiles="/etc/passwd /etc/shadow"
cvsdist 69b5f73
		else
cvsdist 69b5f73
			passwdfiles="/etc/passwd"
cvsdist 69b5f73
		fi
cvsdist 69b5f73
		if cut -f2 -d: $passwdfiles | grep -q '^\$1\$' ; then
cvsdist 69b5f73
			echo USEMD5=yes >> /etc/sysconfig/authconfig
cvsdist 69b5f73
			USEMD5=yes
cvsdist 69b5f73
		else
cvsdist 69b5f73
			echo USEMD5=no  >> /etc/sysconfig/authconfig
cvsdist 69b5f73
			USEMD5=no
cvsdist 69b5f73
		fi
cvsdist 69b5f73
	fi
cvsdist 69b5f73
fi
cvsdist 5a39518
exit 0
cvsdist 69b5f73
%endif
cvsdist 69b5f73
cvsdist 69b5f73
%if %{build6x}
cvsdist d1a852a
%post -p /sbin/ldconfig
cvsdist 69b5f73
%else
cvsdist 69b5f73
%post
cvsdist 69b5f73
/sbin/ldconfig
cvsdist 69b5f73
if [ ! -f /etc/shadow ] ; then
cvsdist 69b5f73
	tmp=`mktemp /etc/pam.d/pam-post.XXXXXX`
cvsdist 69b5f73
	if [ -n "$tmp" ] ; then
cvsdist 69b5f73
		sed 's| shadow||g' /etc/pam.d/system-auth > $tmp && \
cvsdist 69b5f73
		cat $tmp > /etc/pam.d/system-auth
cvsdist 69b5f73
		rm -f $tmp
cvsdist 69b5f73
	fi
cvsdist 69b5f73
fi
cvsdist 69b5f73
if [ -f /etc/sysconfig/authconfig ] ; then
cvsdist 69b5f73
	. /etc/sysconfig/authconfig
cvsdist 69b5f73
fi
cvsdist 69b5f73
if [ "$USEMD5" = "no" ] ; then
cvsdist 69b5f73
	tmp=`mktemp /etc/pam.d/pam-post.XXXXXX`
cvsdist 69b5f73
	if [ -n "$tmp" ] ; then
cvsdist 69b5f73
		sed 's| md5||g' /etc/pam.d/system-auth > $tmp && \
cvsdist 69b5f73
		cat $tmp > /etc/pam.d/system-auth
cvsdist 69b5f73
		rm -f $tmp
cvsdist 69b5f73
	fi
cvsdist 69b5f73
fi
cvsdist 69b5f73
%endif
cvsdist d1a852a
cvsdist d1a852a
%postun -p /sbin/ldconfig
cvsdist d1a852a
cvsdist d1a852a
%files
cvsdist d1a852a
%defattr(-,root,root)
cvsdist d1a852a
%dir /etc/pam.d
cvsdist 5a39518
%config(noreplace) /etc/pam.d/other
cvsdist d1a852a
%config(noreplace) /etc/pam.d/system-auth
cvsdist d1a852a
%doc Copyright
cvsdist d1a852a
%doc doc/html doc/ps doc/txts
cvsdist d1a852a
%doc doc/specs/rfc86.0.txt
cvsdist 69b5f73
/lib/libpam.so.*
cvsdist 69b5f73
/lib/libpam_misc.so.*
cvsdist 69b5f73
/sbin/*_chkpwd
cvsdist 5a39518
/sbin/pam_console_apply
cvsdist 69b5f73
/sbin/pam_tally
cvsdist 69b5f73
%dir /lib/security
cvsdist 69b5f73
/lib/security/pam_access.so
cvsdist 69b5f73
/lib/security/pam_chroot.so
cvsdist 69b5f73
/lib/security/pam_console.so
cvsdist 69b5f73
/lib/security/pam_cracklib.so
cvsdist 69b5f73
/lib/security/pam_deny.so
cvsdist 69b5f73
/lib/security/pam_env.so
cvsdist 69b5f73
/lib/security/pam_filter.so
cvsdist 69b5f73
/lib/security/pam_ftp.so
cvsdist 69b5f73
/lib/security/pam_group.so
cvsdist 69b5f73
/lib/security/pam_issue.so
cvsdist 69b5f73
/lib/security/pam_lastlog.so
cvsdist 69b5f73
/lib/security/pam_limits.so
cvsdist 69b5f73
/lib/security/pam_listfile.so
cvsdist 69b5f73
/lib/security/pam_localuser.so
cvsdist 69b5f73
/lib/security/pam_mail.so
cvsdist 69b5f73
/lib/security/pam_mkhomedir.so
cvsdist 69b5f73
/lib/security/pam_motd.so
cvsdist 69b5f73
/lib/security/pam_nologin.so
cvsdist 69b5f73
/lib/security/pam_permit.so
cvsdist 69b5f73
/lib/security/pam_pwdb.so
cvsdist 69b5f73
/lib/security/pam_rhosts_auth.so
cvsdist 69b5f73
/lib/security/pam_rootok.so
cvsdist 69b5f73
/lib/security/pam_securetty.so
cvsdist 69b5f73
/lib/security/pam_shells.so
cvsdist 69b5f73
/lib/security/pam_stack.so
cvsdist 69b5f73
/lib/security/pam_stress.so
cvsdist 69b5f73
/lib/security/pam_tally.so
cvsdist 69b5f73
/lib/security/pam_time.so
cvsdist 69b5f73
/lib/security/pam_unix.so
cvsdist 69b5f73
/lib/security/pam_unix_acct.so
cvsdist 69b5f73
/lib/security/pam_unix_auth.so
cvsdist 69b5f73
/lib/security/pam_unix_passwd.so
cvsdist 69b5f73
/lib/security/pam_unix_session.so
cvsdist 69b5f73
/lib/security/pam_userdb.so
cvsdist 69b5f73
/lib/security/pam_warn.so
cvsdist 69b5f73
/lib/security/pam_wheel.so
cvsdist 69b5f73
/lib/security/pam_xauth.so
cvsdist 69b5f73
/lib/security/pam_filter
cvsdist 5a39518
%dir /etc/security
cvsdist 0798a27
%config(noreplace) /etc/security/access.conf
cvsdist 0798a27
%config(noreplace) /etc/security/time.conf
cvsdist 0798a27
%config(noreplace) /etc/security/group.conf
cvsdist 0798a27
%config(noreplace) /etc/security/limits.conf
cvsdist 0798a27
%config(noreplace) /etc/security/pam_env.conf
cvsdist 0798a27
%config(noreplace) /etc/security/console.perms
cvsdist d1a852a
%dir /etc/security/console.apps
cvsdist a06b5aa
%dir /var/run/console
cvsdist d1a852a
%{_mandir}/man5/*
cvsdist d1a852a
%{_mandir}/man8/*
cvsdist d1a852a
cvsdist 69b5f73
%files devel
cvsdist 69b5f73
%defattr(-,root,root)
cvsdist 43335dc
/lib/libpam.so
cvsdist 43335dc
/lib/libpam_misc.so
cvsdist e0a9764
%{_libdir}/libpam.so
cvsdist e0a9764
%{_libdir}/libpam.a
cvsdist e0a9764
%{_libdir}/libpam_misc.so
cvsdist e0a9764
%{_libdir}/libpam_misc.a
cvsdist 69b5f73
/usr/include/security/
cvsdist 69b5f73
%{_mandir}/man3/*
cvsdist 69b5f73
cvsdist d1a852a
%changelog
cvsdist 41a3ab7
* Mon Sep 24 2001 Nalin Dahyabhai <nalin@redhat.com> 0.75-14
cvsdist 41a3ab7
- argh, compare entire salt, always
cvsdist 41a3ab7
cvsdist 43335dc
* Sat Sep  8 2001 Bill Nottingham <notting@redhat.com> 0.75-13
cvsdist 43335dc
- ship /lib/lib{pam,pam_misc}.so for legacy package builds
cvsdist 43335dc
cvsdist 0798a27
* Thu Sep  6 2001 Nalin Dahyabhai <nalin@redhat.com> 0.75-12
cvsdist 0798a27
- noreplace configuration files in /etc/security
cvsdist 0798a27
- pam_console: update pam_console_apply and man pages to reflect
cvsdist 0798a27
  /var/lock -> /var/run move
cvsdist 0798a27
cvsdist e0a9764
* Wed Sep  5 2001 Nalin Dahyabhai <nalin@redhat.com> 0.75-11
cvsdist e0a9764
- pam_unix: fix the fix for #42394
cvsdist e0a9764
cvsdist e0a9764
* Tue Sep  4 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist e0a9764
- modules: use getpwnam_r and friends instead of non-reentrant versions
cvsdist e0a9764
- pam_console: clear generated .c and .h files in "clean" makefile target
cvsdist e0a9764
cvsdist e0a9764
* Thu Aug 30 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist e0a9764
- pam_stack: perform deep copy of conversation structures
cvsdist e0a9764
- include the static libpam in the -devel subpackage (#52321)
cvsdist e0a9764
- move development .so and .a files to %%{_libdir}
cvsdist e0a9764
- pam_unix: don't barf on empty passwords (#51846)
cvsdist e0a9764
- pam_unix: redo compatibility with "hash,age" data wrt bigcrypt (#42394)
cvsdist e0a9764
- console.perms: add usb camera, scanner, and rio devices (#15528)
cvsdist e0a9764
- pam_cracklib: initialize all options properly (#49613)
cvsdist e0a9764
cvsdist e0a9764
* Wed Aug 22 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist e0a9764
- pam_limits: don't rule out negative priorities
cvsdist e0a9764
cvsdist e0a9764
* Mon Aug 13 2001 Nalin Dahyabhai <nalin@redhat.com> 0.75-10
cvsdist a06b5aa
- pam_xauth: fix errors due to uninitialized data structure (fix from Tse Huong
cvsdist a06b5aa
  Choo)
cvsdist a06b5aa
- pam_xauth: random cleanups
cvsdist a06b5aa
- pam_console: use /var/run/console instead of /var/lock/console at install-time
cvsdist a06b5aa
- pam_unix: fix preserving of permissions on files which are manipulated
cvsdist a06b5aa
cvsdist 2e03b4f
* Fri Aug 10 2001 Bill Nottingham <notting@redhat.com>
cvsdist 2e03b4f
- fix segfault in pam_securetty
cvsdist 2e03b4f
cvsdist 2e03b4f
* Thu Aug  9 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2e03b4f
- pam_console: use /var/run/console instead of /var/lock/console for lock files
cvsdist 2e03b4f
- pam_issue: read the right number of bytes from the file
cvsdist 2e03b4f
cvsdist 2e03b4f
* Mon Jul  9 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2e03b4f
- pam_wheel: don't error out if the group has no members, but is the user's
cvsdist 2e03b4f
  primary GID (reported by David Vos)
cvsdist 2e03b4f
- pam_unix: preserve permissions on files which are manipulated (#43706)
cvsdist 2e03b4f
- pam_securetty: check if the user is the superuser before checking the tty,
cvsdist 2e03b4f
  thereby allowing regular users access to services which don't set the
cvsdist 2e03b4f
  PAM_TTY item (#39247)
cvsdist 2e03b4f
- pam_access: define NIS and link with libnsl (#36864)
cvsdist 2e03b4f
cvsdist 2e03b4f
* Thu Jul  5 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2e03b4f
- link libpam_misc against libpam
cvsdist 2e03b4f
cvsdist 2e03b4f
* Tue Jul  3 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2e03b4f
- pam_chroot: chdir() before chroot()
cvsdist 2e03b4f
cvsdist 2e03b4f
* Fri Jun 29 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2e03b4f
- pam_console: fix logic bug when changing permissions on single
cvsdist 2e03b4f
  file and/or lists of files
cvsdist 2e03b4f
- pam_console: return the proper error code (reported and patches
cvsdist 2e03b4f
  for both from Frederic Crozat)
cvsdist 2e03b4f
- change deprecated Copyright: tag in .spec file to License:
cvsdist 2e03b4f
cvsdist 2e03b4f
* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2e03b4f
- console.perms: change js* to js[0-9]*
cvsdist 2e03b4f
- include pam_aconf.h in more modules (patches from Harald Welte)
cvsdist 2e03b4f
cvsdist 2e03b4f
* Thu May 24 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2e03b4f
- console.perms: add apm_bios to the list of devices the console owner can use
cvsdist 2e03b4f
- console.perms: add beep to the list of sound devices
cvsdist 2e03b4f
cvsdist 2e03b4f
* Mon May  7 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2e03b4f
- link pam_console_apply statically with libglib (#38891)
cvsdist 2e03b4f
cvsdist 2e03b4f
* Mon Apr 30 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2e03b4f
- pam_access: compare IP addresses with the terminating ".", as documented
cvsdist 2e03b4f
  (patch from Carlo Marcelo Arenas Belon, I think) (#16505)
cvsdist 2e03b4f
cvsdist 2e03b4f
* Mon Apr 23 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2e03b4f
- merge up to 0.75
cvsdist 2e03b4f
- pam_unix: temporarily ignore SIGCHLD while running the helper
cvsdist 2e03b4f
- pam_pwdb: temporarily ignore SIGCHLD while running the helper
cvsdist 2e03b4f
- pam_dispatch: default to uncached behavior if the cached chain is empty
cvsdist 2e03b4f
cvsdist 5a39518
* Fri Apr  6 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- correct speling errors in various debug messages and doc files (#33494)
cvsdist 5a39518
cvsdist 5a39518
* Thu Apr  5 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- prereq sed, fileutils (used in %%post)
cvsdist 5a39518
cvsdist 5a39518
* Wed Apr  4 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- remove /dev/dri from console.perms -- XFree86 munges it, so it's outside of
cvsdist 5a39518
  our control (reminder from Daryll Strauss)
cvsdist 5a39518
- add /dev/3dfx to console.perms
cvsdist 5a39518
cvsdist 5a39518
* Fri Mar 23 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- pam_wheel: make 'trust' and 'deny' work together correctly
cvsdist 5a39518
- pam_wheel: also check the user's primary gid
cvsdist 5a39518
- pam_group: also initialize groups when called with PAM_REINITIALIZE_CRED
cvsdist 5a39518
cvsdist 5a39518
* Tue Mar 20 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- mention pam_console_apply in the see also section of the pam_console man pages
cvsdist 5a39518
cvsdist 5a39518
* Fri Mar 16 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- console.perms: /dev/vc/* should be a regexp, not a glob (thanks to
cvsdist 5a39518
  Charles Lopes)
cvsdist 5a39518
cvsdist 5a39518
* Mon Mar 12 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- console.perms: /dev/cdroms/* should belong to the user, from Douglas
cvsdist 5a39518
  Gilbert via Tim Waugh
cvsdist 5a39518
cvsdist 5a39518
* Thu Mar  8 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- pam_console_apply: muck with devices even if the mount point doesn't exist
cvsdist 5a39518
cvsdist 5a39518
* Wed Mar  7 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- pam_console: error out on undefined classes in pam_console config file
cvsdist 5a39518
- console.perms: actually change the permissions on the new device classes
cvsdist 5a39518
- pam_console: add an fstab= argument, and -f and -c flags to pam_console_apply
cvsdist 5a39518
- pam_console: use g_log instead of g_critical when bailing out
cvsdist 5a39518
- console.perms: logins on /dev/vc/* are also console logins, from Douglas
cvsdist 5a39518
  Gilbert via Tim Waugh
cvsdist 5a39518
cvsdist 5a39518
* Tue Mar  6 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- add pam_console_apply
cvsdist 5a39518
- /dev/pilot's usually a serial port (or a USB serial port), so revert its
cvsdist 5a39518
  group to 'uucp' instead of 'tty' in console.perms
cvsdist 5a39518
- change pam_console's behavior wrt directories -- directories which are
cvsdist 5a39518
  mount points according to /etc/fstab are taken to be synonymous with
cvsdist 5a39518
  their device special nodes, and directories which are not mount points
cvsdist 5a39518
  are ignored
cvsdist 5a39518
cvsdist 5a39518
* Tue Feb 27 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- handle errors fork()ing in pam_xauth
cvsdist 5a39518
- make the "other" config noreplace
cvsdist 5a39518
cvsdist 5a39518
* Mon Feb 26 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- user should own the /dev/video directory, not the non-existent /dev/v4l
cvsdist 5a39518
- tweak pam_limits doc
cvsdist 5a39518
cvsdist 5a39518
* Wed Feb 21 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- own /etc/security
cvsdist 5a39518
- be more descriptive when logging messages from pam_limits
cvsdist 5a39518
- pam_listfile: remove some debugging code (#28346)
cvsdist 5a39518
cvsdist 5a39518
* Mon Feb 19 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- pam_lastlog: don't pass NULL to logwtmp()
cvsdist 5a39518
cvsdist 5a39518
* Fri Feb 16 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- pam_listfile: fix argument parser (#27773)
cvsdist 5a39518
- pam_lastlog: link to libutil
cvsdist 5a39518
cvsdist 5a39518
* Tue Feb 13 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- pam_limits: change the documented default config file to reflect the defaults
cvsdist 5a39518
- pam_limits: you should be able to log in a total of maxlogins times, not
cvsdist 5a39518
  (maxlogins - 1)
cvsdist 5a39518
- handle group limits on maxlogins correctly (#25690)
cvsdist 5a39518
cvsdist 5a39518
* Mon Feb 12 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- change the pam_xauth default maximum "system user" ID from 499 to 99 (#26343)
cvsdist 5a39518
cvsdist 5a39518
* Wed Feb  7 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- refresh the default system-auth file, pam_access is out
cvsdist 5a39518
cvsdist 5a39518
* Mon Feb  5 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- actually time out when attempting to lckpwdf() (#25889)
cvsdist 5a39518
- include time.h in pam_issue (#25923)
cvsdist 5a39518
- update the default system-auth to the one generated by authconfig 4.1.1
cvsdist 5a39518
- handle getpw??? and getgr??? failures more gracefully (#26115)
cvsdist 5a39518
- get rid of some extraneous {set,end}{pw,gr}ent() calls
cvsdist 5a39518
cvsdist 5a39518
* Tue Jan 30 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- overhaul pam_stack to account for abstraction libpam now provides
cvsdist 5a39518
cvsdist 5a39518
* Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 2e03b4f
- remove pam_radius at request of author
cvsdist 5a39518
cvsdist 5a39518
* Mon Jan 22 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- merge to 0.74
cvsdist 5a39518
- make console.perms match perms set by MAKEDEV, and add some devfs device names
cvsdist 5a39518
- add 'sed' to the buildprereq list (#24666)
cvsdist 5a39518
cvsdist 5a39518
* Sun Jan 21 2001 Matt Wilson <msw@redhat.com>
cvsdist 5a39518
- added "exit 0" to the end of the %pre script
cvsdist 5a39518
cvsdist 5a39518
* Fri Jan 19 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- self-hosting fix from Guy Streeter
cvsdist 5a39518
cvsdist 5a39518
* Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- use gcc for LD_L to pull in intrinsic stuff on ia64
cvsdist 5a39518
cvsdist 5a39518
* Fri Jan 12 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- take another whack at compatibility with "hash,age" data in pam_unix (#21603)
cvsdist 5a39518
cvsdist 5a39518
* Wed Jan 10 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- make the -devel subpackage unconditional
cvsdist 5a39518
cvsdist 5a39518
* Tue Jan  9 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- merge/update to 0.73
cvsdist 5a39518
cvsdist 5a39518
* Mon Dec 18 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- refresh from CVS -- some weird stuff crept into pam_unix
cvsdist 5a39518
cvsdist 5a39518
* Wed Dec 12 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 5a39518
- fix handling of "nis" when changing passwords by adding the checks for the
cvsdist 5a39518
  data source to the password-updating module in pam_unix
cvsdist 5a39518
- add the original copyright for pam_access (fix from Michael Gerdts)
cvsdist 5a39518
cvsdist 69b5f73
* Thu Nov 30 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- redo similar() using a distance algorithm and drop the default dif_ok to 5
cvsdist 5a39518
- readd -devel
cvsdist 69b5f73
cvsdist 69b5f73
* Wed Nov 29 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- fix similar() function in pam_cracklib (#14740)
cvsdist 69b5f73
- fix example in access.conf (#21467)
cvsdist 69b5f73
- add conditional compilation for building for 6.2 (for pam_userdb)
cvsdist 69b5f73
- tweak post to not use USESHADOW any more
cvsdist 69b5f73
cvsdist 69b5f73
* Tue Nov 28 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- make EINVAL setting lock limits in pam_limits non-fatal, because it's a 2.4ism
cvsdist 69b5f73
cvsdist 69b5f73
* Tue Nov 21 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- revert to DB 3.1, which is what we were supposed to be using from the get-go
cvsdist 69b5f73
cvsdist 69b5f73
* Mon Nov 20 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- add RLIMIT_LOCKS to pam_limits (patch from Jes Sorensen) (#20542)
cvsdist 69b5f73
- link pam_userdb to Berkeley DB 2.x to match 6.2's setup correctly
cvsdist 69b5f73
cvsdist 69b5f73
* Mon Nov  6 2000 Matt Wilson <msw@redhat.com>
cvsdist 69b5f73
- remove prereq on sh-utils, test ([) is built in to bash
cvsdist 69b5f73
cvsdist 69b5f73
* Thu Oct 19 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- fix the pam_userdb module breaking
cvsdist 69b5f73
cvsdist 69b5f73
* Wed Oct 18 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- fix pam_unix likeauth argument for authenticate(),setcred(),setcred()
cvsdist 69b5f73
cvsdist 69b5f73
* Tue Oct 17 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- tweak pre script to be called in all upgrade cases
cvsdist 69b5f73
- get pam_unix to only care about the significant pieces of passwords it checks
cvsdist 69b5f73
- add /usr/include/db1/db.h as a build prereq to pull in the right include
cvsdist 69b5f73
  files, no matter whether they're in glibc-devel or db1-devel
cvsdist 69b5f73
- pam_userdb.c: include db1/db.h instead of db.h
cvsdist 69b5f73
cvsdist 69b5f73
* Wed Oct 11 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- add BuildPrereq for bison (suggested by Bryan Stillwell)
cvsdist 69b5f73
cvsdist 69b5f73
* Fri Oct  6 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- patch from Dmitry V. Levin to have pam_stack propagate the PAM fail_delay
cvsdist 69b5f73
- roll back the README for pam_xauth to actually be the right one
cvsdist 69b5f73
- tweak pam_stack to use the parent's service name when calling the substack
cvsdist 69b5f73
cvsdist 69b5f73
* Wed Oct  4 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- create /etc/sysconfig/authconfig at install-time if upgrading
cvsdist 69b5f73
cvsdist 69b5f73
* Mon Oct  2 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- modify the files list to make sure #16456 stays fixed
cvsdist 69b5f73
- make pam_stack track PAM_AUTHTOK and PAM_OLDAUTHTOK items
cvsdist 69b5f73
- add pam_chroot module
cvsdist 69b5f73
- self-hosting fixes from the -devel split
cvsdist 69b5f73
- update generated docs in the tree
cvsdist 69b5f73
cvsdist 69b5f73
* Tue Sep 12 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- split off a -devel subpackage
cvsdist 69b5f73
- install the developer man pages
cvsdist 69b5f73
cvsdist 69b5f73
* Sun Sep 10 2000 Bill Nottingham <notting@redhat.com>
cvsdist 69b5f73
- build libraries before modules
cvsdist 69b5f73
cvsdist 69b5f73
* Wed Sep  6 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 69b5f73
- fix problems when looking for headers in /usr/include (#17236)
cvsdist 69b5f73
- clean up a couple of compile warnings
cvsdist 69b5f73
cvsdist d1a852a
* Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- give users /dev/cdrom* instead of /dev/cdrom in console.perms (#16768)
cvsdist d1a852a
- add nvidia control files to console.perms
cvsdist d1a852a
cvsdist d1a852a
* Tue Aug 22 2000 Bill Nottingham <notting@redhat.com>
cvsdist d1a852a
- add DRI devices to console.perms (#16731)
cvsdist d1a852a
cvsdist d1a852a
* Thu Aug 17 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- move pam_filter modules to /lib/security/pam_filter (#16111)
cvsdist d1a852a
- add pam_tally's application to allow counts to be reset (#16456)
cvsdist d1a852a
- move README files to the txts subdirectory
cvsdist d1a852a
cvsdist d1a852a
* Mon Aug 14 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- add a postun that runs ldconfig
cvsdist d1a852a
- clean up logging in pam_xauth
cvsdist d1a852a
cvsdist d1a852a
* Fri Aug  4 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- make the tarball include the release number in its name
cvsdist d1a852a
cvsdist d1a852a
* Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- add a broken_shadow option to pam_unix
cvsdist d1a852a
- add all module README files to the documentation list (#16456)
cvsdist d1a852a
cvsdist d1a852a
* Wed Jul 25 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- fix pam_stack debug and losing-track-of-the-result bug
cvsdist d1a852a
cvsdist d1a852a
* Tue Jul 24 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- rework pam_console's usage of syslog to actually be sane (#14646)
cvsdist d1a852a
cvsdist d1a852a
* Sat Jul 22 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- take the LOG_ERR flag off of some of pam_console's new messages
cvsdist d1a852a
cvsdist d1a852a
* Fri Jul 21 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- add pam_localuser
cvsdist d1a852a
cvsdist d1a852a
* Wed Jul 12 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- need to make pam_console's checking a little stronger
cvsdist d1a852a
- only pass data up from pam_stack if the parent didn't already define it
cvsdist d1a852a
cvsdist d1a852a
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist d1a852a
- automatic rebuild
cvsdist d1a852a
cvsdist d1a852a
* Tue Jul 11 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- make pam_console's extra checks disableable
cvsdist d1a852a
- simplify extra check to just check if the device owner is root
cvsdist d1a852a
- add a debug log when pam_stack comes across a NULL item
cvsdist d1a852a
- have pam_stack hand items up to the parent from the child
cvsdist d1a852a
cvsdist d1a852a
* Mon Jul  3 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- fix installation of pam_xauth man pages (#12417)
cvsdist d1a852a
- forcibly strip helpers (#12430)
cvsdist d1a852a
- try to make pam_console a little more discriminating
cvsdist d1a852a
cvsdist d1a852a
* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- symlink libpam.so to libpam.so.%{version}, and likewise for libpam_misc
cvsdist d1a852a
- reverse order of checks in _unix_getpwnam for pam_unix
cvsdist d1a852a
cvsdist d1a852a
* Wed Jun 14 2000 Preston Brown <pbrown@redhat.com>
cvsdist d1a852a
- include gpmctl in pam_console
cvsdist d1a852a
cvsdist d1a852a
* Mon Jun 05 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- add MANDIR definition and use it when installing man pages
cvsdist d1a852a
cvsdist d1a852a
* Mon Jun 05 2000 Preston Brown <pbrown@redhat.com>
cvsdist d1a852a
- handle scanner and cdwriter devices in pam_console
cvsdist d1a852a
cvsdist d1a852a
* Sat Jun  3 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- add account management wrappers for pam_listfile, pam_nologin, pam_securetty,
cvsdist d1a852a
  pam_shells, and pam_wheel
cvsdist d1a852a
cvsdist d1a852a
* Thu Jun  1 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- add system-auth control file
cvsdist d1a852a
- let gethostname() call in pam_access.c be implicitly declared to avoid
cvsdist d1a852a
  conflicting types if unistd.c declares it
cvsdist d1a852a
cvsdist d1a852a
* Mon May 15 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- fix problems compiling on Red Hat Linux 5.x (bug #11005)
cvsdist d1a852a
cvsdist d1a852a
* Wed Apr 26 2000 Bill Nottingham <notting@redhat.com>
cvsdist d1a852a
- fix size assumptions in pam_(pwdb|unix) md5 code
cvsdist d1a852a
cvsdist d1a852a
* Mon Mar 20 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- Add new pam_stack module.
cvsdist d1a852a
- Install pwdb_chkpwd and unix_chkpwd as the current user for non-root builds
cvsdist d1a852a
cvsdist d1a852a
* Sat Feb 05 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- Fix pam_xauth bug #6191.
cvsdist d1a852a
cvsdist d1a852a
* Thu Feb 03 2000 Elliot Lee <sopwith@redhat.com>
cvsdist d1a852a
- Add a patch to accept 'pts/N' in /etc/securetty as a match for tty '5'
cvsdist d1a852a
  (which is what other pieces of the system think it is). Fixes bug #7641.
cvsdist d1a852a
cvsdist d1a852a
* Mon Jan 31 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- argh, turn off gratuitous debugging
cvsdist d1a852a
cvsdist d1a852a
* Wed Jan 19 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d1a852a
- update to 0.72
cvsdist d1a852a
- fix pam_unix password-changing bug
cvsdist d1a852a
- fix pam_unix's cracklib support
cvsdist d1a852a
- change package URL
cvsdist d1a852a
cvsdist d1a852a
* Mon Jan 03 2000 Cristian Gafton <gafton@redhat.com>
cvsdist d1a852a
- don't allow '/' on service_name
cvsdist d1a852a
cvsdist d1a852a
* Thu Oct 21 1999 Cristian Gafton <gafton@redhat.com>
cvsdist d1a852a
- enhance the pam_userdb module some more
cvsdist d1a852a
cvsdist d1a852a
* Fri Sep 24 1999 Cristian Gafton <gafton@redhat.com>
cvsdist d1a852a
- add documenatation
cvsdist d1a852a
cvsdist d1a852a
* Tue Sep 21 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- a tiny change to pam_console to make it not loose track of console users
cvsdist d1a852a
cvsdist d1a852a
* Mon Sep 20 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- a few fixes to pam_xauth to make it more robust
cvsdist d1a852a
cvsdist d1a852a
* Wed Jul 14 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- pam_console: added <xconsole> to manage /dev/console
cvsdist d1a852a
cvsdist d1a852a
* Thu Jul 01 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- pam_xauth: New refcounting implementation based on idea from Stephen Tweedie
cvsdist d1a852a
cvsdist d1a852a
* Sat Apr 17 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- added video4linux devices to /etc/security/console.perms
cvsdist d1a852a
cvsdist d1a852a
* Fri Apr 16 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- added joystick lines to /etc/security/console.perms
cvsdist d1a852a
cvsdist d1a852a
* Thu Apr 15 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- fixed a couple segfaults in pam_xauth uncovered by yesterday's fix...
cvsdist d1a852a
cvsdist d1a852a
* Wed Apr 14 1999 Cristian Gafton <gafton@redhat.com>
cvsdist d1a852a
- use gcc -shared to link the shared libs
cvsdist d1a852a
cvsdist d1a852a
* Wed Apr 14 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- many bug fixes in pam_xauth
cvsdist d1a852a
- pam_console can now handle broken applications that do not set
cvsdist d1a852a
  the PAM_TTY item.
cvsdist d1a852a
cvsdist d1a852a
* Tue Apr 13 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- fixed glob/regexp confusion in pam_console, added kbd and fixed fb devices
cvsdist d1a852a
- added pam_xauth module
cvsdist d1a852a
cvsdist d1a852a
* Sat Apr 10 1999 Cristian Gafton <gafton@redhat.com>
cvsdist d1a852a
- pam_lastlog does wtmp handling now
cvsdist d1a852a
cvsdist d1a852a
* Thu Apr 08 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- added option parsing to pam_console
cvsdist d1a852a
- added framebuffer devices to default console.perms settings
cvsdist d1a852a
cvsdist d1a852a
* Wed Apr 07 1999 Cristian Gafton <gafton@redhat.com>
cvsdist d1a852a
- fixed empty passwd handling in pam_pwdb
cvsdist d1a852a
cvsdist d1a852a
* Mon Mar 29 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- changed /dev/cdrom default user permissions back to 0600 in console.perms
cvsdist d1a852a
  because some cdrom players open O_RDWR.
cvsdist d1a852a
cvsdist d1a852a
* Fri Mar 26 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- added /dev/jaz and /dev/zip to console.perms
cvsdist d1a852a
cvsdist d1a852a
* Thu Mar 25 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- changed the default user permissions for /dev/cdrom to 0400 in console.perms
cvsdist d1a852a
cvsdist d1a852a
* Fri Mar 19 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- fixed a few bugs in pam_console
cvsdist d1a852a
cvsdist d1a852a
* Thu Mar 18 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- pam_console authentication working
cvsdist d1a852a
- added /etc/security/console.apps directory
cvsdist d1a852a
cvsdist d1a852a
* Mon Mar 15 1999 Michael K. Johnson <johnsonm@redhat.com>
cvsdist d1a852a
- added pam_console files to filelist
cvsdist d1a852a
cvsdist d1a852a
* Fri Feb 12 1999 Cristian Gafton <gafton@redhat.com>
cvsdist d1a852a
- upgraded to 0.66, some source cleanups
cvsdist d1a852a
cvsdist d1a852a
* Mon Dec 28 1998 Cristian Gafton <gafton@redhat.com>
cvsdist d1a852a
- add patch from Savochkin Andrey Vladimirovich <saw@msu.ru> for umask
cvsdist d1a852a
  security risk
cvsdist d1a852a
cvsdist d1a852a
* Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
cvsdist d1a852a
- upgrade to ver 0.65
cvsdist d1a852a
- build the package out of internal CVS server
cvsdist d1a852a