2004-09-09 12:26:35 +00:00
|
|
|
%if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
|
2004-09-09 12:28:02 +00:00
|
|
|
%define WITH_SELINUX 1
|
2004-09-09 12:26:35 +00:00
|
|
|
%endif
|
|
|
|
|
2004-09-09 12:28:02 +00:00
|
|
|
%define utf8_man_pages 1
|
|
|
|
|
2004-09-09 12:21:46 +00:00
|
|
|
Summary: Utilities for managing accounts and shadow password files.
|
2004-09-09 12:21:14 +00:00
|
|
|
Name: shadow-utils
|
2005-08-27 15:35:09 +00:00
|
|
|
Version: 4.0.12
|
2005-09-20 12:48:57 +00:00
|
|
|
Release: 3
|
2004-09-09 12:25:47 +00:00
|
|
|
Epoch: 2
|
|
|
|
URL: http://shadow.pld.org.pl/
|
|
|
|
Source0: ftp://ftp.pld.org.pl/software/shadow/shadow-%{version}.tar.bz2
|
2004-09-09 12:21:14 +00:00
|
|
|
Source1: shadow-970616.login.defs
|
|
|
|
Source2: shadow-970616.useradd
|
2005-08-27 15:35:09 +00:00
|
|
|
Patch0: shadow-4.0.12-redhat.patch
|
2004-09-09 12:25:47 +00:00
|
|
|
Patch1: shadow-4.0.3-noinst.patch
|
2005-08-05 11:48:41 +00:00
|
|
|
Patch2: shadow-4.0.11.1-vipw.patch
|
|
|
|
Patch3: shadow-4.0.3-goodname.patch
|
2005-08-27 15:35:09 +00:00
|
|
|
Patch4: shadow-4.0.11.1-newgrpPwd.patch
|
|
|
|
Patch5: shadow-4.0.11.1-isSelinuxEnabled.patch
|
|
|
|
Patch6: shadow-4.0.11.1-selinux.patch
|
2005-09-01 11:46:33 +00:00
|
|
|
Patch7: shadow-4.0.12-audit.patch
|
2004-09-09 12:21:33 +00:00
|
|
|
License: BSD
|
2004-09-09 12:21:14 +00:00
|
|
|
Group: System Environment/Base
|
2004-09-09 12:31:35 +00:00
|
|
|
BuildRequires: autoconf, automake, libtool, gettext-devel
|
2005-08-13 10:46:50 +00:00
|
|
|
BuildRequires: libselinux-devel >= 1.25.2-1
|
2005-09-01 11:46:33 +00:00
|
|
|
BuildRequires: audit-libs-devel >= 0.9.8
|
2004-09-09 12:21:24 +00:00
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
2005-08-13 10:46:50 +00:00
|
|
|
Requires: libselinux >= 1.25.2-1
|
2005-09-01 11:46:33 +00:00
|
|
|
Requires: audit-libs >= 0.9.8
|
2004-09-09 12:21:14 +00:00
|
|
|
Obsoletes: adduser
|
|
|
|
|
|
|
|
%description
|
|
|
|
The shadow-utils package includes the necessary programs for
|
|
|
|
converting UNIX password files to the shadow password format, plus
|
2004-09-09 12:21:54 +00:00
|
|
|
programs for managing user and group accounts. The pwconv command
|
|
|
|
converts passwords to the shadow password format. The pwunconv command
|
|
|
|
unconverts shadow passwords and generates an npasswd file (a standard
|
|
|
|
UNIX password file). The pwck command checks the integrity of password
|
|
|
|
and shadow files. The lastlog command prints out the last login times
|
|
|
|
for all users. The useradd, userdel, and usermod commands are used for
|
|
|
|
managing user accounts. The groupadd, groupdel, and groupmod commands
|
|
|
|
are used for managing group accounts.
|
2004-09-09 12:21:14 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n shadow-%{version}
|
|
|
|
%patch0 -p1 -b .redhat
|
2004-09-09 12:25:47 +00:00
|
|
|
%patch1 -p1 -b .noinst
|
2005-08-05 11:48:41 +00:00
|
|
|
%patch2 -p1 -b .vipw
|
|
|
|
%patch3 -p1 -b .goodname
|
2005-08-27 15:35:09 +00:00
|
|
|
%patch4 -p1 -b .newgrpPwd
|
|
|
|
%patch5 -p1 -b .isSelinuxEnabled
|
|
|
|
%patch6 -p1 -b .selinux
|
2005-09-01 11:46:33 +00:00
|
|
|
%patch7 -p1 -b .audit
|
2005-02-21 15:45:47 +00:00
|
|
|
|
2004-09-09 12:25:11 +00:00
|
|
|
rm po/*.gmo
|
2005-03-02 13:32:00 +00:00
|
|
|
rm po/stamp-po
|
2004-09-09 12:26:35 +00:00
|
|
|
|
|
|
|
# Recode man pages from euc-jp to UTF-8.
|
|
|
|
manconv() {
|
|
|
|
flags="$-"
|
|
|
|
set +x
|
|
|
|
incode=$1
|
|
|
|
outcode=$2
|
|
|
|
shift 2
|
|
|
|
for page in $* ; do
|
|
|
|
if ! iconv -f ${outcode} -t ${outcode} ${page} > /dev/null 2> /dev/null ; then
|
|
|
|
if iconv -f ${incode} -t ${outcode} ${page} > /dev/null 2> /dev/null ; then
|
|
|
|
iconv -f ${incode} -t ${outcode} ${page} > ${page}.tmp && \
|
|
|
|
cat ${page}.tmp > ${page} && \
|
|
|
|
rm ${page}.tmp
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
set -"$flags"
|
|
|
|
}
|
2004-09-09 12:28:02 +00:00
|
|
|
%if %{utf8_man_pages}
|
2004-09-09 12:26:35 +00:00
|
|
|
manconv euc-jp utf-8 man/ja/*.*
|
2004-10-13 16:07:45 +00:00
|
|
|
manconv iso-8859-1 utf-8 man/de/*
|
|
|
|
manconv iso-8859-1 utf-8 man/fr/*
|
|
|
|
manconv iso-8859-1 utf-8 man/it/*
|
|
|
|
manconv iso-8859-1 utf-8 man/pt_BR/*
|
|
|
|
manconv iso-8859-2 utf-8 man/hu/*
|
|
|
|
manconv iso-8859-2 utf-8 man/pl/*
|
2005-03-07 10:48:25 +00:00
|
|
|
manconv iso-8859-2 utf-8 man/cs/*
|
|
|
|
manconv iso-8859-1 utf-8 man/es/*
|
|
|
|
manconv koi8-u utf-8 man/ru/*
|
|
|
|
manconv euc-kr utf-8 man/ko/*.*
|
|
|
|
manconv gb2312 utf-8 man/zh_CN/*.*
|
|
|
|
manconv big5 utf-8 man/zh_TW/*.*
|
2004-09-09 12:28:02 +00:00
|
|
|
%endif
|
2004-09-09 12:26:35 +00:00
|
|
|
|
2004-09-09 12:31:32 +00:00
|
|
|
libtoolize --force
|
2004-09-09 12:25:47 +00:00
|
|
|
aclocal
|
|
|
|
automake -a
|
2004-09-09 12:26:35 +00:00
|
|
|
autoconf
|
2004-09-09 12:22:58 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 12:25:47 +00:00
|
|
|
%configure \
|
|
|
|
--disable-desrpc \
|
|
|
|
--enable-shadowgrp \
|
|
|
|
--without-libcrack \
|
|
|
|
--with-libcrypt \
|
2004-09-09 12:30:44 +00:00
|
|
|
%if %{WITH_SELINUX}
|
|
|
|
--with-selinux \
|
|
|
|
%endif
|
2004-09-09 12:25:47 +00:00
|
|
|
--without-libpam \
|
|
|
|
--disable-shared
|
2004-09-09 12:21:14 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2004-09-09 12:26:35 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT gnulocaledir=$RPM_BUILD_ROOT/%{_datadir}/locale MKINSTALLDIRS=`pwd`/mkinstalldirs
|
2004-09-09 12:30:44 +00:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/default
|
2004-09-09 12:21:14 +00:00
|
|
|
install -c -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/etc/login.defs
|
|
|
|
install -c -m 0600 %{SOURCE2} $RPM_BUILD_ROOT/etc/default/useradd
|
|
|
|
|
2004-09-09 12:25:47 +00:00
|
|
|
|
2005-03-02 13:32:00 +00:00
|
|
|
ln -s useradd $RPM_BUILD_ROOT%{_sbindir}/adduser
|
|
|
|
ln -s %{_mandir}/man8/useradd.8 $RPM_BUILD_ROOT/%{_mandir}/man8/adduser.8
|
|
|
|
for subdir in $RPM_BUILD_ROOT/%{_mandir}/{??,??_??,??_??.*}/man* ; do
|
|
|
|
test -d $subdir && test -e $subdir/useradd.8 && echo ".so man8/useradd.8" > $subdir/adduser.8
|
2004-09-09 12:28:02 +00:00
|
|
|
done
|
|
|
|
|
2004-09-09 12:25:47 +00:00
|
|
|
# Remove binaries we don't use.
|
|
|
|
rm $RPM_BUILD_ROOT/%{_bindir}/chfn
|
|
|
|
rm $RPM_BUILD_ROOT/%{_bindir}/chsh
|
|
|
|
rm $RPM_BUILD_ROOT/%{_bindir}/expiry
|
|
|
|
rm $RPM_BUILD_ROOT/%{_bindir}/groups
|
|
|
|
rm $RPM_BUILD_ROOT/%{_bindir}/login
|
|
|
|
rm $RPM_BUILD_ROOT/%{_bindir}/passwd
|
|
|
|
rm $RPM_BUILD_ROOT/%{_bindir}/su
|
|
|
|
rm $RPM_BUILD_ROOT/%{_sbindir}/logoutd
|
|
|
|
rm $RPM_BUILD_ROOT/%{_sbindir}/vipw
|
2005-05-23 18:32:46 +00:00
|
|
|
rm $RPM_BUILD_ROOT/%{_sbindir}/vigr
|
2004-09-09 12:25:47 +00:00
|
|
|
|
2005-03-02 13:32:00 +00:00
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man1/id.*
|
2004-09-09 12:25:47 +00:00
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man1/chfn.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man1/chfn.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man1/chsh.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man1/chsh.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man1/expiry.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man1/expiry.*
|
2005-03-02 13:32:00 +00:00
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man1/groups.*
|
2004-09-09 12:25:47 +00:00
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man1/groups.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man1/login.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man1/login.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man1/passwd.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man1/passwd.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man1/su.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man1/su.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man5/limits.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man5/limits.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man5/login.access.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man5/login.access.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man5/passwd.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man5/passwd.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man5/porttime.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man5/porttime.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man5/suauth.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man5/suauth.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man8/logoutd.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man8/logoutd.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man8/vipw.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man8/vipw.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/man8/vigr.*
|
|
|
|
rm $RPM_BUILD_ROOT/%{_mandir}/*/man8/vigr.*
|
|
|
|
|
2004-09-09 12:21:24 +00:00
|
|
|
%find_lang shadow
|
2004-09-09 12:21:14 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2004-09-09 12:21:24 +00:00
|
|
|
%files -f shadow.lang
|
2004-09-09 12:21:14 +00:00
|
|
|
%defattr(-,root,root)
|
2005-03-02 13:32:00 +00:00
|
|
|
%doc NEWS doc/HOWTO doc/LICENSE README doc/README.linux
|
2004-09-09 12:21:14 +00:00
|
|
|
%dir /etc/default
|
|
|
|
%attr(0644,root,root) %config /etc/login.defs
|
|
|
|
%attr(0600,root,root) %config /etc/default/useradd
|
|
|
|
%{_bindir}/sg
|
|
|
|
%{_bindir}/chage
|
|
|
|
%{_bindir}/faillog
|
|
|
|
%{_bindir}/gpasswd
|
|
|
|
%{_bindir}/lastlog
|
2005-03-29 14:41:27 +00:00
|
|
|
%{_bindir}/newgrp
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_sbindir}/adduser
|
|
|
|
%{_sbindir}/user*
|
|
|
|
%{_sbindir}/group*
|
|
|
|
%{_sbindir}/grpck
|
|
|
|
%{_sbindir}/pwck
|
|
|
|
%{_sbindir}/*conv
|
|
|
|
%{_sbindir}/chpasswd
|
|
|
|
%{_sbindir}/newusers
|
|
|
|
%{_mandir}/man1/chage.1*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man1/chage.1*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man1/gpasswd.1*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man1/gpasswd.1*
|
|
|
|
%{_mandir}/man1/sg.1*
|
|
|
|
%{_mandir}/*/man1/sg.1*
|
2005-03-29 14:41:27 +00:00
|
|
|
%{_mandir}/man1/newgrp.1*
|
|
|
|
%{_mandir}/*/man1/newgrp.1*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man3/shadow.3*
|
2005-08-27 15:35:09 +00:00
|
|
|
%{_mandir}/*/man3/shadow.3*
|
2005-08-08 13:21:05 +00:00
|
|
|
%{_mandir}/man3/getspnam.3*
|
2005-08-27 15:35:09 +00:00
|
|
|
%{_mandir}/*/man3/getspnam.3*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man5/shadow.5*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man5/shadow.5*
|
2005-09-20 12:48:57 +00:00
|
|
|
%{_mandir}/man5/login.defs.5*
|
|
|
|
%{_mandir}/*/man5/login.defs.5*
|
2005-08-27 15:35:09 +00:00
|
|
|
%{_mandir}/man5/gshadow.5*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man5/faillog.5*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man5/faillog.5*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man8/adduser.8*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man8/adduser.8*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man8/group*.8*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man8/group*.8*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man8/user*.8*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man8/user*.8*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man8/pwck.8*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man8/pwck.8*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man8/grpck.8*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man8/grpck.8*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man8/chpasswd.8*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man8/chpasswd.8*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man8/newusers.8*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man8/newusers.8*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man8/*conv.8*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man8/*conv.8*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man8/lastlog.8*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man8/lastlog.8*
|
2004-09-09 12:21:14 +00:00
|
|
|
%{_mandir}/man8/faillog.8*
|
2004-09-09 12:25:47 +00:00
|
|
|
%{_mandir}/*/man8/faillog.8*
|
2004-09-09 12:21:14 +00:00
|
|
|
|
|
|
|
%changelog
|
2005-09-20 12:48:57 +00:00
|
|
|
* Tue Sep 20 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.12-3
|
|
|
|
- provide login.defs man page
|
|
|
|
- adjust audit patch
|
|
|
|
|
2005-09-01 11:46:33 +00:00
|
|
|
* Tue Aug 30 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.12-2
|
|
|
|
- audit support
|
|
|
|
|
2005-08-27 15:35:09 +00:00
|
|
|
* Sat Aug 27 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.12-1
|
|
|
|
- upgrade
|
|
|
|
|
2005-08-13 10:46:50 +00:00
|
|
|
* Sat Aug 13 2005 Dan Walsh <dwalsh@redhat.com> 2:4.0.11.1-5
|
|
|
|
- Change to use new selinux api for selinux_check_passwd_access
|
|
|
|
|
2005-08-09 15:12:21 +00:00
|
|
|
* Tue Aug 09 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.11.1-4
|
|
|
|
- change the password last changed field in the shadow file
|
|
|
|
when "usermod -p" is used (#164943)
|
|
|
|
|
2005-08-08 13:21:05 +00:00
|
|
|
* Mon Aug 08 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.11.1-3
|
|
|
|
- provide getspnam.3 man page(#162476)
|
|
|
|
- fix useradd man page(#97131)
|
|
|
|
|
2005-08-08 08:46:33 +00:00
|
|
|
* Mon Aug 08 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.11.1-2
|
|
|
|
- do not copy files from skel directory if home directory
|
|
|
|
already exist (#89591,#80242)
|
|
|
|
|
2005-08-05 11:48:41 +00:00
|
|
|
* Fri Aug 05 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.11.1-1
|
|
|
|
- upgrade
|
|
|
|
|
2005-05-23 18:32:46 +00:00
|
|
|
* Mon May 23 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.7-9
|
|
|
|
- remove vigr binary
|
|
|
|
|
2005-05-23 09:18:50 +00:00
|
|
|
* Mon May 23 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.7-8
|
|
|
|
- fix nscd socket path
|
|
|
|
|
2005-04-29 20:05:29 +00:00
|
|
|
* Fri Apr 29 2005 Jeremy Katz <katzj@redhat.com> - 2:4.0.7-7
|
|
|
|
- don't assume selinux is enabled if is_selinux_enabled() returns -1
|
|
|
|
|
2005-04-19 09:01:26 +00:00
|
|
|
* Mon Apr 18 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.7-6
|
|
|
|
- fix chage -l option (#109499, #137498)
|
|
|
|
|
2005-04-04 08:57:42 +00:00
|
|
|
* Mon Apr 04 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.7-5
|
|
|
|
- fix memory leak, and CPU spinning when grp_update() and
|
|
|
|
duplicate group entries in /etc/group (#151484)
|
|
|
|
|
2005-03-29 14:41:27 +00:00
|
|
|
* Mon Mar 29 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.7-4
|
|
|
|
- use newgrp binary
|
|
|
|
- newgrp don't ask for password if user's default GID = group ID,
|
|
|
|
ask for password if there is some in /etc/gshadow
|
|
|
|
and in /etc/group is 'x' (#149997)
|
|
|
|
|
2005-03-14 09:08:24 +00:00
|
|
|
* Mon Mar 14 2005 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
- gcc4 fix (#150994) 2:4.0.7-3
|
|
|
|
|
2005-03-07 10:48:25 +00:00
|
|
|
* Mon Mar 07 2005 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
- man pages cs,es,ko,ru,zh_CN,zh_TW to UTF-8
|
|
|
|
|
2005-03-02 13:32:00 +00:00
|
|
|
* Wed Mar 02 2005 Peter Vrabec <pvrabec@redhat.com>
|
|
|
|
- upgrade 2:4.0.7-1
|
|
|
|
|
2005-02-25 15:24:52 +00:00
|
|
|
* Fri Feb 25 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.3-59
|
|
|
|
- static limit on group count to dynamic (#125510, #148994, #147742)
|
|
|
|
|
|
|
|
* Mon Feb 21 2005 Peter Vrabec <pvrabec@redhat.com> 2:4.0.3-58
|
2005-02-21 15:45:47 +00:00
|
|
|
- add "-l" option #146214
|
|
|
|
|
2005-02-14 09:49:07 +00:00
|
|
|
* Mon Feb 14 2005 Adrian Havill <havill@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-02-09 20:48:25 +00:00
|
|
|
* Wed Feb 9 2005 Dan Walsh <dwalsh@redhat.com> 2:4.0.3-39
|
2005-02-09 20:42:15 +00:00
|
|
|
- Change useradd to use matchpathcon
|
|
|
|
|
2004-10-21 18:28:28 +00:00
|
|
|
* Thu Oct 21 2004 Dan Walsh <dwalsh@redhat.com> 2:4.0.3-37
|
|
|
|
- Add matchpathcon to create the files correctly when they do not exist.
|
|
|
|
|
2004-10-18 19:55:19 +00:00
|
|
|
* Mon Oct 18 2004 Miloslav Trmac <mitr@redhat.com> - 2:4.0.3-36
|
|
|
|
- Change symlink ownership when copying from /etc/skel (#66819, patch by
|
|
|
|
Michael Weiser)
|
|
|
|
|
2004-10-15 17:49:54 +00:00
|
|
|
* Fri Oct 15 2004 Adrian Havill <havill@redhat.com> 2:4.0.3-35
|
|
|
|
- make the limit for the group name the same as the username (determined
|
|
|
|
by the header files, rather than a constant) (#56850)
|
|
|
|
|
2004-10-13 16:07:45 +00:00
|
|
|
* Wed Oct 13 2004 Adrian Havill <havill@redhat.com> 2:4.0.3-33
|
|
|
|
- allow for mixed case and dots in usernames (#135401)
|
|
|
|
- all man pages to UTF-8, not just Japanese (#133883)
|
|
|
|
- add Polish blurb for useradd -n man page option (#82177)
|
2004-10-13 14:50:48 +00:00
|
|
|
|
2004-10-12 20:03:44 +00:00
|
|
|
* Tue Oct 12 2004 Adrian Havill <havill@redhat.com> 2:4.0.3-31
|
|
|
|
- check for non-standard legacy place for ncsd HUP (/var/run/nscd.pid) and
|
|
|
|
then the std FHS place (/var/run/nscd.pid) (#125421)
|
|
|
|
|
2004-10-01 20:22:26 +00:00
|
|
|
* Fri Oct 1 2004 Dan Walsh <dwalsh@redhat.com> 2:4.0.3-30
|
|
|
|
- Add checkPasswdAccess for chage in SELinux
|
|
|
|
|
2004-09-27 19:23:08 +00:00
|
|
|
* Sun Sep 26 2004 Adrian Havill <riel@redhat.com> 2:4.0.3-29
|
2004-09-27 19:22:34 +00:00
|
|
|
- always unlock all files on any exit (#126709)
|
2004-09-26 20:56:15 +00:00
|
|
|
|
2004-09-09 12:31:35 +00:00
|
|
|
* Tue Aug 24 2004 Warren Togami <wtogami@redhat.com> 2:4.0.3-26
|
|
|
|
- #126596 fix Req and BuildReqs
|
|
|
|
|
2004-09-09 12:31:32 +00:00
|
|
|
* Sun Aug 1 2004 Alan Cox <alan@redhat.com> 4.0.3-25
|
|
|
|
- Fix build deps etc, move to current auto* (Steve Grubb)
|
|
|
|
|
2004-09-09 12:31:10 +00:00
|
|
|
* Sat Jul 10 2004 Alan Cox <alan@redhat.com> 4.0.3-24
|
|
|
|
- Fix nscd path. This fixes various stale data caching bugs (#125421)
|
|
|
|
|
2004-09-09 12:30:44 +00:00
|
|
|
* Thu Jun 17 2004 Dan Walsh <dwalsh@redhat.com> 4.0.3-23
|
|
|
|
- Add get_enforce checks
|
|
|
|
- Clean up patch for potential upstream submission
|
|
|
|
- Add removemalloc patch to get it to build on 3.4
|
|
|
|
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Mar 30 2004 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-21
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Tue Mar 30 2004 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-20
|
|
|
|
- make /etc/default world-readable, needed for #118338
|
|
|
|
|
2004-09-09 12:28:38 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 12:28:02 +00:00
|
|
|
* Wed Jan 21 2004 Dan Walsh <dwalsh@redhat.com> 4.0.3-18
|
|
|
|
- Fix selinux relabel of /etc/passwd file
|
|
|
|
|
|
|
|
* Wed Jan 7 2004 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-17
|
|
|
|
- fix use of uninitialized memory in useradd (#89145)
|
|
|
|
|
|
|
|
* Tue Dec 16 2003 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-16
|
|
|
|
- back to UTF-8 again
|
|
|
|
- remove getspnam(3) man page, now conflicts with man-pages 1.64
|
|
|
|
|
|
|
|
* Thu Nov 13 2003 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-15
|
|
|
|
- don't convert man pages to UTF-8 for RHEL 3, conditionalized using macro
|
|
|
|
- fixup dangling man page references
|
|
|
|
|
|
|
|
* Mon Nov 10 2003 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-14
|
|
|
|
- lastlog: don't pass a possibly-smaller field to localtime (#109648)
|
|
|
|
- configure: call AC_SYS_LARGEFILE to get large file support
|
|
|
|
|
|
|
|
* Fri Nov 7 2003 Dan Walsh <dwalsh@redhat.com> 4.0.3-13.sel
|
|
|
|
- turn on SELinux support
|
|
|
|
|
2004-09-09 12:26:35 +00:00
|
|
|
* Wed Oct 22 2003 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-12
|
|
|
|
- convert ja man pages to UTF-8 (#106051)
|
|
|
|
- override MKINSTALLDIRS at install-time (#107476)
|
|
|
|
|
|
|
|
* Mon Sep 8 2003 Dan Walsh <dwalsh@redhat.com>
|
|
|
|
- turn off SELinux support
|
|
|
|
|
|
|
|
* Thu Sep 4 2003 Dan Walsh <dwalsh@redhat.com> 4.0.3-11.sel
|
|
|
|
- build with SELinux support
|
|
|
|
|
|
|
|
* Fri Jul 28 2003 Dan Walsh <dwalsh@redhat.com> 4.0.3-10
|
|
|
|
- Add SELinux support
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Jun 4 2003 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-8
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Tue Jun 3 2003 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-7
|
|
|
|
- run autoconf to generate updated configure at compile-time
|
|
|
|
|
2004-09-09 12:25:47 +00:00
|
|
|
* Wed Feb 12 2003 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-6
|
|
|
|
- adjust mailspool patch to complain if no group named "mail" exists, even
|
|
|
|
though that should never happen
|
|
|
|
|
|
|
|
* Tue Feb 11 2003 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-5
|
2004-09-09 12:25:27 +00:00
|
|
|
- fix perms on mailspools created by useradd to be owned by the "mail"
|
|
|
|
group (#59810)
|
|
|
|
|
2004-09-09 12:25:47 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Dec 9 2002 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-3
|
|
|
|
- install the shadow.3 man page
|
|
|
|
|
|
|
|
* Mon Nov 25 2002 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-2
|
|
|
|
- disable use of cracklib at build-time
|
|
|
|
- fixup reserved-account changes for useradd
|
|
|
|
|
|
|
|
* Thu Nov 21 2002 Nalin Dahyabhai <nalin@redhat.com> 4.0.3-1
|
|
|
|
- update to 4.0.3, bumping epoch
|
|
|
|
|
|
|
|
* Mon Nov 18 2002 Nalin Dahyabhai <nalin@redhat.com> 20000902-14
|
|
|
|
- remove man pages which conflict with the man-pages package(s)
|
|
|
|
|
|
|
|
* Fri Nov 15 2002 Nalin Dahyabhai <nalin@redhat.com> 20000902-13
|
|
|
|
- prevent libshadow from being built more than once, to keep automake happy
|
|
|
|
- change how md5 and md5crypt are enabled, to keep autoconf happy
|
|
|
|
- remove unpackaged files after %%install
|
|
|
|
|
2004-09-09 12:25:11 +00:00
|
|
|
* Thu Aug 29 2002 Nalin Dahyabhai <nalin@redhat.com> 20000902-12
|
|
|
|
- force .mo files to be regenerated with current gettext to flush out possible
|
|
|
|
problems
|
|
|
|
- fixup non-portable encodings in translations
|
|
|
|
- make sv translation header non-fuzzy so that it will be included (#71281)
|
|
|
|
|
|
|
|
* Fri Aug 23 2002 Nalin Dahyabhai <nalin@redhat.com> 20000902-11
|
2004-09-09 12:25:08 +00:00
|
|
|
- don't apply aging parameters when creating system accounts (#67408)
|
|
|
|
|
2004-09-09 12:25:04 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 12:23:59 +00:00
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Fri May 17 2002 Nalin Dahyabhai <nalin@redhat.com> 20000902-8
|
|
|
|
- rebuild in new environment
|
|
|
|
|
2004-09-09 12:23:34 +00:00
|
|
|
* Wed Mar 27 2002 Nalin Dahyabhai <nalin@redhat.com> 20000902-7
|
|
|
|
- rebuild with proper defines to get support for large lastlog files (#61983)
|
|
|
|
|
2004-09-09 12:22:58 +00:00
|
|
|
* Fri Feb 22 2002 Nalin Dahyabhai <nalin@redhat.com> 20000902-6
|
|
|
|
- rebuild
|
2004-09-09 12:22:49 +00:00
|
|
|
|
2004-09-09 12:22:58 +00:00
|
|
|
* Fri Jan 25 2002 Nalin Dahyabhai <nalin@redhat.com> 20000902-5
|
|
|
|
- fix autoheader breakage and random other things autotools complain about
|
2004-09-09 12:22:19 +00:00
|
|
|
|
2004-09-09 12:21:54 +00:00
|
|
|
* Mon Aug 27 2001 Nalin Dahyabhai <nalin@redhat.com> 20000902-4
|
|
|
|
- use -O0 instead of -O on ia64
|
|
|
|
- build in source directory
|
|
|
|
- don't leave lock files on the filesystem when useradd creates a group for
|
|
|
|
the user (#50269)
|
|
|
|
- fix the -o option to check for duplicate UIDs instead of login names (#52187)
|
|
|
|
|
|
|
|
* Thu Jul 26 2001 Bill Nottingham <notting@redhat.com> 20000902-3
|
2004-09-09 12:21:46 +00:00
|
|
|
- build with -O on ia64
|
|
|
|
|
2004-09-09 12:21:54 +00:00
|
|
|
* Fri Jun 08 2001 Than Ngo <than@redhat.com> 20000902-2
|
2004-09-09 12:21:33 +00:00
|
|
|
- fixup broken specfile
|
|
|
|
|
|
|
|
* Tue May 22 2001 Bernhard Rosenkraenzer <bero@redhat.com> 20000902-1
|
|
|
|
- Create an empty mailspool when creating a user so non-setuid/non-setgid
|
|
|
|
MDAs (postfix+procmail) can deliver mail (#41811)
|
|
|
|
- 20000902
|
|
|
|
- adapt patches
|
|
|
|
|
2004-09-09 12:21:24 +00:00
|
|
|
* Fri Mar 9 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- don't overwrite user dot files in useradd (#19982)
|
|
|
|
- truncate new files when moving overwriting files with the contents of other
|
|
|
|
files while moving directories (keeps files from looking weird later on)
|
|
|
|
- configure using %%{_prefix} as the prefix
|
|
|
|
|
2004-09-09 12:26:35 +00:00
|
|
|
* Fri Feb 23 2001 Trond Eivind Glomsrxd <teg@redhat.com>
|
2004-09-09 12:21:24 +00:00
|
|
|
- langify
|
|
|
|
|
|
|
|
* Wed Aug 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- Fix up chage behavior (Bug #15883)
|
|
|
|
|
|
|
|
* Wed Aug 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- 20000826
|
|
|
|
- Fix up useradd man page (Bug #17036)
|
|
|
|
|
2004-09-09 12:21:14 +00:00
|
|
|
* Tue Aug 8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- check for vipw lock before adding or deleting users (Bug #6489)
|
|
|
|
|
|
|
|
* Mon Aug 7 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- take LOG_CONS out of the openlog() call so that we don't litter the
|
|
|
|
screen during text-mode upgrades
|
|
|
|
|
|
|
|
* Tue Jul 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- Remove a fixed-size buffer that caused problems when adding a huge number
|
|
|
|
of users to a group (>8192 bytes) (Bugs #3809, #11930)
|
|
|
|
|
|
|
|
* Tue Jul 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- remove dependency on util-linux because it causes prereq loops
|
|
|
|
|
|
|
|
* Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- change symlinked man pages to includers
|
|
|
|
- require /usr/bin/newgrp (util-linux) so that /usr/bin/sg isn't left dangling
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
|
|
|
|
- use mandir for FHS
|
|
|
|
- added patches in src/ and po/ to honor DESTDIR
|
|
|
|
- use make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
* Wed Feb 16 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- Fix up usermod's symlink behavior (Bug #5458)
|
|
|
|
|
|
|
|
* Fri Feb 11 2000 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- get rid of mkpasswd
|
|
|
|
|
|
|
|
* Mon Feb 7 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- fix usermod patch to check for shadow before doing any shadow-specific stuff
|
|
|
|
and merge it into the pwlock patch
|
|
|
|
|
|
|
|
* Sat Feb 5 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- fix man symlinks
|
|
|
|
|
|
|
|
* Wed Feb 2 2000 Nalin Dahyabhai <gafton@redhat.com>
|
|
|
|
- make -p only change shadow password (bug #8923)
|
|
|
|
|
|
|
|
* Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- rebuild to fix dependeencies
|
|
|
|
- man pages are compressed
|
|
|
|
|
|
|
|
* Wed Jan 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- Fix a security bug (adduser could overwrite previously existing
|
|
|
|
groups, Bug #8609)
|
|
|
|
|
|
|
|
* Sun Jan 9 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- unset LINGUAS before building
|
|
|
|
- Fix typo in newusers manpage (Bug #8258)
|
|
|
|
- libtoolize
|
|
|
|
|
|
|
|
* Wed Sep 22 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- fix segfault for userdel when the primary group for the user is not
|
|
|
|
defined
|
|
|
|
|
|
|
|
* Tue Sep 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- Serial: 1 because now we are using 19990827 (why the heck can't they have
|
|
|
|
a normal version just like everybody else?!)
|
|
|
|
- ported all patches to the new code base
|
|
|
|
|
|
|
|
* Thu Apr 15 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
- SIGHUP nscd from usermod, too
|
|
|
|
|
|
|
|
* Fri Apr 09 1999 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- added usermod password locking from Chris Adams <cadams@ro.com>
|
|
|
|
|
|
|
|
* Thu Apr 08 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
- have things that modify users/groups SIGHUP nscd on exit
|
|
|
|
|
|
|
|
* Wed Mar 31 1999 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- have userdel remove user private groups when it is safe to do so
|
|
|
|
- allow -f to force user removal even when user appears busy in utmp
|
|
|
|
|
|
|
|
* Tue Mar 23 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
- edit out unused CHFN fields from login.defs.
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 7)
|
|
|
|
|
|
|
|
* Wed Jan 13 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
- configure fix for arm
|
|
|
|
|
|
|
|
* Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- build against glibc 2.1
|
|
|
|
|
|
|
|
* Fri Aug 21 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- Note that /usr/sbin/mkpasswd conflicts with /usr/bin/mkpasswd;
|
|
|
|
one of these (I think /usr/sbin/mkpasswd but other opinions are valid)
|
|
|
|
should probably be renamed. In any case, mkpasswd.8 from this package
|
|
|
|
needs to be installed. (problem #823)
|
|
|
|
|
|
|
|
* Fri May 08 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Tue Apr 21 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- updated to 980403
|
|
|
|
- redid the patches
|
|
|
|
|
|
|
|
* Tue Dec 30 1997 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- updated the spec file
|
|
|
|
- updated the patch so that new accounts created on shadowed system won't
|
|
|
|
confuse pam_pwdb anymore ('!!' default password instead on '!')
|
|
|
|
- fixed a bug that made useradd -G segfault
|
|
|
|
- the check for the ut_user is now patched into configure
|
|
|
|
|
|
|
|
* Thu Nov 13 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- added patch for XOPEN oddities in glibc headers
|
|
|
|
- check for ut_user before checking for ut_name -- this works around some
|
|
|
|
confusion on glibc 2.1 due to the utmpx header not defining the ut_name
|
|
|
|
compatibility stuff. I used a gross sed hack here because I couldn't make
|
|
|
|
automake work properly on the sparc (this could be a glibc 2.0.99 problem
|
|
|
|
though). The utuser patch works fine, but I don't apply it.
|
|
|
|
- sleep after running autoconf
|
|
|
|
|
|
|
|
* Thu Nov 06 1997 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- added forgot lastlog command to the spec file
|
|
|
|
|
|
|
|
* Mon Oct 26 1997 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- obsoletes adduser
|
|
|
|
|
|
|
|
* Thu Oct 23 1997 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- modified groupadd; updated the patch
|
|
|
|
|
|
|
|
* Fri Sep 12 1997 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- updated to 970616
|
|
|
|
- changed useradd to meet RH specs
|
|
|
|
- fixed some bugs
|
|
|
|
|
|
|
|
* Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|