[svn-upgrade] Integrating new upstream version, shadow (19990709)
This commit is contained in:
8
redhat/Makefile.am
Normal file
8
redhat/Makefile.am
Normal file
@@ -0,0 +1,8 @@
|
||||
# This is a dummy Makefile.am to get automake work flawlessly,
|
||||
# and also cooperate to make a distribution for `make dist'
|
||||
|
||||
EXTRA_DIST = README shadow-utils.spec shadow-utils.spec.in \
|
||||
shadow-970616-fix.patch shadow-970616-glibc.patch \
|
||||
shadow-970616-rh.patch shadow-970616-utuser.patch \
|
||||
shadow-970616.login.defs shadow-970616.useradd \
|
||||
shadow-utils-970616.spec
|
||||
201
redhat/Makefile.in
Normal file
201
redhat/Makefile.in
Normal file
@@ -0,0 +1,201 @@
|
||||
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
# This is a dummy Makefile.am to get automake work flawlessly,
|
||||
# and also cooperate to make a distribution for `make dist'
|
||||
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DISTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
top_builddir = ..
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
transform = @program_transform_name@
|
||||
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
CATALOGS = @CATALOGS@
|
||||
CATOBJEXT = @CATOBJEXT@
|
||||
CC = @CC@
|
||||
CPP = @CPP@
|
||||
DATADIRNAME = @DATADIRNAME@
|
||||
GENCAT = @GENCAT@
|
||||
GMOFILES = @GMOFILES@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
GT_NO = @GT_NO@
|
||||
GT_YES = @GT_YES@
|
||||
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
||||
INSTOBJEXT = @INSTOBJEXT@
|
||||
INTLDEPS = @INTLDEPS@
|
||||
INTLLIBS = @INTLLIBS@
|
||||
INTLOBJS = @INTLOBJS@
|
||||
LD = @LD@
|
||||
LIBCRACK = @LIBCRACK@
|
||||
LIBCRYPT = @LIBCRYPT@
|
||||
LIBPAM = @LIBPAM@
|
||||
LIBSKEY = @LIBSKEY@
|
||||
LIBTCFS = @LIBTCFS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
MSGFMT = @MSGFMT@
|
||||
NM = @NM@
|
||||
PACKAGE = @PACKAGE@
|
||||
POFILES = @POFILES@
|
||||
POSUB = @POSUB@
|
||||
RANLIB = @RANLIB@
|
||||
U = @U@
|
||||
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
YACC = @YACC@
|
||||
l = @l@
|
||||
|
||||
EXTRA_DIST = README shadow-utils.spec shadow-utils.spec.in \
|
||||
shadow-970616-fix.patch shadow-970616-glibc.patch \
|
||||
shadow-970616-rh.patch shadow-970616-utuser.patch \
|
||||
shadow-970616.login.defs shadow-970616.useradd \
|
||||
shadow-utils-970616.spec
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = ../config.h
|
||||
CONFIG_CLEAN_FILES = shadow-utils.spec
|
||||
DIST_COMMON = README Makefile.am Makefile.in shadow-utils.spec.in
|
||||
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
GZIP = --best
|
||||
all: Makefile
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps redhat/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
shadow-utils.spec: $(top_builddir)/config.status shadow-utils.spec.in
|
||||
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
|
||||
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
||||
|
||||
subdir = redhat
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file; \
|
||||
done
|
||||
info:
|
||||
dvi:
|
||||
check: all
|
||||
$(MAKE)
|
||||
installcheck:
|
||||
install-exec:
|
||||
@$(NORMAL_INSTALL)
|
||||
|
||||
install-data:
|
||||
@$(NORMAL_INSTALL)
|
||||
|
||||
install: install-exec install-data all
|
||||
@:
|
||||
|
||||
uninstall:
|
||||
|
||||
install-strip:
|
||||
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||
installdirs:
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
||||
|
||||
clean-generic:
|
||||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(DISTCLEANFILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||
mostlyclean: mostlyclean-generic
|
||||
|
||||
clean: clean-generic mostlyclean
|
||||
|
||||
distclean: distclean-generic clean
|
||||
-rm -f config.status
|
||||
-rm -f libtool
|
||||
|
||||
maintainer-clean: maintainer-clean-generic distclean
|
||||
@echo "This command is intended for maintainers to use;"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
|
||||
.PHONY: tags distdir info dvi installcheck install-exec install-data \
|
||||
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
||||
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
||||
maintainer-clean
|
||||
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
29
redhat/README
Normal file
29
redhat/README
Normal file
@@ -0,0 +1,29 @@
|
||||
Included here are the patches from the shadow-utils-970616-11.src.rpm
|
||||
(RedHat 5.0 updates). I'd like to make it possible to build binary
|
||||
packages for all Linux distributions "out of the box" from the same
|
||||
upstream sources. This needs more work for RedHat 5.0, and I only have
|
||||
RedHat 4.2 (hint hint). If you have any suggestions regarding this
|
||||
package, please contact me. Perhaps the necessary changes can be
|
||||
included in the standard sources, so that everything can be build with
|
||||
one simple command (rpm -ta shadow-xxxxxx.tar.gz).
|
||||
|
||||
One suggestion for the shadow-utils-970616-11 patch: instead of adding
|
||||
new (sometimes quite distribution-specific) options to useradd (and
|
||||
symlinking adduser -> useradd), I'd suggest to use a program or script
|
||||
called "adduser" that implements the distribution-specific UID/GID
|
||||
allocation etc. and runs useradd to do all the dirty work (modifying
|
||||
password files etc.). Also, please don't change the default behaviour
|
||||
of useradd, which is to create the home directory only if the -m option
|
||||
is specified). I'd like to keep useradd simple, and compatible with
|
||||
other implementations (the user* and group* commands are quite similar
|
||||
to commands with the same names found on many commercial UN*X systems).
|
||||
|
||||
I'd suggest to take a look at the adduser-3.x package from the Debian
|
||||
distribution. It's a perl script, which shouldn't be too hard to modify
|
||||
to suit the requirements of Red Hat, or any other Linux distribution.
|
||||
It runs programs from the shadow suite to do the actual password file
|
||||
modifications, is reasonably user friendly, and configurable.
|
||||
|
||||
Comments?
|
||||
|
||||
--marekm
|
||||
256
redhat/shadow-970616-fix.patch
Normal file
256
redhat/shadow-970616-fix.patch
Normal file
@@ -0,0 +1,256 @@
|
||||
--- shadow-970616/libmisc/Makefile.in.fix Sun Jun 15 20:05:05 1997
|
||||
+++ shadow-970616/libmisc/Makefile.in Tue Dec 30 14:09:29 1997
|
||||
@@ -99,13 +99,6 @@
|
||||
|
||||
default: all
|
||||
|
||||
-
|
||||
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
|
||||
- cd $(top_srcdir) && automake $(subdir)/Makefile
|
||||
-
|
||||
-Makefile: $(top_builddir)/config.status Makefile.in
|
||||
- cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
||||
-
|
||||
mostlyclean-noinstLIBRARIES:
|
||||
|
||||
clean-noinstLIBRARIES:
|
||||
--- shadow-970616/man/Makefile.in.fix Sun Jun 15 20:05:05 1997
|
||||
+++ shadow-970616/man/Makefile.in Tue Dec 30 14:09:29 1997
|
||||
@@ -72,12 +72,6 @@
|
||||
TAR = tar
|
||||
default: all
|
||||
|
||||
-
|
||||
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
|
||||
- cd $(top_srcdir) && automake $(subdir)/Makefile
|
||||
-
|
||||
-Makefile: $(top_builddir)/config.status Makefile.in
|
||||
- cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
||||
install-man: $(MANS)
|
||||
$(mkinstalldirs) $(mandir)/man8
|
||||
$(mkinstalldirs) $(mandir)/man1
|
||||
--- shadow-970616/lib/Makefile.in.fix Sun Jun 15 20:05:06 1997
|
||||
+++ shadow-970616/lib/Makefile.in Tue Dec 30 14:09:29 1997
|
||||
@@ -123,12 +123,6 @@
|
||||
default: all
|
||||
|
||||
|
||||
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
|
||||
- cd $(top_srcdir) && automake $(subdir)/Makefile
|
||||
-
|
||||
-Makefile: $(top_builddir)/config.status Makefile.in
|
||||
- cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
||||
-
|
||||
mostlyclean-noinstLIBRARIES:
|
||||
|
||||
clean-noinstLIBRARIES:
|
||||
--- shadow-970616/src/useradd.c.fix Tue Dec 30 14:09:29 1997
|
||||
+++ shadow-970616/src/useradd.c Tue Dec 30 14:37:22 1997
|
||||
@@ -570,8 +570,7 @@
|
||||
*/
|
||||
|
||||
static int
|
||||
-get_groups(list)
|
||||
- char *list;
|
||||
+get_groups(char *list)
|
||||
{
|
||||
char *cp;
|
||||
const struct group *grp;
|
||||
@@ -606,7 +605,7 @@
|
||||
* GID values, otherwise the string is looked up as is.
|
||||
*/
|
||||
|
||||
- grp = getgr_nam_gid(*list);
|
||||
+ grp = getgr_nam_gid(list);
|
||||
|
||||
/*
|
||||
* There must be a match, either by GID value or by
|
||||
@@ -1401,25 +1400,6 @@
|
||||
Prog);
|
||||
fail_exit (1);
|
||||
}
|
||||
-#endif
|
||||
- if (do_grp_update) {
|
||||
- if (! gr_close ()) {
|
||||
- fprintf (stderr, "%s: cannot rewrite group file\n",
|
||||
- Prog);
|
||||
- fail_exit (1);
|
||||
- }
|
||||
- (void) gr_unlock ();
|
||||
-#ifdef SHADOWGRP
|
||||
- if (is_shadow_grp && ! sgr_close ()) {
|
||||
- fprintf (stderr, "%s: cannot rewrite shadow group file\n",
|
||||
- Prog);
|
||||
- fail_exit (1);
|
||||
- }
|
||||
- if (is_shadow_grp)
|
||||
- sgr_unlock ();
|
||||
-#endif
|
||||
- }
|
||||
-#ifdef SHADOWPWD
|
||||
if (is_shadow_pwd)
|
||||
spw_unlock ();
|
||||
#endif
|
||||
@@ -1758,7 +1738,6 @@
|
||||
/*
|
||||
* Write out the new group file entry.
|
||||
*/
|
||||
-
|
||||
if (! gr_update (&grp)) {
|
||||
fprintf (stderr, "%s: error adding new group entry\n", Prog);
|
||||
fail_exit (10);
|
||||
@@ -1801,6 +1780,8 @@
|
||||
#endif /* SHADOWGRP */
|
||||
SYSLOG((LOG_INFO, "new group: name=%s, gid=%d\n",
|
||||
user_name, user_gid));
|
||||
+ /* we need to remeber we have to close the group file... */
|
||||
+ do_grp_update++;
|
||||
}
|
||||
|
||||
/*
|
||||
--- shadow-970616/src/Makefile.in.fix Sun Jun 15 20:05:08 1997
|
||||
+++ shadow-970616/src/Makefile.in Tue Dec 30 14:09:29 1997
|
||||
@@ -251,12 +251,6 @@
|
||||
default: all
|
||||
|
||||
|
||||
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
|
||||
- cd $(top_srcdir) && automake $(subdir)/Makefile
|
||||
-
|
||||
-Makefile: $(top_builddir)/config.status Makefile.in
|
||||
- cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
||||
-
|
||||
mostlyclean-usbinPROGRAMS:
|
||||
|
||||
clean-usbinPROGRAMS:
|
||||
--- shadow-970616/contrib/Makefile.in.fix Sun Jun 15 20:05:09 1997
|
||||
+++ shadow-970616/contrib/Makefile.in Tue Dec 30 14:09:29 1997
|
||||
@@ -60,12 +60,6 @@
|
||||
TAR = tar
|
||||
default: all
|
||||
|
||||
-
|
||||
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
|
||||
- cd $(top_srcdir) && automake $(subdir)/Makefile
|
||||
-
|
||||
-Makefile: $(top_builddir)/config.status Makefile.in
|
||||
- cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
--- shadow-970616/debian/Makefile.in.fix Sun Jun 15 20:05:09 1997
|
||||
+++ shadow-970616/debian/Makefile.in Tue Dec 30 14:09:29 1997
|
||||
@@ -64,12 +64,6 @@
|
||||
TAR = tar
|
||||
default: all
|
||||
|
||||
-
|
||||
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
|
||||
- cd $(top_srcdir) && automake $(subdir)/Makefile
|
||||
-
|
||||
-Makefile: $(top_builddir)/config.status Makefile.in
|
||||
- cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
--- shadow-970616/doc/Makefile.in.fix Sun Jun 15 20:05:09 1997
|
||||
+++ shadow-970616/doc/Makefile.in Tue Dec 30 14:09:29 1997
|
||||
@@ -61,12 +61,6 @@
|
||||
TAR = tar
|
||||
default: all
|
||||
|
||||
-
|
||||
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
|
||||
- cd $(top_srcdir) && automake $(subdir)/Makefile
|
||||
-
|
||||
-Makefile: $(top_builddir)/config.status Makefile.in
|
||||
- cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
--- shadow-970616/etc/Makefile.in.fix Sun Jun 15 20:05:09 1997
|
||||
+++ shadow-970616/etc/Makefile.in Tue Dec 30 14:09:29 1997
|
||||
@@ -60,12 +60,6 @@
|
||||
TAR = tar
|
||||
default: all
|
||||
|
||||
-
|
||||
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
|
||||
- cd $(top_srcdir) && automake $(subdir)/Makefile
|
||||
-
|
||||
-Makefile: $(top_builddir)/config.status Makefile.in
|
||||
- cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
--- shadow-970616/old/Makefile.in.fix Sun Jun 15 20:05:10 1997
|
||||
+++ shadow-970616/old/Makefile.in Tue Dec 30 14:09:29 1997
|
||||
@@ -61,12 +61,6 @@
|
||||
TAR = tar
|
||||
default: all
|
||||
|
||||
-
|
||||
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
|
||||
- cd $(top_srcdir) && automake $(subdir)/Makefile
|
||||
-
|
||||
-Makefile: $(top_builddir)/config.status Makefile.in
|
||||
- cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
--- shadow-970616/shlib/Makefile.in.fix Sun Jun 15 20:05:10 1997
|
||||
+++ shadow-970616/shlib/Makefile.in Tue Dec 30 14:09:29 1997
|
||||
@@ -60,11 +60,6 @@
|
||||
default: all
|
||||
|
||||
|
||||
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in
|
||||
- cd $(top_srcdir) && automake $(subdir)/Makefile
|
||||
-
|
||||
-Makefile: $(top_builddir)/config.status Makefile.in
|
||||
- cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
|
||||
tags: TAGS
|
||||
TAGS:
|
||||
|
||||
--- shadow-970616/configure.in.fix Sun Jun 15 19:42:47 1997
|
||||
+++ shadow-970616/configure.in Tue Dec 30 14:09:29 1997
|
||||
@@ -38,7 +38,7 @@
|
||||
AC_CHECK_HEADERS(gshadow.h shadow.h lastlog.h)
|
||||
|
||||
AC_EGREP_HEADER(ut_host, utmp.h, AC_DEFINE(UT_HOST))
|
||||
-AC_EGREP_HEADER(ut_name, utmp.h, AC_DEFINE(UT_USER, ut_name))
|
||||
+AC_EGREP_HEADER(ut_user, utmp.h, AC_DEFINE(UT_USER, ut_user))
|
||||
AC_EGREP_HEADER(ll_host, lastlog.h, AC_DEFINE(HAVE_LL_HOST))
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
--- shadow-970616/Makefile.in.fix Sun Jun 15 20:05:08 1997
|
||||
+++ shadow-970616/Makefile.in Tue Dec 30 14:09:29 1997
|
||||
@@ -64,28 +64,6 @@
|
||||
TAR = tar
|
||||
default: all
|
||||
|
||||
-
|
||||
-$(srcdir)/Makefile.in: Makefile.am configure.in
|
||||
- cd $(srcdir) && automake Makefile
|
||||
-
|
||||
-# For an explanation of the following Makefile rules, see node
|
||||
-# `Automatic Remaking' in GNU Autoconf documentation.
|
||||
-Makefile: Makefile.in config.status
|
||||
- CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
|
||||
-config.status: configure
|
||||
- ./config.status --recheck
|
||||
-$(srcdir)/configure: configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
|
||||
- cd $(srcdir) && autoconf
|
||||
-
|
||||
-$(CONFIG_HEADER): stamp-h
|
||||
-stamp-h: $(CONFIG_HEADER_IN) config.status
|
||||
- CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADER) ./config.status
|
||||
- @echo timestamp > stamp-h
|
||||
-$(srcdir)/$(CONFIG_HEADER_IN): stamp-h.in
|
||||
-$(srcdir)/stamp-h.in: configure.in $(ACLOCAL) $(ACCONFIG) $(CONFIG_TOP) $(CONFIG_BOT)
|
||||
- cd $(srcdir) && autoheader
|
||||
- echo timestamp > $(srcdir)/stamp-h.in
|
||||
-
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
11
redhat/shadow-970616-glibc.patch
Normal file
11
redhat/shadow-970616-glibc.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- shadow-970616/libmisc/strtoday.c.ewt Thu Nov 13 19:25:25 1997
|
||||
+++ shadow-970616/libmisc/strtoday.c Thu Nov 13 19:27:57 1997
|
||||
@@ -28,7 +28,7 @@
|
||||
*/
|
||||
|
||||
#if !defined(__GLIBC__)
|
||||
-#define _XOPEN_SOURCE
|
||||
+#define _XOPEN_SOURCE 500
|
||||
#endif
|
||||
|
||||
#include <config.h>
|
||||
1242
redhat/shadow-970616-rh.patch
Normal file
1242
redhat/shadow-970616-rh.patch
Normal file
File diff suppressed because it is too large
Load Diff
12
redhat/shadow-970616-utuser.patch
Normal file
12
redhat/shadow-970616-utuser.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- shadow-970616/configure.in.ewt Thu Nov 13 16:43:25 1997
|
||||
+++ shadow-970616/configure.in Thu Nov 13 16:43:34 1997
|
||||
@@ -38,7 +38,8 @@
|
||||
AC_CHECK_HEADERS(gshadow.h shadow.h lastlog.h)
|
||||
|
||||
AC_EGREP_HEADER(ut_host, utmp.h, AC_DEFINE(UT_HOST))
|
||||
-AC_EGREP_HEADER(ut_name, utmp.h, AC_DEFINE(UT_USER, ut_name))
|
||||
+AC_EGREP_HEADER(ut_name, utmp.h, AC_DEFINE(UT_USER, ut_user),
|
||||
+ AC_EGREP_HEADER(ut_name, utmp.h, AC_DEFINE(UT_USER, ut_name)))
|
||||
AC_EGREP_HEADER(ll_host, lastlog.h, AC_DEFINE(HAVE_LL_HOST))
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
57
redhat/shadow-970616.login.defs
Normal file
57
redhat/shadow-970616.login.defs
Normal file
@@ -0,0 +1,57 @@
|
||||
# *REQUIRED*
|
||||
# Directory where mailboxes reside, _or_ name of file, relative to the
|
||||
# home directory. If you _do_ define both, MAIL_DIR takes precedence.
|
||||
# QMAIL_DIR is for Qmail
|
||||
#
|
||||
#QMAIL_DIR Maildir
|
||||
MAIL_DIR /var/spool/mail
|
||||
#MAIL_FILE .mail
|
||||
|
||||
# Password aging controls:
|
||||
#
|
||||
# PASS_MAX_DAYS Maximum number of days a password may be used.
|
||||
# PASS_MIN_DAYS Minimum number of days allowed between password changes.
|
||||
# PASS_MIN_LEN Minimum acceptable password length.
|
||||
# PASS_WARN_AGE Number of days warning given before a password expires.
|
||||
#
|
||||
PASS_MAX_DAYS 99999
|
||||
PASS_MIN_DAYS 0
|
||||
PASS_MIN_LEN 5
|
||||
PASS_WARN_AGE 7
|
||||
|
||||
#
|
||||
# Min/max values for automatic uid selection in useradd
|
||||
#
|
||||
UID_MIN 500
|
||||
UID_MAX 60000
|
||||
|
||||
#
|
||||
# Min/max values for automatic gid selection in groupadd
|
||||
#
|
||||
GID_MIN 500
|
||||
GID_MAX 60000
|
||||
|
||||
#
|
||||
# Require password before chfn/chsh can make any changes.
|
||||
#
|
||||
CHFN_AUTH yes
|
||||
|
||||
#
|
||||
# Don't allow users to change their "real name" using chfn.
|
||||
#
|
||||
CHFN_RESTRICT yes
|
||||
|
||||
#
|
||||
# If defined, this command is run when removing a user.
|
||||
# It should remove any at/cron/print jobs etc. owned by
|
||||
# the user to be removed (passed as the first argument).
|
||||
#
|
||||
#USERDEL_CMD /usr/sbin/userdel_local
|
||||
|
||||
#
|
||||
# If useradd should create home directories for users by default
|
||||
# On RH systems, we do. This option is ORed with the -m flag on
|
||||
# useradd command line.
|
||||
#
|
||||
CREATE_HOME yes
|
||||
|
||||
7
redhat/shadow-970616.useradd
Normal file
7
redhat/shadow-970616.useradd
Normal file
@@ -0,0 +1,7 @@
|
||||
# useradd defaults file
|
||||
GROUP=100
|
||||
HOME=/home
|
||||
INACTIVE=-1
|
||||
EXPIRE=
|
||||
SHELL=/bin/bash
|
||||
SKEL=/etc/skel
|
||||
137
redhat/shadow-utils-970616.spec
Normal file
137
redhat/shadow-utils-970616.spec
Normal file
@@ -0,0 +1,137 @@
|
||||
Summary: Shadow password file utilities for Linux
|
||||
Name: shadow-utils
|
||||
Version: 970616
|
||||
Release: 11
|
||||
Source0: ftp://ftp.ists.pwr.wroc.pl/pub/linux/shadow/beta/shadow-970616.tar.gz
|
||||
Source1: shadow-970616.login.defs
|
||||
Source2: shadow-970616.useradd
|
||||
Patch0: shadow-970616-rh.patch
|
||||
Patch1: shadow-970616-utuser.patch
|
||||
Patch2: shadow-970616-glibc.patch
|
||||
Patch3: shadow-970616-fix.patch
|
||||
Copyright: BSD
|
||||
Group: Utilities/System
|
||||
BuildRoot: /var/tmp/shadow-utils
|
||||
Obsoletes: adduser
|
||||
|
||||
%changelog
|
||||
* Tue Dec 30 1997 Cristian Gafton <gafton@redhat.com>
|
||||
- updated the spec file
|
||||
- updated the patch so that new accounts created on shadowed system won't
|
||||
confuse pam_pwdb anymore ('!!' default password instead on '!')
|
||||
- fixed a bug that made useradd -G segfault
|
||||
- the check for the ut_user is now patched into configure
|
||||
|
||||
* Thu Nov 13 1997 Erik Troan <ewt@redhat.com>
|
||||
- added patch for XOPEN oddities in glibc headers
|
||||
- check for ut_user before checking for ut_name -- this works around some
|
||||
confusion on glibc 2.1 due to the utmpx header not defining the ut_name
|
||||
compatibility stuff. I used a gross sed hack here because I couldn't make
|
||||
automake work properly on the sparc (this could be a glibc 2.0.99 problem
|
||||
though). The utuser patch works fine, but I don't apply it.
|
||||
- sleep after running autoconf
|
||||
|
||||
* Thu Nov 06 1997 Cristian Gafton <gafton@redhat.com>
|
||||
- added forgot lastlog command to the spec file
|
||||
|
||||
* Mon Oct 26 1997 Cristian Gafton <gafton@redhat.com>
|
||||
- obsoletes adduser
|
||||
|
||||
* Thu Oct 23 1997 Cristian Gafton <gafton@redhat.com>
|
||||
- modified groupadd; updated the patch
|
||||
|
||||
* Fri Sep 12 1997 Cristian Gafton <gafton@redhat.com>
|
||||
- updated to 970616
|
||||
- changed useradd to meet RH specs
|
||||
- fixed some bugs
|
||||
|
||||
* Tue Jun 17 1997 Erik Troan <ewt@redhat.com>
|
||||
- built against glibc
|
||||
|
||||
%description
|
||||
This package includes the programs necessary to convert standard
|
||||
UNIX password files to the shadow password format, as well as
|
||||
programs for command-line management of the user's accounts.
|
||||
- 'pwconv' converts everything to the shadow password format.
|
||||
- 'pwunconv' unconverts from shadow passwords, generating a file
|
||||
in the current directory called npasswd that is a standard UNIX
|
||||
password file.
|
||||
- 'pwck' checks the integrity of the password and shadow files.
|
||||
- 'lastlog' prints out the last login times of all users.
|
||||
- 'useradd', 'userdel' and 'usermod' for accounts management.
|
||||
- 'groupadd', 'groupdel' and 'groupmod' for group management.
|
||||
|
||||
A number of man pages are also included that relate to these utilities,
|
||||
and shadow passwords in general.
|
||||
|
||||
%prep
|
||||
# This is just a few of the core utilities from the shadow suite...
|
||||
# packaged up for use w/PAM
|
||||
%setup -n shadow-970616
|
||||
%patch -p1 -b .rh
|
||||
#%patch1 -p1 -b .utname
|
||||
%patch2 -p1 -b .xopen
|
||||
%patch3 -p1 -b .fix
|
||||
|
||||
%build
|
||||
autoheader
|
||||
autoconf
|
||||
sleep 2
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/usr
|
||||
make install prefix=/$RPM_BUILD_ROOT/usr
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/default
|
||||
install -m 0600 -o root $RPM_SOURCE_DIR/shadow-970616.useradd $RPM_BUILD_ROOT/etc/default/useradd
|
||||
install -m 0644 -o root $RPM_SOURCE_DIR/shadow-970616.login.defs $RPM_BUILD_ROOT/etc/login.defs
|
||||
install -m 0500 -o root src/pwconv $RPM_BUILD_ROOT/usr/sbin
|
||||
install -m 0500 -o root src/pwunconv $RPM_BUILD_ROOT/usr/sbin
|
||||
ln -s pwconv $RPM_BUILD_ROOT/usr/sbin/pwconv5
|
||||
install -m 0644 -o root man/pw*conv.8 $RPM_BUILD_ROOT/usr/man/man8
|
||||
ln -s pwconv.8 $RPM_BUILD_ROOT/usr/man/man8/pwconv5.8
|
||||
ln -s useradd $RPM_BUILD_ROOT/usr/sbin/adduser
|
||||
ln -s useradd.8 $RPM_BUILD_ROOT/usr/man/man8/adduser.8
|
||||
|
||||
%files
|
||||
%doc doc/ANNOUNCE doc/CHANGES doc/HOWTO
|
||||
%doc doc/LICENSE doc/README doc/README.linux
|
||||
%dir /etc/default
|
||||
/usr/sbin/adduser
|
||||
/usr/sbin/useradd
|
||||
/usr/sbin/usermod
|
||||
/usr/sbin/userdel
|
||||
/usr/sbin/groupadd
|
||||
/usr/sbin/groupdel
|
||||
/usr/sbin/groupmod
|
||||
/usr/sbin/grpck
|
||||
/usr/sbin/pwck
|
||||
/usr/bin/chage
|
||||
/usr/bin/gpasswd
|
||||
/usr/sbin/lastlog
|
||||
# /usr/sbin/vipw
|
||||
/usr/sbin/chpasswd
|
||||
/usr/sbin/newusers
|
||||
/usr/sbin/pw*conv*
|
||||
/usr/man/man1/chage.1
|
||||
/usr/man/man1/gpasswd.1
|
||||
/usr/man/man3/shadow.3
|
||||
/usr/man/man5/shadow.5
|
||||
/usr/man/man8/adduser.8
|
||||
/usr/man/man8/chpasswd.8
|
||||
/usr/man/man8/group*.8
|
||||
/usr/man/man8/user*.8
|
||||
/usr/man/man8/pwck.8
|
||||
/usr/man/man8/grpck.8
|
||||
/usr/man/man8/newusers.8
|
||||
# /usr/man/man8/shadowconfig.8
|
||||
/usr/man/man8/pw*conv*.8
|
||||
# /usr/man/man8/vipw.8
|
||||
/usr/man/man8/lastlog.8
|
||||
%config /etc/login.defs
|
||||
%config /etc/default/useradd
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
151
redhat/shadow-utils.spec
Normal file
151
redhat/shadow-utils.spec
Normal file
@@ -0,0 +1,151 @@
|
||||
# shadow-utils.spec generated automatically from shadow-utils.spec.in
|
||||
# $Id: shadow-utils.spec.in,v 1.2 1999/06/07 16:40:45 marekm Exp $
|
||||
Summary: Shadow password file utilities for Linux
|
||||
Name: shadow-utils
|
||||
Version: 19990709
|
||||
Release: 1
|
||||
Copyright: Free
|
||||
Group: Utilities/System
|
||||
Source: ftp://ftp.ists.pwr.wroc.pl/pub/linux/shadow/shadow-19990709.tar.gz
|
||||
BuildRoot: /var/tmp/shadow-utils
|
||||
Packager: Timo Karjalainen <timok@iki.fi>
|
||||
# Obsoletes: adduser
|
||||
|
||||
%description
|
||||
This package includes the programs necessary to convert traditional
|
||||
V7 UNIX password files to the SVR4 shadow password format and additional
|
||||
tools to work with shadow passwords.
|
||||
- 'pwconv' converts everything to the shadow password format.
|
||||
- 'pwunconv' converts back to non-shadow passwords.
|
||||
- 'pwck' checks the integrity of the password and shadow files.
|
||||
- 'lastlog' prints out the last login times of all users.
|
||||
- 'useradd', 'userdel', 'usermod' to manage user accounts.
|
||||
- 'groupadd', 'groupdel', 'groupmod' to manage groups.
|
||||
|
||||
A number of man pages are also included that relate to these utilities,
|
||||
and shadow passwords in general.
|
||||
|
||||
%changelog
|
||||
|
||||
* Sun Dec 14 1997 Marek Michalkiewicz <marekm@piast.t19.ds.pwr.wroc.pl>
|
||||
|
||||
- Lots of changes, see doc/CHANGES for more details
|
||||
|
||||
* Sun Jun 08 1997 Timo Karjalainen <timok@iki.fi>
|
||||
|
||||
- Initial release
|
||||
|
||||
%prep
|
||||
# This is just a few of the core utilities from the shadow suite...
|
||||
# packaged up for use w/PAM
|
||||
%setup -n shadow-19990709
|
||||
|
||||
%build
|
||||
# shared lib support is untested, so...
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --disable-shared --prefix=/usr --exec-prefix=/usr
|
||||
make
|
||||
|
||||
%install
|
||||
if [ -d $RPM_BUILD_ROOT ] ; then
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
fi
|
||||
mkdir -p $RPM_BUILD_ROOT/usr
|
||||
# neato trick, heh ? :-)
|
||||
./configure --prefix=$RPM_BUILD_ROOT/usr
|
||||
make install
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/default
|
||||
|
||||
# FIXME
|
||||
#install -m 0600 -o root $RPM_SOURCE_DIR/shadow-970616.useradd $RPM_BUILD_ROOT/etc/default/useradd
|
||||
#install -m 0644 -o root $RPM_SOURCE_DIR/shadow-970616.login.defs $RPM_BUILD_ROOT/etc/login.defs
|
||||
#ln -s useradd $RPM_BUILD_ROOT/usr/sbin/adduser
|
||||
#ln -s useradd.8 $RPM_BUILD_ROOT/usr/man/man8/adduser.8
|
||||
|
||||
#make prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT/usr install
|
||||
#touch $RPM_BUILD_ROOT/etc/{login.defs,default/useradd}
|
||||
#chmod 640 $RPM_BUILD_ROOT/etc/{login.defs,default/useradd}
|
||||
#chown root $RPM_BUILD_ROOT/etc/{login.defs,default/useradd}
|
||||
#chgrp root $RPM_BUILD_ROOT/etc/{login.defs,default/useradd}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%doc doc/ANNOUNCE doc/CHANGES doc/HOWTO
|
||||
%doc doc/LICENSE doc/README doc/README.linux
|
||||
%dir /etc/default
|
||||
%config /etc/default/useradd
|
||||
# %config /etc/limits
|
||||
# %config /etc/login.access
|
||||
%config /etc/login.defs
|
||||
# %config /etc/limits
|
||||
# %config /etc/porttime
|
||||
# %config /etc/securetty
|
||||
# %config /etc/shells
|
||||
# %config /etc/suauth
|
||||
# /bin/login
|
||||
# /bin/su
|
||||
/usr/bin/chage
|
||||
# /usr/bin/chfn
|
||||
# /usr/bin/chsh
|
||||
# /usr/bin/expiry
|
||||
# /usr/bin/faillog
|
||||
/usr/bin/gpasswd
|
||||
/usr/bin/lastlog
|
||||
# /usr/bin/newgrp
|
||||
# /usr/bin/passwd
|
||||
# /usr/bin/sg
|
||||
/usr/man/man1/chage.1
|
||||
# /usr/man/man1/chfn.1
|
||||
# /usr/man/man1/chsh.1
|
||||
/usr/man/man1/gpasswd.1
|
||||
# /usr/man/man1/login.1
|
||||
# /usr/man/man1/passwd.1
|
||||
# /usr/man/man1/sg.1
|
||||
# /usr/man/man1/su.1
|
||||
/usr/man/man3/shadow.3
|
||||
# /usr/man/man5/faillog.5
|
||||
# /usr/man/man5/limits.5
|
||||
# /usr/man/man5/login.access.5
|
||||
# /usr/man/man5/login.defs.5
|
||||
# /usr/man/man5/passwd.5
|
||||
# /usr/man/man5/porttime.5
|
||||
/usr/man/man5/shadow.5
|
||||
# /usr/man/man5/suauth.5
|
||||
# /usr/man/man8/adduser.8
|
||||
/usr/man/man8/chpasswd.8
|
||||
# /usr/man/man8/faillog.8
|
||||
/usr/man/man8/groupadd.8
|
||||
/usr/man/man8/groupdel.8
|
||||
/usr/man/man8/groupmod.8
|
||||
/usr/man/man8/grpck.8
|
||||
/usr/man/man8/lastlog.8
|
||||
# /usr/man/man8/logoutd.8
|
||||
/usr/man/man8/newusers.8
|
||||
/usr/man/man8/pwck.8
|
||||
/usr/man/man8/pwconv.8
|
||||
# /usr/man/man8/shadowconfig.8
|
||||
/usr/man/man8/useradd.8
|
||||
/usr/man/man8/userdel.8
|
||||
/usr/man/man8/usermod.8
|
||||
# /usr/man/man8/vigr.8
|
||||
# /usr/man/man8/vipw.8
|
||||
# /usr/sbin/adduser
|
||||
/usr/sbin/chpasswd
|
||||
/usr/sbin/groupadd
|
||||
/usr/sbin/groupdel
|
||||
/usr/sbin/groupmod
|
||||
/usr/sbin/grpck
|
||||
/usr/sbin/grpconv
|
||||
/usr/sbin/grpunconv
|
||||
# /usr/sbin/logoutd
|
||||
/usr/sbin/newusers
|
||||
/usr/sbin/pwck
|
||||
/usr/sbin/pwconv
|
||||
/usr/sbin/pwunconv
|
||||
# /usr/sbin/shadowconfig
|
||||
/usr/sbin/useradd
|
||||
/usr/sbin/userdel
|
||||
/usr/sbin/usermod
|
||||
# /usr/sbin/vigr
|
||||
# /usr/sbin/vipw
|
||||
151
redhat/shadow-utils.spec.in
Normal file
151
redhat/shadow-utils.spec.in
Normal file
@@ -0,0 +1,151 @@
|
||||
# shadow-utils.spec generated automatically from shadow-utils.spec.in
|
||||
# $Id: shadow-utils.spec.in,v 1.2 1999/06/07 16:40:45 marekm Exp $
|
||||
Summary: Shadow password file utilities for Linux
|
||||
Name: shadow-utils
|
||||
Version: @VERSION@
|
||||
Release: 1
|
||||
Copyright: Free
|
||||
Group: Utilities/System
|
||||
Source: ftp://ftp.ists.pwr.wroc.pl/pub/linux/shadow/shadow-@VERSION@.tar.gz
|
||||
BuildRoot: /var/tmp/shadow-utils
|
||||
Packager: Timo Karjalainen <timok@iki.fi>
|
||||
# Obsoletes: adduser
|
||||
|
||||
%description
|
||||
This package includes the programs necessary to convert traditional
|
||||
V7 UNIX password files to the SVR4 shadow password format and additional
|
||||
tools to work with shadow passwords.
|
||||
- 'pwconv' converts everything to the shadow password format.
|
||||
- 'pwunconv' converts back to non-shadow passwords.
|
||||
- 'pwck' checks the integrity of the password and shadow files.
|
||||
- 'lastlog' prints out the last login times of all users.
|
||||
- 'useradd', 'userdel', 'usermod' to manage user accounts.
|
||||
- 'groupadd', 'groupdel', 'groupmod' to manage groups.
|
||||
|
||||
A number of man pages are also included that relate to these utilities,
|
||||
and shadow passwords in general.
|
||||
|
||||
%changelog
|
||||
|
||||
* Sun Dec 14 1997 Marek Michalkiewicz <marekm@piast.t19.ds.pwr.wroc.pl>
|
||||
|
||||
- Lots of changes, see doc/CHANGES for more details
|
||||
|
||||
* Sun Jun 08 1997 Timo Karjalainen <timok@iki.fi>
|
||||
|
||||
- Initial release
|
||||
|
||||
%prep
|
||||
# This is just a few of the core utilities from the shadow suite...
|
||||
# packaged up for use w/PAM
|
||||
%setup -n shadow-@VERSION@
|
||||
|
||||
%build
|
||||
# shared lib support is untested, so...
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --disable-shared --prefix=/usr --exec-prefix=/usr
|
||||
make
|
||||
|
||||
%install
|
||||
if [ -d $RPM_BUILD_ROOT ] ; then
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
fi
|
||||
mkdir -p $RPM_BUILD_ROOT/usr
|
||||
# neato trick, heh ? :-)
|
||||
./configure --prefix=$RPM_BUILD_ROOT/usr
|
||||
make install
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/default
|
||||
|
||||
# FIXME
|
||||
#install -m 0600 -o root $RPM_SOURCE_DIR/shadow-970616.useradd $RPM_BUILD_ROOT/etc/default/useradd
|
||||
#install -m 0644 -o root $RPM_SOURCE_DIR/shadow-970616.login.defs $RPM_BUILD_ROOT/etc/login.defs
|
||||
#ln -s useradd $RPM_BUILD_ROOT/usr/sbin/adduser
|
||||
#ln -s useradd.8 $RPM_BUILD_ROOT/usr/man/man8/adduser.8
|
||||
|
||||
#make prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT/usr install
|
||||
#touch $RPM_BUILD_ROOT/etc/{login.defs,default/useradd}
|
||||
#chmod 640 $RPM_BUILD_ROOT/etc/{login.defs,default/useradd}
|
||||
#chown root $RPM_BUILD_ROOT/etc/{login.defs,default/useradd}
|
||||
#chgrp root $RPM_BUILD_ROOT/etc/{login.defs,default/useradd}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%doc doc/ANNOUNCE doc/CHANGES doc/HOWTO
|
||||
%doc doc/LICENSE doc/README doc/README.linux
|
||||
%dir /etc/default
|
||||
%config /etc/default/useradd
|
||||
# %config /etc/limits
|
||||
# %config /etc/login.access
|
||||
%config /etc/login.defs
|
||||
# %config /etc/limits
|
||||
# %config /etc/porttime
|
||||
# %config /etc/securetty
|
||||
# %config /etc/shells
|
||||
# %config /etc/suauth
|
||||
# /bin/login
|
||||
# /bin/su
|
||||
/usr/bin/chage
|
||||
# /usr/bin/chfn
|
||||
# /usr/bin/chsh
|
||||
# /usr/bin/expiry
|
||||
# /usr/bin/faillog
|
||||
/usr/bin/gpasswd
|
||||
/usr/bin/lastlog
|
||||
# /usr/bin/newgrp
|
||||
# /usr/bin/passwd
|
||||
# /usr/bin/sg
|
||||
/usr/man/man1/chage.1
|
||||
# /usr/man/man1/chfn.1
|
||||
# /usr/man/man1/chsh.1
|
||||
/usr/man/man1/gpasswd.1
|
||||
# /usr/man/man1/login.1
|
||||
# /usr/man/man1/passwd.1
|
||||
# /usr/man/man1/sg.1
|
||||
# /usr/man/man1/su.1
|
||||
/usr/man/man3/shadow.3
|
||||
# /usr/man/man5/faillog.5
|
||||
# /usr/man/man5/limits.5
|
||||
# /usr/man/man5/login.access.5
|
||||
# /usr/man/man5/login.defs.5
|
||||
# /usr/man/man5/passwd.5
|
||||
# /usr/man/man5/porttime.5
|
||||
/usr/man/man5/shadow.5
|
||||
# /usr/man/man5/suauth.5
|
||||
# /usr/man/man8/adduser.8
|
||||
/usr/man/man8/chpasswd.8
|
||||
# /usr/man/man8/faillog.8
|
||||
/usr/man/man8/groupadd.8
|
||||
/usr/man/man8/groupdel.8
|
||||
/usr/man/man8/groupmod.8
|
||||
/usr/man/man8/grpck.8
|
||||
/usr/man/man8/lastlog.8
|
||||
# /usr/man/man8/logoutd.8
|
||||
/usr/man/man8/newusers.8
|
||||
/usr/man/man8/pwck.8
|
||||
/usr/man/man8/pwconv.8
|
||||
# /usr/man/man8/shadowconfig.8
|
||||
/usr/man/man8/useradd.8
|
||||
/usr/man/man8/userdel.8
|
||||
/usr/man/man8/usermod.8
|
||||
# /usr/man/man8/vigr.8
|
||||
# /usr/man/man8/vipw.8
|
||||
# /usr/sbin/adduser
|
||||
/usr/sbin/chpasswd
|
||||
/usr/sbin/groupadd
|
||||
/usr/sbin/groupdel
|
||||
/usr/sbin/groupmod
|
||||
/usr/sbin/grpck
|
||||
/usr/sbin/grpconv
|
||||
/usr/sbin/grpunconv
|
||||
# /usr/sbin/logoutd
|
||||
/usr/sbin/newusers
|
||||
/usr/sbin/pwck
|
||||
/usr/sbin/pwconv
|
||||
/usr/sbin/pwunconv
|
||||
# /usr/sbin/shadowconfig
|
||||
/usr/sbin/useradd
|
||||
/usr/sbin/userdel
|
||||
/usr/sbin/usermod
|
||||
# /usr/sbin/vigr
|
||||
# /usr/sbin/vipw
|
||||
Reference in New Issue
Block a user