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: Applications/System
11 Group(de): Applikationen/System
12 Group(pl): Aplikacje/System
13 Source0: ftp://ftp.pld.org.pl/software/shadow/%{name}-%{version}.tar.gz
14 Source1: %{name}-login.defs
15 Source2: %{name}.useradd
21 Patch1: %{name}-pld.patch
22 Patch2: %{name}-utmpx.patch
23 BuildRequires: pam-devel
24 Provides: shadow-utils
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Obsoletes: shadow-utils
30 This package includes the programs necessary to convert standard UNIX
31 password files to the shadow password format, as well as programs for
32 command-line management of the user's accounts.
33 - 'pwconv' converts everything to the shadow password format.
34 - 'pwunconv' unconverts from shadow passwords, generating a file in
35 the current directory called npasswd that is a standard UNIX password
37 - 'pwck' checks the integrity of the password and shadow files.
38 - 'lastlog' prints out the last login times of all users.
39 - 'useradd', 'userdel' and 'usermod' for accounts management.
40 - 'groupadd', 'groupdel' and 'groupmod' for group management.
42 A number of man pages are also included that relate to these
43 utilities, and shadow passwords in general.
46 Pakiet zawiera programy do obs³ugi shadow password. Zanjduj± siê w nim
47 programy do konwersji standardowego pliku hase³ do wersji shadow
48 password a tak¿e programy do zarz±danie kontami u¿ytkowników w
50 - 'pwconv' konwertuje do formatu shadow passwords
51 - 'pwunconv' konwertuje z shadow passwords do formatu standardowego
52 pliku hase³. W bierz±cym katalogu tworzy plik npasswd bêd±cy
53 standardowym plikiem z has³ami.
54 - 'lastlog' wy¶wietla czas logowanie u¿ytkowników
55 - 'userdel' i 'usermod' do zarz±dzania kontami u¿ytkowników.
56 - 'groupadd', 'groupdel' and 'groupmod' do zarz±dzania grupami
60 Programy znajduj±ce siê w tym pakiecie s± niezbêdne do prawid³owej
61 pracy twojego systemu i podobnie jak pakiet z bibliotekami systemowymi
62 - glibc nigdy nie powinien zostaæ odinstalowany !
77 --without-included-gettext
81 rm -rf $RPM_BUILD_ROOT
83 %{__make} install DESTDIR=$RPM_BUILD_ROOT
85 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{default,pam.d}
87 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/login.defs
88 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/default/useradd
89 install %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/chage
90 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/shadow
91 install %{SOURCE5} $RPM_BUILD_ROOT/etc/pam.d/chsh
92 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/chfn
93 install %{SOURCE7} $RPM_BUILD_ROOT/etc/pam.d/passwd
95 :> $RPM_BUILD_ROOT%{_sysconfdir}/shadow
97 echo .so pwconv.8 > $RPM_BUILD_ROOT%{_mandir}/man8/pwunconv.8
98 echo .so pwconv.8 > $RPM_BUILD_ROOT%{_mandir}/man8/grpconv.8
99 echo .so pwconv.8 > $RPM_BUILD_ROOT%{_mandir}/man8/grpunconv.8
101 gzip -9nf doc/ANNOUNCE NEWS doc/README doc/README.linux doc/HOWTO
106 if [ ! -f /etc/shadow ]; then
111 rm -rf $RPM_BUILD_ROOT
113 %files -f %{name}.lang
114 %defattr(644,root,root,755)
117 %attr(750,root,root) %dir %{_sysconfdir}/default
118 %attr(640,root,root) %config %verify(not size mtime md5) %{_sysconfdir}/default/*
119 %attr(640,root,root) %config %verify(not size mtime md5) /etc/pam.d/*
121 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/login.defs
122 %attr(400,root,root) %ghost %{_sysconfdir}/shadow
124 %attr(755,root,root) %{_sbindir}/user*
125 %attr(755,root,root) %{_sbindir}/group*
126 %attr(755,root,root) %{_sbindir}/grpck
127 %attr(755,root,root) %{_sbindir}/pwck
128 %attr(755,root,root) %{_sbindir}/*conv
129 %attr(755,root,root) %{_sbindir}/chpasswd
130 %attr(755,root,root) %{_sbindir}/newusers
131 %attr(755,root,root) %{_sbindir}/mkpasswd
132 %attr(755,root,root) %{_bindir}/chage
133 %attr(4755,root,root) %{_bindir}/chfn
134 %attr(4755,root,root) %{_bindir}/chsh
135 %attr(4755,root,root) %{_bindir}/expiry
136 %attr(4755,root,root) %{_bindir}/passwd
137 %attr(4755,root,root) %{_bindir}/gpasswd
138 %attr(755,root,root) %{_bindir}/lastlog
139 %attr(755,root,root) %{_bindir}/faillog
140 %attr(755,root,root) %{_bindir}/sg
142 %{_mandir}/man1/gpasswd.*
143 %{_mandir}/man1/chage.*
144 %{_mandir}/man1/chfn.*
145 %{_mandir}/man1/chsh.*
146 %{_mandir}/man1/passwd.*
147 %{_mandir}/man5/login.defs.*
148 %{_mandir}/man5/passwd.*
149 %{_mandir}/man5/shadow.*
150 %{_mandir}/man5/porttime.*
151 %{_mandir}/man5/faillog.*
152 %{_mandir}/man8/faillog.*
153 %{_mandir}/man8/groupdel.*
154 %{_mandir}/man8/groupmod.*
155 %{_mandir}/man8/grpck.*
156 %{_mandir}/man8/grpconv.*
157 %{_mandir}/man8/logoutd.*
158 %{_mandir}/man8/mkpasswd.*
159 %{_mandir}/man8/newusers.*
160 %{_mandir}/man8/pwck.*
161 %{_mandir}/man8/pwunconv.*
162 %{_mandir}/man8/useradd.*
163 %{_mandir}/man8/userdel.*
164 %{_mandir}/man8/usermod.*
165 %{_mandir}/man8/lastlog.*
166 %{_mandir}/man8/pwconv.*
167 %{_mandir}/man8/chpasswd.*
168 %{_mandir}/man8/groupadd.*
169 %{_mandir}/man8/grpunconv.*
170 %{_mandir}/man8/shadowconfig.*
172 %lang(pl) %{_mandir}/pl/man1/chage.*
173 %lang(pl) %{_mandir}/pl/man1/gpasswd.*
174 %lang(pl) %{_mandir}/pl/man1/chfn.*
175 %lang(pl) %{_mandir}/pl/man1/chsh.*
176 %lang(pl) %{_mandir}/pl/man1/passwd.*
177 %lang(pl) %{_mandir}/pl/man5/faillog.*
178 %lang(pl) %{_mandir}/pl/man5/login.defs.*
179 %lang(pl) %{_mandir}/pl/man5/passwd.*
180 %lang(pl) %{_mandir}/pl/man5/porttime.*
181 %lang(pl) %{_mandir}/pl/man5/shadow.*
182 %lang(pl) %{_mandir}/pl/man8/chpasswd.*
183 %lang(pl) %{_mandir}/pl/man8/faillog.*
184 %lang(pl) %{_mandir}/pl/man8/groupadd.*
185 %lang(pl) %{_mandir}/pl/man8/groupdel.*
186 %lang(pl) %{_mandir}/pl/man8/groupmod.*
187 %lang(pl) %{_mandir}/pl/man8/grpck.*
188 %lang(pl) %{_mandir}/pl/man8/lastlog.*
189 %lang(pl) %{_mandir}/pl/man8/logoutd.*
190 %lang(pl) %{_mandir}/pl/man8/mkpasswd.*
191 %lang(pl) %{_mandir}/pl/man8/newusers.*
192 %lang(pl) %{_mandir}/pl/man8/pwck.*
193 %lang(pl) %{_mandir}/pl/man8/pwconv.*
194 %lang(pl) %{_mandir}/pl/man8/shadowconfig.*
195 %lang(pl) %{_mandir}/pl/man8/useradd.*
196 %lang(pl) %{_mandir}/pl/man8/userdel.*
197 %lang(pl) %{_mandir}/pl/man8/usermod.*