1 Summary: Shadow password file utilities for Linux
2 Summary(de): Shadow-Paßwortdatei-Dienstprogramme für Linux
3 Summary(fr): Fichiers utilitaires pour Shadow password pour Linux.
4 Summary(pl): Narzêdzia do obs³ugi shadow passwords
5 Summary(tr): Gölge parola dosyasý araçlarý
10 Group: Utilities/System
11 Group(pl): Narzêdzia/System
12 URL: ftp://ftp.ists.pwr.wroc.pl/pub/linux/shadow
13 Source0: %{name}-%{version}.tar.gz
14 Source1: %{name}-login.defs
15 Source2: %{name}.useradd
17 Patch0: shadow-man.patch
18 Patch1: shadow-useradd.patch
19 Patch2: shadow-groupadd.patch
20 Patch3: shadow-getdef.patch
21 Buildroot: /tmp/%{name}-%{version}-root
22 Obsoletes: shadow-utils
25 This package includes the programs necessary to convert standard
26 UNIX password files to the shadow password format, as well as
27 programs for command-line management of the user's accounts.
28 - 'pwconv' converts everything to the shadow password format.
29 - 'pwunconv' unconverts from shadow passwords, generating a file
30 in the current directory called npasswd that is a standard UNIX
32 - 'pwck' checks the integrity of the password and shadow files.
33 - 'lastlog' prints out the last login times of all users.
34 - 'useradd', 'userdel' and 'usermod' for accounts management.
35 - 'groupadd', 'groupdel' and 'groupmod' for group management.
37 A number of man pages are also included that relate to these utilities,
38 and shadow passwords in general.
41 Pakiet zawiera programy do obs³ugi shadow password. Zanjduj± siê w nim
42 programy do konwersji standardowego pliku hase³ do wersji shadow password
43 a tak¿e programy do zarz±danie kontami u¿ytkowników w systemie
44 - 'pwconv' konwertuje do formatu shadow passwords
45 - 'pwunconv' konwertuje z shadow passwords do formatu standardowego
46 pliku hase³. W bierz±cym katalogu tworzy plik npasswd bêd±cy
47 standardowym plikiem z has³ami.
48 - 'lastlog' wy¶wietla czas logowanie u¿ytkowników
49 - 'userdel' i 'usermod' do zarz±dzania kontami
51 - 'groupadd', 'groupdel' and 'groupmod' do zarz±dzania grupami
55 Programy znajduj±ce siê w tym pakiecie s± niezbêdne do prawid³owej pracy
56 twojego systemu i podobnie jak pakiet z bibliotekami systemowymi - glibc
57 nigdy nie powinien zostaæ odinstalowany !
68 CFLAGS=$RPM_OPT_FLAGS LDFLAGS=-s \
69 ./configure %{_target} \
77 --without-included-gettext
81 rm -rf $RPM_BUILD_ROOT
83 make install prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT
85 install -d $RPM_BUILD_ROOT/etc/default
87 install %{SOURCE1} $RPM_BUILD_ROOT/etc/login.defs
88 install %{SOURCE2} $RPM_BUILD_ROOT/etc/default/useradd
89 install %{SOURCE3} $RPM_BUILD_ROOT/etc/shells
91 touch $RPM_BUILD_ROOT/etc/shadow
93 echo .so pwconv.8 > $RPM_BUILD_ROOT%{_mandir}/man8/pwunconv.8
94 echo .so pwconv.8 > $RPM_BUILD_ROOT%{_mandir}/man8/grpconv.8
95 echo .so pwconv.8 > $RPM_BUILD_ROOT%{_mandir}/man8/grpunconv.8
97 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man[1358]/* \
98 doc/ANNOUNCE doc/CHANGES doc/README doc/README.linux doc/HOWTO
101 if [ ! -f /etc/shadow ]; then
106 rm -rf $RPM_BUILD_ROOT
109 %defattr(644,root,root,755)
113 %attr(750,root,root) %dir /etc/default
114 %attr(640,root,root) %config %verify(not size mtime md5) /etc/default/*
116 %config(noreplace) %verify(not size mtime md5) /etc/login.defs
117 %config(noreplace) %verify(not size mtime md5) /etc/shells
118 %attr(400,root,root) %config(noreplace) %verify(not size mtime md5) /etc/shadow
120 %attr(755,root,root) %{_sbindir}/user*
121 %attr(755,root,root) %{_sbindir}/group*
122 %attr(755,root,root) %{_sbindir}/grpck
123 %attr(755,root,root) %{_sbindir}/pwck
124 %attr(755,root,root) %{_sbindir}/*conv
125 %attr(755,root,root) %{_sbindir}/chpasswd
126 %attr(755,root,root) %{_sbindir}/newusers
127 %attr(755,root,root) %{_sbindir}/mkpasswd
128 %attr(755,root,root) %{_bindir}/chage
129 %attr(755,root,root) %{_bindir}/gpasswd
130 %attr(755,root,root) %{_bindir}/lastlog
131 %attr(755,root,root) %{_bindir}/faillog
133 %{_mandir}/man1/chage.1.gz
134 %{_mandir}/man1/gpasswd.1.gz
135 %{_mandir}/man3/shadow.3.gz
136 %{_mandir}/man5/shadow.5.gz
137 %{_mandir}/man5/faillog.5.gz
138 %{_mandir}/man8/group*.8.gz
139 %{_mandir}/man8/user*.8.gz
140 %{_mandir}/man8/pwck.8.gz
141 %{_mandir}/man8/grpck.8.gz
142 %{_mandir}/man8/chpasswd.8.gz
143 %{_mandir}/man8/newusers.8.gz
144 %{_mandir}/man8/mkpasswd.8.gz
145 %{_mandir}/man8/*conv.8.gz
146 %{_mandir}/man8/lastlog.8.gz
147 %{_mandir}/man8/faillog.8.gz
149 %lang(el) %{_datadir}/locale/el/LC_MESSAGES/shadow.mo
152 * Tue Feb 02 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
155 - compressed documentation && man pages
158 * Fri Oct 09 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
160 - build against PLD Tornado,
161 - restricted files permissions,
163 - renamed invalid package name to shadow,
164 - added %postin scripts,
165 - fixed pl translation,
168 * Tue Sep 1 1998 Konrad Stêpieñ <konrad@interdata.com.pl>
169 - modify to build non-root
170 - change mkdir to install -d
172 - translations for pl
175 * Fri Aug 21 1998 Jeff Johnson <jbj@redhat.com>
176 - Note that %{_sbindir}/mkpasswd conflicts with %{_bindir}/mkpasswd;
177 one of these (I think %{_sbindir}/mkpasswd but other opinions are valid)
178 should probably be renamed. In any case, mkpasswd.8 from this package
179 needs to be installed. (problem #823)
181 * Fri May 08 1998 Prospector System <bugs@redhat.com>
182 - translations modified for de, fr, tr
184 * Tue Apr 21 1998 Cristian Gafton <gafton@redhat.com>
188 * Tue Dec 30 1997 Cristian Gafton <gafton@redhat.com>
189 - updated the spec file
190 - updated the patch so that new accounts created on shadowed system won't
191 confuse pam_pwdb anymore ('!!' default password instead on '!')
192 - fixed a bug that made useradd -G segfault
193 - the check for the ut_user is now patched into configure
195 * Thu Nov 13 1997 Erik Troan <ewt@redhat.com>
196 - added patch for XOPEN oddities in glibc headers
197 - check for ut_user before checking for ut_name -- this works around some
198 confusion on glibc 2.1 due to the utmpx header not defining the ut_name
199 compatibility stuff. I used a gross sed hack here because I couldn't make
200 automake work properly on the sparc (this could be a glibc 2.0.99 problem
201 though). The utuser patch works fine, but I don't apply it.
202 - sleep after running autoconf
204 * Thu Nov 06 1997 Cristian Gafton <gafton@redhat.com>
205 - added forgot lastlog command to the spec file
207 * Mon Oct 26 1997 Cristian Gafton <gafton@redhat.com>
210 * Thu Oct 23 1997 Cristian Gafton <gafton@redhat.com>
211 - modified groupadd; updated the patch
213 * Fri Sep 12 1997 Cristian Gafton <gafton@redhat.com>
215 - changed useradd to meet RH specs
218 * Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
219 - built against glibc