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 Source0: ftp://piast.t19.ds.pwr.wroc.pl/pub/linux/shadow/%{name}-%{version}.tar.gz
13 Source1: %{name}-login.defs
14 Source2: %{name}.useradd
17 Patch0: shadow-cvs.patch
18 Patch1: shadow-pld.patch
19 Patch2: shadow-utmpx.patch
20 Patch3: shadow-pam-userdb.patch
21 BuildRequires: pam-devel
23 Buildroot: /tmp/%{name}-%{version}-root
26 This package includes the programs necessary to convert standard
27 UNIX password files to the shadow password format, as well as
28 programs for command-line management of the user's accounts.
29 - 'pwconv' converts everything to the shadow password format.
30 - 'pwunconv' unconverts from shadow passwords, generating a file
31 in the current directory called npasswd that is a standard UNIX
33 - 'pwck' checks the integrity of the password and shadow files.
34 - 'lastlog' prints out the last login times of all users.
35 - 'useradd', 'userdel' and 'usermod' for accounts management.
36 - 'groupadd', 'groupdel' and 'groupmod' for group management.
38 A number of man pages are also included that relate to these utilities,
39 and shadow passwords in general.
42 Pakiet zawiera programy do obs³ugi shadow password. Zanjduj± siê w nim
43 programy do konwersji standardowego pliku hase³ do wersji shadow password
44 a tak¿e programy do zarz±danie kontami u¿ytkowników w systemie
45 - 'pwconv' konwertuje do formatu shadow passwords
46 - 'pwunconv' konwertuje z shadow passwords do formatu standardowego
47 pliku hase³. W bierz±cym katalogu tworzy plik npasswd bêd±cy
48 standardowym plikiem z has³ami.
49 - 'lastlog' wy¶wietla czas logowanie u¿ytkowników
50 - 'userdel' i 'usermod' do zarz±dzania kontami
52 - 'groupadd', 'groupdel' and 'groupmod' do zarz±dzania grupami
56 Programy znajduj±ce siê w tym pakiecie s± niezbêdne do prawid³owej pracy
57 twojego systemu i podobnie jak pakiet z bibliotekami systemowymi - glibc
58 nigdy nie powinien zostaæ odinstalowany !
68 libtoolize --copy --force
80 --without-included-gettext
84 rm -rf $RPM_BUILD_ROOT
87 prefix=$RPM_BUILD_ROOT%{_prefix} \
88 exec_prefix=$RPM_BUILD_ROOT \
89 mandir=$RPM_BUILD_ROOT%{_mandir} \
90 infodir$RPM_BUILD_ROOT=%{_infodir} \
93 install -d $RPM_BUILD_ROOT/etc/{default,pam.d}
95 install %{SOURCE1} $RPM_BUILD_ROOT/etc/login.defs
96 install %{SOURCE2} $RPM_BUILD_ROOT/etc/default/useradd
97 install %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/chage
98 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/userdb
100 :> $RPM_BUILD_ROOT/etc/shadow
102 echo .so pwconv.8 > $RPM_BUILD_ROOT%{_mandir}/man8/pwunconv.8
103 echo .so pwconv.8 > $RPM_BUILD_ROOT%{_mandir}/man8/grpconv.8
104 echo .so pwconv.8 > $RPM_BUILD_ROOT%{_mandir}/man8/grpunconv.8
106 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
107 $RPM_BUILD_ROOT%{_mandir}/pl/man*/* \
108 doc/ANNOUNCE doc/CHANGES doc/README doc/README.linux doc/HOWTO
113 if [ ! -f /etc/shadow ]; then
118 rm -rf $RPM_BUILD_ROOT
120 %files -f %{name}.lang
121 %defattr(644,root,root,755)
125 %attr(750,root,root) %dir /etc/default
126 %attr(640,root,root) %config %verify(not size mtime md5) /etc/default/*
127 %attr(644,root,root) %config %verify(not size mtime md5) /etc/pam.d/*
129 %config(noreplace) %verify(not size mtime md5) /etc/login.defs
130 %attr(400,root,root) %ghost /etc/shadow
132 %attr(755,root,root) %{_sbindir}/user*
133 %attr(755,root,root) %{_sbindir}/group*
134 %attr(755,root,root) %{_sbindir}/grpck
135 %attr(755,root,root) %{_sbindir}/pwck
136 %attr(755,root,root) %{_sbindir}/*conv
137 %attr(755,root,root) %{_sbindir}/chpasswd
138 %attr(755,root,root) %{_sbindir}/newusers
139 %attr(755,root,root) %{_sbindir}/mkpasswd
140 %attr(755,root,root) %{_sbindir}/logoutd
141 %attr(755,root,root) %{_bindir}/chage
142 %attr(755,root,root) %{_bindir}/gpasswd
143 %attr(755,root,root) %{_bindir}/lastlog
144 %attr(755,root,root) %{_bindir}/faillog
145 %attr(755,root,root) %{_bindir}/sg
146 %attr(755,root,root) %{_bindir}/expiry
148 %{_mandir}/man1/gpasswd.*
149 %{_mandir}/man1/chage.*
150 %{_mandir}/man3/shadow.*
151 %{_mandir}/man5/login.defs.*
152 %{_mandir}/man5/passwd.*
153 %{_mandir}/man5/shadow.*
154 %{_mandir}/man5/porttime.*
155 %{_mandir}/man5/faillog.*
156 %{_mandir}/man8/dpasswd.*
157 %{_mandir}/man8/faillog.*
158 %{_mandir}/man8/groupdel.*
159 %{_mandir}/man8/groupmod.*
160 %{_mandir}/man8/grpck.*
161 %{_mandir}/man8/grpconv.*
162 %{_mandir}/man8/logoutd.*
163 %{_mandir}/man8/mkpasswd.*
164 %{_mandir}/man8/newusers.*
165 %{_mandir}/man8/pwck.*
166 %{_mandir}/man8/pwunconv.*
167 %{_mandir}/man8/useradd.*
168 %{_mandir}/man8/userdel.*
169 %{_mandir}/man8/usermod.*
170 %{_mandir}/man8/lastlog.*
171 %{_mandir}/man8/pwconv.*
172 %{_mandir}/man8/chpasswd.*
173 %{_mandir}/man8/groupadd.*
174 %{_mandir}/man8/grpunconv.*
175 %{_mandir}/man8/shadowconfig.*
177 %lang(pl) %{_mandir}/pl/man1/change.*
178 %lang(pl) %{_mandir}/pl/man1/gpasswd.*
179 %lang(pl) %{_mandir}/pl/man3/pw_auth.*
180 %lang(pl) %{_mandir}/pl/man5/faillog.*
181 %lang(pl) %{_mandir}/pl/man5/login.defs.*
182 %lang(pl) %{_mandir}/pl/man5/passwd.*
183 %lang(pl) %{_mandir}/pl/man5/porttime.*
184 %lang(pl) %{_mandir}/pl/man5/shadow.*
185 %lang(pl) %{_mandir}/pl/man8/chpasswd.*
186 %lang(pl) %{_mandir}/pl/man8/dpasswd.*
187 %lang(pl) %{_mandir}/pl/man8/faillog.*
188 %lang(pl) %{_mandir}/pl/man8/groupadd.*
189 %lang(pl) %{_mandir}/pl/man8/groupdel.*
190 %lang(pl) %{_mandir}/pl/man8/groupmod.*
191 %lang(pl) %{_mandir}/pl/man8/grpck.*
192 %lang(pl) %{_mandir}/pl/man8/lastlog.*
193 %lang(pl) %{_mandir}/pl/man8/logoutd.*
194 %lang(pl) %{_mandir}/pl/man8/mkpasswd.*
195 %lang(pl) %{_mandir}/pl/man8/newusers.*
196 %lang(pl) %{_mandir}/pl/man8/pwck.*
197 %lang(pl) %{_mandir}/pl/man8/pwconv.*
198 %lang(pl) %{_mandir}/pl/man8/pwuath.*
199 %lang(pl) %{_mandir}/pl/man8/shadowconfig.*
200 %lang(pl) %{_mandir}/pl/man8/useradd.*
201 %lang(pl) %{_mandir}/pl/man8/userdel.*
202 %lang(pl) %{_mandir}/pl/man8/usermod.*