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