managing user accounts. The groupadd, groupdel, and groupmod commands
are used for managing group accounts.
+%package -n login
+Summary: system login tools
+Group: System/Base
+
+%description -n login
+These tools are required to be able to login and use your system. The
+login program invokes your user shell and enables command execution. The
+newgrp program is used to change your effective group ID (useful for
+workgroup type situations). The su program allows changing your effective
+user ID (useful being able to execute commands as another user).
+
+%package -n passwd
+Summary: Change and administer password and group data
+Group: System/Base
+
+%description -n passwd
+Change and administer password and group data
+This package includes passwd, chsh, chfn, and many other programs to
+maintain password and group data.
+
%prep
%setup -q
%build
-%configure \
- --without-libcrack \
- --without-audit \
- --mandir=/usr/share/man \
- --without-libpam \
- --without-selinux \
- --enable-shadowgrp \
- --disable-man \
- --disable-account-tools-setuid \
- --with-group-name-max-length=32 \
- --disable-nls
+%configure --without-libcrack --without-audit --mandir=/usr/share/man --without-libpam --without-selinux --enable-shadowgrp --disable-man --disable-account-tools-setuid --with-group-name-max-length=32 --disable-nls
make
%remove_docs
-%files
+
+
+%files -n login
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/login.defs
%exclude %{_sysconfdir}/securetty
%{_sbindir}/nologin
%{_bindir}/sg
/bin/login
/bin/su
+
+%files -n passwd
%dir %{_sysconfdir}/default
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/default/useradd
/sbin/shadowconfig
%{_bindir}/chage
-%exclude %{_bindir}/chfn
-%exclude %{_bindir}/chsh
-%exclude %{_bindir}/expiry
+%{_bindir}/chfn
+%{_bindir}/chsh
+%{_bindir}/expiry
%{_bindir}/gpasswd
%{_bindir}/passwd
%{_sbindir}/chpasswd
-%exclude %{_sbindir}/chgpasswd
+%{_sbindir}/chgpasswd
%{_sbindir}/groupadd
%{_sbindir}/groupdel
%{_sbindir}/groupmod
%{_sbindir}/pwunconv
%{_sbindir}/useradd
%{_sbindir}/userdel
-%exclude %{_sbindir}/usermod
+%{_sbindir}/usermod
%{_sbindir}/vipw
%{_sbindir}/vigr