Imported Debian patch 1:4.4-1
This commit is contained in:
@@ -161,8 +161,8 @@ DIST_SUBDIRS = $(SUBDIRS)
|
||||
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
|
||||
$(srcdir)/shadow.spec.in $(top_srcdir)/man/po/Makefile.in \
|
||||
ABOUT-NLS COPYING ChangeLog NEWS README TODO compile \
|
||||
config.guess config.rpath config.sub depcomp install-sh \
|
||||
ltmain.sh missing ylwrap
|
||||
config.guess config.rpath config.sub install-sh ltmain.sh \
|
||||
missing
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
top_distdir = $(distdir)
|
||||
|
||||
47
config.guess
vendored
47
config.guess
vendored
@@ -1,8 +1,8 @@
|
||||
#! /bin/sh
|
||||
# Attempt to guess a canonical system name.
|
||||
# Copyright 1992-2014 Free Software Foundation, Inc.
|
||||
# Copyright 1992-2015 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2014-03-23'
|
||||
timestamp='2015-08-20'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
@@ -24,12 +24,12 @@ timestamp='2014-03-23'
|
||||
# program. This Exception is an additional permission under section 7
|
||||
# of the GNU General Public License, version 3 ("GPLv3").
|
||||
#
|
||||
# Originally written by Per Bothner.
|
||||
# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
|
||||
#
|
||||
# You can get the latest version of this script from:
|
||||
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
||||
#
|
||||
# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
||||
# Please send patches to <config-patches@gnu.org>.
|
||||
|
||||
|
||||
me=`echo "$0" | sed -e 's,.*/,,'`
|
||||
@@ -50,7 +50,7 @@ version="\
|
||||
GNU config.guess ($timestamp)
|
||||
|
||||
Originally written by Per Bothner.
|
||||
Copyright 1992-2014 Free Software Foundation, Inc.
|
||||
Copyright 1992-2015 Free Software Foundation, Inc.
|
||||
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
@@ -168,20 +168,27 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
# Note: NetBSD doesn't particularly care about the vendor
|
||||
# portion of the name. We always set it to "unknown".
|
||||
sysctl="sysctl -n hw.machine_arch"
|
||||
UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
|
||||
/usr/sbin/$sysctl 2>/dev/null || echo unknown)`
|
||||
UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
|
||||
/sbin/$sysctl 2>/dev/null || \
|
||||
/usr/sbin/$sysctl 2>/dev/null || \
|
||||
echo unknown)`
|
||||
case "${UNAME_MACHINE_ARCH}" in
|
||||
armeb) machine=armeb-unknown ;;
|
||||
arm*) machine=arm-unknown ;;
|
||||
sh3el) machine=shl-unknown ;;
|
||||
sh3eb) machine=sh-unknown ;;
|
||||
sh5el) machine=sh5le-unknown ;;
|
||||
earmv*)
|
||||
arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
|
||||
endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
|
||||
machine=${arch}${endian}-unknown
|
||||
;;
|
||||
*) machine=${UNAME_MACHINE_ARCH}-unknown ;;
|
||||
esac
|
||||
# The Operating System including object format, if it has switched
|
||||
# to ELF recently, or will in the future.
|
||||
case "${UNAME_MACHINE_ARCH}" in
|
||||
arm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
||||
arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax)
|
||||
eval $set_cc_for_build
|
||||
if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||
| grep -q __ELF__
|
||||
@@ -197,6 +204,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
os=netbsd
|
||||
;;
|
||||
esac
|
||||
# Determine ABI tags.
|
||||
case "${UNAME_MACHINE_ARCH}" in
|
||||
earm*)
|
||||
expr='s/^earmv[0-9]/-eabi/;s/eb$//'
|
||||
abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
|
||||
;;
|
||||
esac
|
||||
# The OS release
|
||||
# Debian GNU/NetBSD machines have a different userland, and
|
||||
# thus, need a distinct triplet. However, they do not need
|
||||
@@ -207,13 +221,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
release='-gnu'
|
||||
;;
|
||||
*)
|
||||
release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
|
||||
release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
|
||||
;;
|
||||
esac
|
||||
# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
|
||||
# contains redundant information, the shorter form:
|
||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
|
||||
echo "${machine}-${os}${release}"
|
||||
echo "${machine}-${os}${release}${abi}"
|
||||
exit ;;
|
||||
*:Bitrig:*:*)
|
||||
UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
|
||||
@@ -235,6 +249,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
||||
*:MirBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
|
||||
exit ;;
|
||||
*:Sortix:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-sortix
|
||||
exit ;;
|
||||
alpha:OSF1:*:*)
|
||||
case $UNAME_RELEASE in
|
||||
*4.0)
|
||||
@@ -579,8 +596,9 @@ EOF
|
||||
else
|
||||
IBM_ARCH=powerpc
|
||||
fi
|
||||
if [ -x /usr/bin/oslevel ] ; then
|
||||
IBM_REV=`/usr/bin/oslevel`
|
||||
if [ -x /usr/bin/lslpp ] ; then
|
||||
IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
|
||||
awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
|
||||
else
|
||||
IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
|
||||
fi
|
||||
@@ -932,6 +950,9 @@ EOF
|
||||
crisv32:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-axis-linux-${LIBC}
|
||||
exit ;;
|
||||
e2k:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
frv:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
exit ;;
|
||||
@@ -1020,7 +1041,7 @@ EOF
|
||||
echo ${UNAME_MACHINE}-dec-linux-${LIBC}
|
||||
exit ;;
|
||||
x86_64:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
echo ${UNAME_MACHINE}-pc-linux-${LIBC}
|
||||
exit ;;
|
||||
xtensa*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
|
||||
|
||||
36
config.sub
vendored
36
config.sub
vendored
@@ -1,8 +1,8 @@
|
||||
#! /bin/sh
|
||||
# Configuration validation subroutine script.
|
||||
# Copyright 1992-2014 Free Software Foundation, Inc.
|
||||
# Copyright 1992-2015 Free Software Foundation, Inc.
|
||||
|
||||
timestamp='2014-09-11'
|
||||
timestamp='2015-08-20'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
@@ -25,7 +25,7 @@ timestamp='2014-09-11'
|
||||
# of the GNU General Public License, version 3 ("GPLv3").
|
||||
|
||||
|
||||
# Please send patches with a ChangeLog entry to config-patches@gnu.org.
|
||||
# Please send patches to <config-patches@gnu.org>.
|
||||
#
|
||||
# Configuration subroutine to validate and canonicalize a configuration type.
|
||||
# Supply the specified configuration type as an argument.
|
||||
@@ -68,7 +68,7 @@ Report bugs and patches to <config-patches@gnu.org>."
|
||||
version="\
|
||||
GNU config.sub ($timestamp)
|
||||
|
||||
Copyright 1992-2014 Free Software Foundation, Inc.
|
||||
Copyright 1992-2015 Free Software Foundation, Inc.
|
||||
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
@@ -117,7 +117,7 @@ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||
case $maybe_os in
|
||||
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
||||
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||
knetbsd*-gnu* | netbsd*-gnu* | \
|
||||
knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
|
||||
kopensolaris*-gnu* | \
|
||||
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
os=-$maybe_os
|
||||
@@ -255,12 +255,13 @@ case $basic_machine in
|
||||
| arc | arceb \
|
||||
| arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
|
||||
| avr | avr32 \
|
||||
| ba \
|
||||
| be32 | be64 \
|
||||
| bfin \
|
||||
| c4x | c8051 | clipper \
|
||||
| d10v | d30v | dlx | dsp16xx \
|
||||
| epiphany \
|
||||
| fido | fr30 | frv \
|
||||
| e2k | epiphany \
|
||||
| fido | fr30 | frv | ft32 \
|
||||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||
| hexagon \
|
||||
| i370 | i860 | i960 | ia64 \
|
||||
@@ -305,7 +306,7 @@ case $basic_machine in
|
||||
| riscv32 | riscv64 \
|
||||
| rl78 | rx \
|
||||
| score \
|
||||
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||
| sh64 | sh64le \
|
||||
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
||||
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
||||
@@ -313,6 +314,7 @@ case $basic_machine in
|
||||
| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
|
||||
| ubicom32 \
|
||||
| v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
|
||||
| visium \
|
||||
| we32k \
|
||||
| x86 | xc16x | xstormy16 | xtensa \
|
||||
| z8k | z80)
|
||||
@@ -327,6 +329,9 @@ case $basic_machine in
|
||||
c6x)
|
||||
basic_machine=tic6x-unknown
|
||||
;;
|
||||
leon|leon[3-9])
|
||||
basic_machine=sparc-$basic_machine
|
||||
;;
|
||||
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
|
||||
basic_machine=$basic_machine-unknown
|
||||
os=-none
|
||||
@@ -372,12 +377,13 @@ case $basic_machine in
|
||||
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
|
||||
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||
| avr-* | avr32-* \
|
||||
| ba-* \
|
||||
| be32-* | be64-* \
|
||||
| bfin-* | bs2000-* \
|
||||
| c[123]* | c30-* | [cjt]90-* | c4x-* \
|
||||
| c8051-* | clipper-* | craynv-* | cydra-* \
|
||||
| d10v-* | d30v-* | dlx-* \
|
||||
| elxsi-* \
|
||||
| e2k-* | elxsi-* \
|
||||
| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
||||
| h8300-* | h8500-* \
|
||||
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
||||
@@ -424,12 +430,13 @@ case $basic_machine in
|
||||
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
||||
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
|
||||
| pyramid-* \
|
||||
| riscv32-* | riscv64-* \
|
||||
| rl78-* | romp-* | rs6000-* | rx-* \
|
||||
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
||||
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
||||
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
||||
| sparclite-* \
|
||||
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
|
||||
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
|
||||
| tahoe-* \
|
||||
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
||||
| tile*-* \
|
||||
@@ -437,6 +444,7 @@ case $basic_machine in
|
||||
| ubicom32-* \
|
||||
| v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
|
||||
| vax-* \
|
||||
| visium-* \
|
||||
| we32k-* \
|
||||
| x86-* | x86_64-* | xc16x-* | xps100-* \
|
||||
| xstormy16-* | xtensa*-* \
|
||||
@@ -513,6 +521,9 @@ case $basic_machine in
|
||||
basic_machine=i386-pc
|
||||
os=-aros
|
||||
;;
|
||||
asmjs)
|
||||
basic_machine=asmjs-unknown
|
||||
;;
|
||||
aux)
|
||||
basic_machine=m68k-apple
|
||||
os=-aux
|
||||
@@ -774,6 +785,9 @@ case $basic_machine in
|
||||
basic_machine=m68k-isi
|
||||
os=-sysv
|
||||
;;
|
||||
leon-*|leon[3-9]-*)
|
||||
basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
|
||||
;;
|
||||
m68knommu)
|
||||
basic_machine=m68k-unknown
|
||||
os=-linux
|
||||
@@ -1365,7 +1379,7 @@ case $os in
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||
| -sym* | -kopensolaris* | -plan9* \
|
||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||
| -aos* | -aros* \
|
||||
| -aos* | -aros* | -cloudabi* | -sortix* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||
|
||||
2
configure
vendored
2
configure
vendored
@@ -3192,7 +3192,7 @@ fi
|
||||
# Define the identity of the package.
|
||||
|
||||
PACKAGE=shadow
|
||||
VERSION=4.3
|
||||
VERSION=4.4
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT
|
||||
AM_INIT_AUTOMAKE(shadow, 4.3)
|
||||
AM_INIT_AUTOMAKE(shadow, 4.4)
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
dnl Some hacks...
|
||||
|
||||
685
configure.in
685
configure.in
@@ -1,685 +0,0 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT
|
||||
AM_INIT_AUTOMAKE(shadow, 4.2.1)
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
dnl Some hacks...
|
||||
test "$prefix" = "NONE" && prefix="/usr"
|
||||
test "$prefix" = "/usr" && exec_prefix=""
|
||||
|
||||
AC_GNU_SOURCE
|
||||
|
||||
AM_DISABLE_SHARED
|
||||
AM_ENABLE_STATIC
|
||||
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_ISC_POSIX
|
||||
AC_PROG_LN_S
|
||||
AC_PROG_YACC
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
dnl Checks for libraries.
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STDC
|
||||
AC_HEADER_SYS_WAIT
|
||||
AC_HEADER_STDBOOL
|
||||
|
||||
AC_CHECK_HEADERS(errno.h fcntl.h limits.h unistd.h sys/time.h utmp.h \
|
||||
utmpx.h termios.h termio.h sgtty.h sys/ioctl.h syslog.h paths.h \
|
||||
utime.h ulimit.h sys/resource.h gshadow.h lastlog.h \
|
||||
locale.h rpc/key_prot.h netdb.h acl/libacl.h attr/libattr.h \
|
||||
attr/error_context.h)
|
||||
|
||||
dnl shadow now uses the libc's shadow implementation
|
||||
AC_CHECK_HEADER([shadow.h],,[AC_MSG_ERROR([You need a libc with shadow.h])])
|
||||
|
||||
AC_CHECK_FUNCS(l64a fchmod fchown fsync futimes getgroups gethostname getspnam \
|
||||
gettimeofday getusershell getutent initgroups lchown lckpwdf lstat \
|
||||
lutimes memcpy memset setgroups sigaction strchr updwtmp updwtmpx innetgr \
|
||||
getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r getaddrinfo \
|
||||
ruserok)
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
AC_TYPE_UID_T
|
||||
AC_TYPE_OFF_T
|
||||
AC_TYPE_PID_T
|
||||
AC_TYPE_MODE_T
|
||||
AC_HEADER_STAT
|
||||
AC_CHECK_MEMBERS([struct stat.st_rdev])
|
||||
AC_CHECK_MEMBERS([struct stat.st_atim])
|
||||
AC_CHECK_MEMBERS([struct stat.st_atimensec])
|
||||
AC_CHECK_MEMBERS([struct stat.st_mtim])
|
||||
AC_CHECK_MEMBERS([struct stat.st_mtimensec])
|
||||
AC_HEADER_TIME
|
||||
AC_STRUCT_TM
|
||||
|
||||
AC_CHECK_MEMBERS([struct utmp.ut_type,
|
||||
struct utmp.ut_id,
|
||||
struct utmp.ut_name,
|
||||
struct utmp.ut_user,
|
||||
struct utmp.ut_host,
|
||||
struct utmp.ut_syslen,
|
||||
struct utmp.ut_addr,
|
||||
struct utmp.ut_addr_v6,
|
||||
struct utmp.ut_time,
|
||||
struct utmp.ut_xtime,
|
||||
struct utmp.ut_tv],,,[[#include <utmp.h>]])
|
||||
dnl There are dependencies:
|
||||
dnl If UTMPX has to be used, the utmp structure shall have a ut_id field.
|
||||
if test "$ac_cv_header_utmpx_h" = "yes" &&
|
||||
test "$ac_cv_member_struct_utmp_ut_id" != "yes"; then
|
||||
AC_MSG_ERROR(Systems with UTMPX and no ut_id field in the utmp structure are not supported)
|
||||
fi
|
||||
|
||||
AC_CHECK_MEMBERS([struct utmpx.ut_name,
|
||||
struct utmpx.ut_host,
|
||||
struct utmpx.ut_syslen,
|
||||
struct utmpx.ut_addr,
|
||||
struct utmpx.ut_addr_v6,
|
||||
struct utmpx.ut_time,
|
||||
struct utmpx.ut_xtime],,,[[#include <utmpx.h>]])
|
||||
|
||||
if test "$ac_cv_header_lastlog_h" = "yes"; then
|
||||
AC_CACHE_CHECK(for ll_host in struct lastlog,
|
||||
ac_cv_struct_lastlog_ll_host,
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <lastlog.h>],
|
||||
[struct lastlog ll; char *cp = ll.ll_host;]
|
||||
)],
|
||||
[ac_cv_struct_lastlog_ll_host=yes],
|
||||
[ac_cv_struct_lastlog_ll_host=no]
|
||||
)
|
||||
)
|
||||
|
||||
if test "$ac_cv_struct_lastlog_ll_host" = "yes"; then
|
||||
AC_DEFINE(HAVE_LL_HOST, 1,
|
||||
[Define if struct lastlog has ll_host])
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Checks for library functions.
|
||||
AC_TYPE_GETGROUPS
|
||||
AC_TYPE_SIGNAL
|
||||
AC_FUNC_UTIME_NULL
|
||||
AC_FUNC_STRFTIME
|
||||
AC_REPLACE_FUNCS(mkdir putgrent putpwent putspent rename rmdir)
|
||||
AC_REPLACE_FUNCS(sgetgrent sgetpwent sgetspent)
|
||||
AC_REPLACE_FUNCS(snprintf strcasecmp strdup strerror strstr)
|
||||
|
||||
AC_CHECK_FUNC(setpgrp)
|
||||
|
||||
if test "$ac_cv_header_shadow_h" = "yes"; then
|
||||
AC_CACHE_CHECK(for working shadow group support,
|
||||
ac_cv_libc_shadowgrp,
|
||||
AC_RUN_IFELSE([AC_LANG_SOURCE([
|
||||
#include <shadow.h>
|
||||
main()
|
||||
{
|
||||
struct sgrp *sg = sgetsgent("test:x::");
|
||||
/* NYS libc on Red Hat 3.0.3 has broken shadow group support */
|
||||
return !sg || !sg->sg_adm || !sg->sg_mem;
|
||||
}]
|
||||
)],
|
||||
[ac_cv_libc_shadowgrp=yes],
|
||||
[ac_cv_libc_shadowgrp=no],
|
||||
[ac_cv_libc_shadowgrp=no]
|
||||
)
|
||||
)
|
||||
|
||||
if test "$ac_cv_libc_shadowgrp" = "yes"; then
|
||||
AC_DEFINE(HAVE_SHADOWGRP, 1, [Have working shadow group support in libc])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([location of shared mail directory], shadow_cv_maildir,
|
||||
[for shadow_cv_maildir in /var/mail /var/spool/mail /usr/spool/mail /usr/mail none; do
|
||||
if test -d $shadow_cv_maildir; then
|
||||
break
|
||||
fi
|
||||
done])
|
||||
if test $shadow_cv_maildir != none; then
|
||||
AC_DEFINE_UNQUOTED(MAIL_SPOOL_DIR, "$shadow_cv_maildir",
|
||||
[Location of system mail spool directory.])
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([location of user mail file], shadow_cv_mailfile,
|
||||
[for shadow_cv_mailfile in Mailbox mailbox Mail mail .mail none; do
|
||||
if test -f $HOME/$shadow_cv_mailfile; then
|
||||
break
|
||||
fi
|
||||
done])
|
||||
if test $shadow_cv_mailfile != none; then
|
||||
AC_DEFINE_UNQUOTED(MAIL_SPOOL_FILE, "$shadow_cv_mailfile",
|
||||
[Name of user's mail spool file if stored in user's home directory.])
|
||||
fi
|
||||
|
||||
AC_CACHE_CHECK([location of utmp], shadow_cv_utmpdir,
|
||||
[for shadow_cv_utmpdir in /var/run /var/adm /usr/adm /etc none; do
|
||||
if test -f $shadow_cv_utmpdir/utmp; then
|
||||
break
|
||||
fi
|
||||
done])
|
||||
if test "$shadow_cv_utmpdir" = "none"; then
|
||||
AC_MSG_WARN(utmp file not found)
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(_UTMP_FILE, "$shadow_cv_utmpdir/utmp",
|
||||
[Path for utmp file.])
|
||||
|
||||
AC_CACHE_CHECK([location of faillog/lastlog/wtmp], shadow_cv_logdir,
|
||||
[for shadow_cv_logdir in /var/log /var/adm /usr/adm /etc; do
|
||||
if test -d $shadow_cv_logdir; then
|
||||
break
|
||||
fi
|
||||
done])
|
||||
AC_DEFINE_UNQUOTED(_WTMP_FILE, "$shadow_cv_logdir/wtmp",
|
||||
[Path for wtmp file.])
|
||||
AC_DEFINE_UNQUOTED(LASTLOG_FILE, "$shadow_cv_logdir/lastlog",
|
||||
[Path for lastlog file.])
|
||||
AC_DEFINE_UNQUOTED(FAILLOG_FILE, "$shadow_cv_logdir/faillog",
|
||||
[Path for faillog file.])
|
||||
|
||||
AC_CACHE_CHECK([location of the passwd program], shadow_cv_passwd_dir,
|
||||
[if test -f /usr/bin/passwd; then
|
||||
shadow_cv_passwd_dir=/usr/bin
|
||||
else
|
||||
shadow_cv_passwd_dir=/bin
|
||||
fi])
|
||||
AC_DEFINE_UNQUOTED(PASSWD_PROGRAM, "$shadow_cv_passwd_dir/passwd",
|
||||
[Path to passwd program.])
|
||||
|
||||
dnl XXX - quick hack, should disappear before anyone notices :).
|
||||
AC_DEFINE(USE_SYSLOG, 1, [Define to use syslog().])
|
||||
if test "$ac_cv_func_ruserok" = "yes"; then
|
||||
AC_DEFINE(RLOGIN, 1, [Define if login should support the -r flag for rlogind.])
|
||||
AC_DEFINE(RUSEROK, 0, [Define to the ruserok() "success" return value (0 or 1).])
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(shadowgrp,
|
||||
[AC_HELP_STRING([--enable-shadowgrp], [enable shadow group support @<:@default=yes@:>@])],
|
||||
[case "${enableval}" in
|
||||
yes) enable_shadowgrp="yes" ;;
|
||||
no) enable_shadowgrp="no" ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-shadowgrp) ;;
|
||||
esac],
|
||||
[enable_shadowgrp="yes"]
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(man,
|
||||
[AC_HELP_STRING([--enable-man],
|
||||
[regenerate roff man pages from Docbook @<:@default=no@:>@])],
|
||||
[enable_man="${enableval}"],
|
||||
[enable_man="no"]
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(account-tools-setuid,
|
||||
[AC_HELP_STRING([--enable-account-tools-setuid],
|
||||
[Install the user and group management tools setuid and authenticate the callers. This requires --with-pam.])],
|
||||
[case "${enableval}" in
|
||||
yes) enable_acct_tools_setuid="yes" ;;
|
||||
no) enable_acct_tools_setuid="no" ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-account-tools-setuid)
|
||||
;;
|
||||
esac],
|
||||
[enable_acct_tools_setuid="maybe"]
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(utmpx,
|
||||
[AC_HELP_STRING([--enable-utmpx],
|
||||
[enable loggin in utmpx / wtmpx @<:@default=no@:>@])],
|
||||
[case "${enableval}" in
|
||||
yes) enable_utmpx="yes" ;;
|
||||
no) enable_utmpx="no" ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-utmpx) ;;
|
||||
esac],
|
||||
[enable_utmpx="no"]
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(subordinate-ids,
|
||||
[AC_HELP_STRING([--enable-subordinate-ids],
|
||||
[support subordinate ids @<:@default=yes@:>@])],
|
||||
[enable_subids="${enableval}"],
|
||||
[enable_subids="maybe"]
|
||||
)
|
||||
|
||||
AC_ARG_WITH(audit,
|
||||
[AC_HELP_STRING([--with-audit], [use auditing support @<:@default=yes if found@:>@])],
|
||||
[with_audit=$withval], [with_audit=maybe])
|
||||
AC_ARG_WITH(libpam,
|
||||
[AC_HELP_STRING([--with-libpam], [use libpam for PAM support @<:@default=yes if found@:>@])],
|
||||
[with_libpam=$withval], [with_libpam=maybe])
|
||||
AC_ARG_WITH(selinux,
|
||||
[AC_HELP_STRING([--with-selinux], [use SELinux support @<:@default=yes if found@:>@])],
|
||||
[with_selinux=$withval], [with_selinux=maybe])
|
||||
AC_ARG_WITH(acl,
|
||||
[AC_HELP_STRING([--with-acl], [use ACL support @<:@default=yes if found@:>@])],
|
||||
[with_acl=$withval], [with_acl=maybe])
|
||||
AC_ARG_WITH(attr,
|
||||
[AC_HELP_STRING([--with-attr], [use Extended Attribute support @<:@default=yes if found@:>@])],
|
||||
[with_attr=$withval], [with_attr=maybe])
|
||||
AC_ARG_WITH(skey,
|
||||
[AC_HELP_STRING([--with-skey], [use S/Key support @<:@default=no@:>@])],
|
||||
[with_skey=$withval], [with_skey=no])
|
||||
AC_ARG_WITH(tcb,
|
||||
[AC_HELP_STRING([--with-tcb], [use tcb support (incomplete) @<:@default=yes if found@:>@])],
|
||||
[with_tcb=$withval], [with_tcb=maybe])
|
||||
AC_ARG_WITH(libcrack,
|
||||
[AC_HELP_STRING([--with-libcrack], [use libcrack @<:@default=no@:>@])],
|
||||
[with_libcrack=$withval], [with_libcrack=no])
|
||||
AC_ARG_WITH(sha-crypt,
|
||||
[AC_HELP_STRING([--with-sha-crypt], [allow the SHA256 and SHA512 password encryption algorithms @<:@default=yes@:>@])],
|
||||
[with_sha_crypt=$withval], [with_sha_crypt=yes])
|
||||
AC_ARG_WITH(nscd,
|
||||
[AC_HELP_STRING([--with-nscd], [enable support for nscd @<:@default=yes@:>@])],
|
||||
[with_nscd=$withval], [with_nscd=yes])
|
||||
AC_ARG_WITH(group-name-max-length,
|
||||
[AC_HELP_STRING([--with-group-name-max-length], [set max group name length @<:@default=16@:>@])],
|
||||
[with_group_name_max_length=$withval], [with_group_name_max_length=yes])
|
||||
|
||||
if test "$with_group_name_max_length" = "no" ; then
|
||||
with_group_name_max_length=0
|
||||
elif test "$with_group_name_max_length" = "yes" ; then
|
||||
with_group_name_max_length=16
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(GROUP_NAME_MAX_LENGTH, $with_group_name_max_length, [max group name length])
|
||||
AC_SUBST(GROUP_NAME_MAX_LENGTH)
|
||||
GROUP_NAME_MAX_LENGTH="$with_group_name_max_length"
|
||||
|
||||
AM_CONDITIONAL(USE_SHA_CRYPT, test "x$with_sha_crypt" = "xyes")
|
||||
if test "$with_sha_crypt" = "yes"; then
|
||||
AC_DEFINE(USE_SHA_CRYPT, 1, [Define to allow the SHA256 and SHA512 password encryption algorithms])
|
||||
fi
|
||||
|
||||
if test "$with_nscd" = "yes"; then
|
||||
AC_CHECK_FUNC(posix_spawn,
|
||||
[AC_DEFINE(USE_NSCD, 1, [Define to support flushing of nscd caches])],
|
||||
[AC_MSG_ERROR([posix_spawn is needed for nscd support])])
|
||||
fi
|
||||
|
||||
dnl Check for some functions in libc first, only if not found check for
|
||||
dnl other libraries. This should prevent linking libnsl if not really
|
||||
dnl needed (Linux glibc, Irix), but still link it if needed (Solaris).
|
||||
|
||||
AC_SEARCH_LIBS(inet_ntoa, inet)
|
||||
AC_SEARCH_LIBS(socket, socket)
|
||||
AC_SEARCH_LIBS(gethostbyname, nsl)
|
||||
|
||||
if test "$enable_shadowgrp" = "yes"; then
|
||||
AC_DEFINE(SHADOWGRP, 1, [Define to support the shadow group file.])
|
||||
fi
|
||||
AM_CONDITIONAL(SHADOWGRP, test "x$enable_shadowgrp" = "xyes")
|
||||
|
||||
if test "$enable_man" = "yes"; then
|
||||
dnl
|
||||
dnl Check for xsltproc
|
||||
dnl
|
||||
AC_PATH_PROG([XSLTPROC], [xsltproc])
|
||||
if test -z "$XSLTPROC"; then
|
||||
enable_man=no
|
||||
fi
|
||||
|
||||
dnl check for DocBook DTD and stylesheets in the local catalog.
|
||||
JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
|
||||
[DocBook XML DTD V4.1.2], [], enable_man=no)
|
||||
JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
|
||||
[DocBook XSL Stylesheets >= 1.70.1], [], enable_man=no)
|
||||
fi
|
||||
AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test "x$enable_man" != "xno")
|
||||
|
||||
if test "$enable_subids" != "no"; then
|
||||
dnl
|
||||
dnl FIXME: check if 32 bit UIDs/GIDs are supported by libc
|
||||
dnl
|
||||
AC_RUN_IFELSE([AC_LANG_SOURCE([
|
||||
#include <sys/types.h>
|
||||
int main(void) {
|
||||
uid_t u;
|
||||
gid_t g;
|
||||
return (sizeof u < 4) || (sizeof g < 4);
|
||||
}
|
||||
])], [id32bit="yes"], [id32bit="no"])
|
||||
|
||||
if test "x$id32bit" = "xyes"; then
|
||||
AC_DEFINE(ENABLE_SUBIDS, 1, [Define to support the subordinate IDs.])
|
||||
enable_subids="yes"
|
||||
else
|
||||
if test "x$enable_subids" = "xyes"; then
|
||||
AC_MSG_ERROR([Cannot enable support the subordinate IDs on systems where gid_t or uid_t has less than 32 bits])
|
||||
fi
|
||||
enable_subids="no"
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL(ENABLE_SUBIDS, test "x$enable_subids" != "xno")
|
||||
|
||||
AC_SUBST(LIBCRYPT)
|
||||
AC_CHECK_LIB(crypt, crypt, [LIBCRYPT=-lcrypt],
|
||||
[AC_MSG_ERROR([crypt() not found])])
|
||||
|
||||
AC_SUBST(LIBACL)
|
||||
if test "$with_acl" != "no"; then
|
||||
AC_CHECK_HEADERS(acl/libacl.h attr/error_context.h, [acl_header="yes"], [acl_header="no"])
|
||||
if test "$acl_header$with_acl" = "noyes" ; then
|
||||
AC_MSG_ERROR([acl/libacl.h or attr/error_context.h is missing])
|
||||
elif test "$acl_header" = "yes" ; then
|
||||
AC_CHECK_LIB(acl, perm_copy_file,
|
||||
[AC_CHECK_LIB(acl, perm_copy_fd,
|
||||
[acl_lib="yes"],
|
||||
[acl_lib="no"])],
|
||||
[acl_lib="no"])
|
||||
if test "$acl_lib$with_acl" = "noyes" ; then
|
||||
AC_MSG_ERROR([libacl not found])
|
||||
elif test "$acl_lib" = "no" ; then
|
||||
with_acl="no"
|
||||
else
|
||||
AC_DEFINE(WITH_ACL, 1,
|
||||
[Build shadow with ACL support])
|
||||
LIBACL="-lacl"
|
||||
with_acl="yes"
|
||||
fi
|
||||
else
|
||||
with_acl="no"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(LIBATTR)
|
||||
if test "$with_attr" != "no"; then
|
||||
AC_CHECK_HEADERS(attr/libattr.h attr/error_context.h, [attr_header="yes"], [attr_header="no"])
|
||||
if test "$attr_header$with_attr" = "noyes" ; then
|
||||
AC_MSG_ERROR([attr/libattr.h or attr/error_context.h is missing])
|
||||
elif test "$attr_header" = "yes" ; then
|
||||
AC_CHECK_LIB(attr, attr_copy_file,
|
||||
[AC_CHECK_LIB(attr, attr_copy_fd,
|
||||
[attr_lib="yes"],
|
||||
[attr_lib="no"])],
|
||||
[attr_lib="no"])
|
||||
if test "$attr_lib$with_attr" = "noyes" ; then
|
||||
AC_MSG_ERROR([libattr not found])
|
||||
elif test "$attr_lib" = "no" ; then
|
||||
with_attr="no"
|
||||
else
|
||||
AC_DEFINE(WITH_ATTR, 1,
|
||||
[Build shadow with Extended Attributes support])
|
||||
LIBATTR="-lattr"
|
||||
with_attr="yes"
|
||||
fi
|
||||
else
|
||||
with_attr="no"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(LIBAUDIT)
|
||||
if test "$with_audit" != "no"; then
|
||||
AC_CHECK_HEADER(libaudit.h, [audit_header="yes"], [audit_header="no"])
|
||||
if test "$audit_header$with_audit" = "noyes" ; then
|
||||
AC_MSG_ERROR([libaudit.h is missing])
|
||||
elif test "$audit_header" = "yes"; then
|
||||
AC_CHECK_DECL(AUDIT_ADD_USER,,[audit_header="no"],[#include <libaudit.h>])
|
||||
AC_CHECK_DECL(AUDIT_DEL_USER,,[audit_header="no"],[#include <libaudit.h>])
|
||||
AC_CHECK_DECL(AUDIT_ADD_GROUP,,[audit_header="no"],[#include <libaudit.h>])
|
||||
AC_CHECK_DECL(AUDIT_DEL_GROUP,,[audit_header="no"],[#include <libaudit.h>])
|
||||
if test "$audit_header$with_audit" = "noyes" ; then
|
||||
AC_MSG_ERROR([AUDIT_ADD_USER AUDIT_DEL_USER AUDIT_ADD_GROUP or AUDIT_DEL_GROUP missing from libaudit.h])
|
||||
fi
|
||||
fi
|
||||
if test "$audit_header" = "yes"; then
|
||||
AC_CHECK_LIB(audit, audit_log_acct_message,
|
||||
[audit_lib="yes"], [audit_lib="no"])
|
||||
if test "$audit_lib$with_audit" = "noyes" ; then
|
||||
AC_MSG_ERROR([libaudit not found])
|
||||
elif test "$audit_lib" = "no" ; then
|
||||
with_audit="no"
|
||||
else
|
||||
AC_DEFINE(WITH_AUDIT, 1,
|
||||
[Define if you want to enable Audit messages])
|
||||
LIBAUDIT="-laudit"
|
||||
with_audit="yes"
|
||||
fi
|
||||
else
|
||||
with_audit="no"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(LIBCRACK)
|
||||
if test "$with_libcrack" = "yes"; then
|
||||
echo "checking cracklib flavour, don't be surprised by the results"
|
||||
AC_CHECK_LIB(crack, FascistCheck,
|
||||
[LIBCRACK=-lcrack AC_DEFINE(HAVE_LIBCRACK, 1, [Defined if you have libcrack.])])
|
||||
AC_CHECK_LIB(crack, FascistHistory,
|
||||
AC_DEFINE(HAVE_LIBCRACK_HIST, 1, [Defined if you have the ts&szs cracklib.]))
|
||||
AC_CHECK_LIB(crack, FascistHistoryPw,
|
||||
AC_DEFINE(HAVE_LIBCRACK_PW, 1, [Defined if it includes *Pw functions.]))
|
||||
fi
|
||||
|
||||
AC_SUBST(LIBSELINUX)
|
||||
AC_SUBST(LIBSEMANAGE)
|
||||
if test "$with_selinux" != "no"; then
|
||||
AC_CHECK_HEADERS(selinux/selinux.h, [selinux_header="yes"], [selinux_header="no"])
|
||||
if test "$selinux_header$with_selinux" = "noyes" ; then
|
||||
AC_MSG_ERROR([selinux/selinux.h is missing])
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADERS(semanage/semanage.h, [semanage_header="yes"], [semanage_header="no"])
|
||||
if test "$semanage_header$with_selinux" = "noyes" ; then
|
||||
AC_MSG_ERROR([semanage/semanage.h is missing])
|
||||
fi
|
||||
|
||||
if test "$selinux_header$semanage_header" = "yesyes" ; then
|
||||
AC_CHECK_LIB(selinux, is_selinux_enabled, [selinux_lib="yes"], [selinux_lib="no"])
|
||||
if test "$selinux_lib$with_selinux" = "noyes" ; then
|
||||
AC_MSG_ERROR([libselinux not found])
|
||||
fi
|
||||
|
||||
AC_CHECK_LIB(semanage, semanage_connect, [semanage_lib="yes"], [semanage_lib="no"])
|
||||
if test "$semanage_lib$with_selinux" = "noyes" ; then
|
||||
AC_MSG_ERROR([libsemanage not found])
|
||||
fi
|
||||
|
||||
if test "$selinux_lib$semanage_lib" == "yesyes" ; then
|
||||
AC_DEFINE(WITH_SELINUX, 1,
|
||||
[Build shadow with SELinux support])
|
||||
LIBSELINUX="-lselinux"
|
||||
LIBSEMANAGE="-lsemanage"
|
||||
with_selinux="yes"
|
||||
else
|
||||
with_selinux="no"
|
||||
fi
|
||||
else
|
||||
with_selinux="no"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(LIBTCB)
|
||||
if test "$with_tcb" != "no"; then
|
||||
AC_CHECK_HEADERS(tcb.h, [tcb_header="yes"], [tcb_header="no"])
|
||||
if test "$tcb_header$with_tcb" = "noyes" ; then
|
||||
AC_MSG_ERROR([tcb.h is missing])
|
||||
elif test "$tcb_header" = "yes" ; then
|
||||
AC_CHECK_LIB(tcb, tcb_is_suspect, [tcb_lib="yes"], [tcb_lib="no"])
|
||||
if test "$tcb_lib$with_tcb" = "noyes" ; then
|
||||
AC_MSG_ERROR([libtcb not found])
|
||||
elif test "$tcb_lib" = "no" ; then
|
||||
with_tcb="no"
|
||||
else
|
||||
AC_DEFINE(WITH_TCB, 1, [Build shadow with tcb support (incomplete)])
|
||||
LIBTCB="-ltcb"
|
||||
with_tcb="yes"
|
||||
fi
|
||||
else
|
||||
with_tcb="no"
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL(WITH_TCB, test x$with_tcb = xyes)
|
||||
|
||||
AC_SUBST(LIBPAM)
|
||||
if test "$with_libpam" != "no"; then
|
||||
AC_CHECK_LIB(pam, pam_start,
|
||||
[pam_lib="yes"], [pam_lib="no"])
|
||||
if test "$pam_lib$with_libpam" = "noyes" ; then
|
||||
AC_MSG_ERROR(libpam not found)
|
||||
fi
|
||||
|
||||
LIBPAM="-lpam"
|
||||
pam_conv_function="no"
|
||||
|
||||
AC_CHECK_LIB(pam, openpam_ttyconv,
|
||||
[pam_conv_function="openpam_ttyconv"],
|
||||
AC_CHECK_LIB(pam_misc, misc_conv,
|
||||
[pam_conv_function="misc_conv"; LIBPAM="$LIBPAM -lpam_misc"])
|
||||
)
|
||||
|
||||
if test "$pam_conv_function$with_libpam" = "noyes" ; then
|
||||
AC_MSG_ERROR(PAM conversation function not found)
|
||||
fi
|
||||
|
||||
pam_headers_found=no
|
||||
AC_CHECK_HEADERS( [security/openpam.h security/pam_misc.h],
|
||||
[ pam_headers_found=yes ; break ], [],
|
||||
[ #include <security/pam_appl.h> ] )
|
||||
if test "$pam_headers_found$with_libpam" = "noyes" ; then
|
||||
AC_MSG_ERROR(PAM headers not found)
|
||||
fi
|
||||
|
||||
|
||||
if test "$pam_lib$pam_headers_found" = "yesyes" -a "$pam_conv_function" != "no" ; then
|
||||
with_libpam="yes"
|
||||
else
|
||||
with_libpam="no"
|
||||
unset LIBPAM
|
||||
fi
|
||||
fi
|
||||
dnl Now with_libpam is either yes or no
|
||||
if test "$with_libpam" = "yes"; then
|
||||
AC_CHECK_DECLS([PAM_ESTABLISH_CRED,
|
||||
PAM_DELETE_CRED,
|
||||
PAM_NEW_AUTHTOK_REQD,
|
||||
PAM_DATA_SILENT],
|
||||
[], [], [#include <security/pam_appl.h>])
|
||||
|
||||
|
||||
save_libs=$LIBS
|
||||
LIBS="$LIBS $LIBPAM"
|
||||
# We do not use AC_CHECK_FUNCS to avoid duplicated definition with
|
||||
# Linux PAM.
|
||||
AC_CHECK_FUNC(pam_fail_delay, [AC_DEFINE(HAS_PAM_FAIL_DELAY, 1, [Define to 1 if you have the declaration of 'pam_fail_delay'])])
|
||||
LIBS=$save_libs
|
||||
|
||||
AC_DEFINE(USE_PAM, 1, [Define to support Pluggable Authentication Modules])
|
||||
AC_DEFINE_UNQUOTED(SHADOW_PAM_CONVERSATION, [$pam_conv_function],[PAM converstation to use])
|
||||
AM_CONDITIONAL(USE_PAM, [true])
|
||||
|
||||
AC_MSG_CHECKING(use login and su access checking if PAM not used)
|
||||
AC_MSG_RESULT(no)
|
||||
else
|
||||
AC_DEFINE(SU_ACCESS, 1, [Define to support /etc/suauth su access control.])
|
||||
AM_CONDITIONAL(USE_PAM, [false])
|
||||
AC_MSG_CHECKING(use login and su access checking if PAM not used)
|
||||
AC_MSG_RESULT(yes)
|
||||
fi
|
||||
|
||||
if test "$enable_acct_tools_setuid" != "no"; then
|
||||
if test "$with_libpam" != "yes"; then
|
||||
if test "$enable_acct_tools_setuid" = "yes"; then
|
||||
AC_MSG_ERROR(PAM support is required for --enable-account-tools-setuid)
|
||||
else
|
||||
enable_acct_tools_setuid="no"
|
||||
fi
|
||||
else
|
||||
enable_acct_tools_setuid="yes"
|
||||
fi
|
||||
if test "$enable_acct_tools_setuid" = "yes"; then
|
||||
AC_DEFINE(ACCT_TOOLS_SETUID,
|
||||
1,
|
||||
[Define if account management tools should be installed setuid and authenticate the callers])
|
||||
fi
|
||||
fi
|
||||
AM_CONDITIONAL(ACCT_TOOLS_SETUID, test "x$enable_acct_tools_setuid" = "xyes")
|
||||
|
||||
AC_SUBST(LIBSKEY)
|
||||
AC_SUBST(LIBMD)
|
||||
if test "$with_skey" = "yes"; then
|
||||
AC_CHECK_LIB(md, MD5Init, [LIBMD=-lmd])
|
||||
AC_CHECK_LIB(skey, skeychallenge, [LIBSKEY=-lskey],
|
||||
[AC_MSG_ERROR([liskey missing. You can download S/Key source code from http://rsync1.it.gentoo.org/gentoo/distfiles/skey-1.1.5.tar.bz2])])
|
||||
AC_DEFINE(SKEY, 1, [Define to support S/Key logins.])
|
||||
AC_TRY_COMPILE([
|
||||
#include <stdio.h>
|
||||
#include <skey.h>
|
||||
],[
|
||||
skeychallenge((void*)0, (void*)0, (void*)0, 0);
|
||||
],[AC_DEFINE(SKEY_BSD_STYLE, 1, [Define to support newer BSD S/Key API])])
|
||||
fi
|
||||
|
||||
if test "$enable_utmpx" = "yes"; then
|
||||
if test "$ac_cv_header_utmpx_h" != "yes"; then
|
||||
AC_MSG_ERROR([The utmpx.h header file is required for utmpx support.])
|
||||
fi
|
||||
AC_DEFINE(USE_UTMPX,
|
||||
1,
|
||||
[Define if utmpx should be used])
|
||||
fi
|
||||
|
||||
AC_DEFINE_UNQUOTED(SHELL, ["$SHELL"], [The default shell.])
|
||||
|
||||
AM_GNU_GETTEXT_VERSION(0.16)
|
||||
AM_GNU_GETTEXT([external], [need-ngettext])
|
||||
AM_CONDITIONAL(USE_NLS, test "x$USE_NLS" = "xyes")
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
po/Makefile.in
|
||||
doc/Makefile
|
||||
man/Makefile
|
||||
man/config.xml
|
||||
man/po/Makefile
|
||||
man/cs/Makefile
|
||||
man/da/Makefile
|
||||
man/de/Makefile
|
||||
man/es/Makefile
|
||||
man/fi/Makefile
|
||||
man/fr/Makefile
|
||||
man/hu/Makefile
|
||||
man/id/Makefile
|
||||
man/it/Makefile
|
||||
man/ja/Makefile
|
||||
man/ko/Makefile
|
||||
man/pl/Makefile
|
||||
man/pt_BR/Makefile
|
||||
man/ru/Makefile
|
||||
man/sv/Makefile
|
||||
man/tr/Makefile
|
||||
man/zh_CN/Makefile
|
||||
man/zh_TW/Makefile
|
||||
libmisc/Makefile
|
||||
lib/Makefile
|
||||
src/Makefile
|
||||
contrib/Makefile
|
||||
etc/Makefile
|
||||
etc/pam.d/Makefile
|
||||
shadow.spec
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
||||
echo
|
||||
echo "shadow will be compiled with the following features:"
|
||||
echo
|
||||
echo " auditing support: $with_audit"
|
||||
echo " CrackLib support: $with_libcrack"
|
||||
echo " PAM support: $with_libpam"
|
||||
if test "$with_libpam" = "yes"; then
|
||||
echo " suid account management tools: $enable_acct_tools_setuid"
|
||||
fi
|
||||
echo " SELinux support: $with_selinux"
|
||||
echo " ACL support: $with_acl"
|
||||
echo " Extended Attributes support: $with_attr"
|
||||
echo " tcb support (incomplete): $with_tcb"
|
||||
echo " shadow group support: $enable_shadowgrp"
|
||||
echo " S/Key support: $with_skey"
|
||||
echo " SHA passwords encryption: $with_sha_crypt"
|
||||
echo " nscd support: $with_nscd"
|
||||
echo " subordinate IDs support: $enable_subids"
|
||||
echo
|
||||
@@ -290,9 +290,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign contrib/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu contrib/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign contrib/Makefile
|
||||
$(AUTOMAKE) --gnu contrib/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
32
debian/changelog
vendored
32
debian/changelog
vendored
@@ -1,23 +1,21 @@
|
||||
shadow (1:4.3-1) unstable; urgency=medium
|
||||
shadow (1:4.4-1) unstable; urgency=medium
|
||||
|
||||
[ Serge Hallyn ]
|
||||
* Merge upstream 4.3 release
|
||||
* Dropped patches:
|
||||
- debian/patches/501_commonio_group_shadow: not sure about this one,
|
||||
are the cached db->st_mode etc what we want?
|
||||
- debian/patches/1000_configure_userns - upstream
|
||||
- debian/patches/1020_fix_user_busy_errors - upstream
|
||||
- debian/patches/1010_vietnamese_translation - needs a refresh and I'm
|
||||
not qualified; left the old version but unapplied
|
||||
* debian/control:
|
||||
- replace nekral with myself in Uploaders (Closes: #832380)
|
||||
- Update VCS fields to use https
|
||||
* Add three upstream security patches (which are not in the 4.3 release)
|
||||
* Import new upstream
|
||||
* Patch changes:
|
||||
- Update 501_commonio_group_shadow to work with upstream changes
|
||||
- Update 1010_vietnamese_translation
|
||||
- Drop userns patches which are now all upstream
|
||||
|
||||
[ Niels Thykier ]
|
||||
* debian/rules: explicitly set SHELL to /bin/sh
|
||||
-- Serge Hallyn <serge.hallyn@ubuntu.com> Sun, 18 Sep 2016 22:14:43 -0500
|
||||
|
||||
-- Serge Hallyn <serge.hallyn@ubuntu.com> Fri, 05 Aug 2016 17:43:39 -0500
|
||||
shadow (1:4.2-3.2) unstable; urgency=medium
|
||||
|
||||
* Non-maintainer upload.
|
||||
* Use HTTPS in Vcs-Git.
|
||||
* Stop using hardening-wrapper and instead use /usr/share/dpkg/buildflags.mk.
|
||||
Closes: #836653
|
||||
|
||||
-- Mattia Rizzolo <mattia@debian.org> Sun, 18 Sep 2016 14:42:16 +0000
|
||||
|
||||
shadow (1:4.2-3.1) unstable; urgency=medium
|
||||
|
||||
|
||||
7
debian/control
vendored
7
debian/control
vendored
@@ -5,10 +5,9 @@ Maintainer: Shadow package maintainers <pkg-shadow-devel@lists.alioth.debian.org
|
||||
Standards-Version: 3.9.5
|
||||
Uploaders: Christian Perrier <bubulle@debian.org>, Serge Hallyn <serge@hallyn.com>
|
||||
Build-Depends: dh-autoreconf, gettext, libpam0g-dev, debhelper (>= 6.0.7~), quilt, dpkg-dev (>= 1.13.5), xsltproc, docbook-xsl, docbook-xml, libxml2-utils, cdbs, libselinux1-dev [linux-any], libsemanage1-dev [linux-any], gnome-doc-utils (>= 0.4.3), bison, libaudit-dev [linux-any]
|
||||
,hardening-wrapper
|
||||
Vcs-Git: git://anonscm.debian.org/git/pkg-shadow/shadow.git
|
||||
Vcs-Browser: https://anonscm.debian.org/gitweb/?p=pkg-shadow/shadow.git;a=summary
|
||||
Homepage: https://pkg-shadow.alioth.debian.org/
|
||||
Vcs-Git: https://anonscm.debian.org/git/pkg-shadow/shadow.git
|
||||
Vcs-Browser: https://anonscm.debian.org/git/pkg-shadow/shadow.git
|
||||
Homepage: http://pkg-shadow.alioth.debian.org/
|
||||
|
||||
Package: passwd
|
||||
Architecture: any
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
From 7f5a14817d304c4f9ac0aff864f27d95a8cc75ca Mon Sep 17 00:00:00 2001
|
||||
From: Serge Hallyn <serge@hallyn.com>
|
||||
Date: Sun, 31 Jul 2016 12:55:44 -0500
|
||||
Subject: [PATCH 1/3] get_map_ranges: check for overflow
|
||||
|
||||
The kernel accepts u32 values, so make sure that userspace
|
||||
is not passing large values.
|
||||
|
||||
Signed-off-by: Serge Hallyn <serge@hallyn.com>
|
||||
---
|
||||
libmisc/idmapping.c | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
diff --git a/libmisc/idmapping.c b/libmisc/idmapping.c
|
||||
index 0dce634..f105a41 100644
|
||||
--- a/libmisc/idmapping.c
|
||||
+++ b/libmisc/idmapping.c
|
||||
@@ -83,6 +83,16 @@ struct map_range *get_map_ranges(int ranges, int argc, char **argv)
|
||||
free(mappings);
|
||||
return NULL;
|
||||
}
|
||||
+ if (mapping->upper > UINT_MAX ||
|
||||
+ mapping->lower > UINT_MAX ||
|
||||
+ mapping->count > UINT_MAX) {
|
||||
+ free(mappings);
|
||||
+ return NULL;
|
||||
+ }
|
||||
+ if (mapping->lower + mapping->count < mapping->lower) {
|
||||
+ free(mapping);
|
||||
+ return NULL;
|
||||
+ }
|
||||
}
|
||||
return mappings;
|
||||
}
|
||||
--
|
||||
2.7.4
|
||||
|
||||
46
debian/patches/0002-Simplify-getulong.patch
vendored
46
debian/patches/0002-Simplify-getulong.patch
vendored
@@ -1,46 +0,0 @@
|
||||
From 1d5a926cc2d6078d23a96222b1ef3e558724dad1 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Krahmer <krahmer@suse.com>
|
||||
Date: Wed, 3 Aug 2016 11:51:07 -0500
|
||||
Subject: [PATCH 2/3] Simplify getulong
|
||||
|
||||
Use strtoul to read an unsigned long, rather than reading
|
||||
a signed long long and casting it.
|
||||
|
||||
https://bugzilla.suse.com/show_bug.cgi?id=979282
|
||||
---
|
||||
lib/getulong.c | 9 +++------
|
||||
1 file changed, 3 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/lib/getulong.c b/lib/getulong.c
|
||||
index 61579ca..08d2c1a 100644
|
||||
--- a/lib/getulong.c
|
||||
+++ b/lib/getulong.c
|
||||
@@ -44,22 +44,19 @@
|
||||
*/
|
||||
int getulong (const char *numstr, /*@out@*/unsigned long int *result)
|
||||
{
|
||||
- long long int val;
|
||||
+ unsigned long int val;
|
||||
char *endptr;
|
||||
|
||||
errno = 0;
|
||||
- val = strtoll (numstr, &endptr, 0);
|
||||
+ val = strtoul (numstr, &endptr, 0);
|
||||
if ( ('\0' == *numstr)
|
||||
|| ('\0' != *endptr)
|
||||
|| (ERANGE == errno)
|
||||
- /*@+ignoresigns@*/
|
||||
- || (val != (unsigned long int)val)
|
||||
- /*@=ignoresigns@*/
|
||||
) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
- *result = (unsigned long int)val;
|
||||
+ *result = val;
|
||||
return 1;
|
||||
}
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
From 801935d7e54d0cc169b37fe00cad1ce84e77048b Mon Sep 17 00:00:00 2001
|
||||
From: Serge Hallyn <serge@hallyn.com>
|
||||
Date: Fri, 5 Aug 2016 17:16:48 -0500
|
||||
Subject: [PATCH 3/3] also check upper for wrap
|
||||
|
||||
---
|
||||
libmisc/idmapping.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: shadow/libmisc/idmapping.c
|
||||
===================================================================
|
||||
--- shadow.orig/libmisc/idmapping.c
|
||||
+++ shadow/libmisc/idmapping.c
|
||||
@@ -89,7 +89,8 @@ struct map_range *get_map_ranges(int ran
|
||||
free(mappings);
|
||||
return NULL;
|
||||
}
|
||||
- if (mapping->lower + mapping->count < mapping->lower) {
|
||||
+ if (mapping->lower + mapping->count < mapping->lower ||
|
||||
+ mapping->upper + mapping->count < mapping->upper) {
|
||||
free(mapping);
|
||||
return NULL;
|
||||
}
|
||||
14
debian/patches/008_login_log_failure_in_FTMP
vendored
14
debian/patches/008_login_log_failure_in_FTMP
vendored
@@ -4,11 +4,11 @@ Notes:
|
||||
* I'm not sure login should add an entry in the FTMP file when PAM is used.
|
||||
(but nothing in /etc/login.defs indicates that the failure is not logged)
|
||||
|
||||
Index: shadow-4.3/src/login.c
|
||||
Index: shadow-4.4/src/login.c
|
||||
===================================================================
|
||||
--- shadow-4.3.orig/src/login.c
|
||||
+++ shadow-4.3/src/login.c
|
||||
@@ -831,6 +831,24 @@ int main (int argc, char **argv)
|
||||
--- shadow-4.4.orig/src/login.c
|
||||
+++ shadow-4.4/src/login.c
|
||||
@@ -834,6 +834,24 @@ int main (int argc, char **argv)
|
||||
(void) puts ("");
|
||||
(void) puts (_("Login incorrect"));
|
||||
|
||||
@@ -33,10 +33,10 @@ Index: shadow-4.3/src/login.c
|
||||
if (failcount >= retries) {
|
||||
SYSLOG ((LOG_NOTICE,
|
||||
"TOO MANY LOGIN TRIES (%u)%s FOR '%s'",
|
||||
Index: shadow-4.3/lib/getdef.c
|
||||
Index: shadow-4.4/lib/getdef.c
|
||||
===================================================================
|
||||
--- shadow-4.3.orig/lib/getdef.c
|
||||
+++ shadow-4.3/lib/getdef.c
|
||||
--- shadow-4.4.orig/lib/getdef.c
|
||||
+++ shadow-4.4/lib/getdef.c
|
||||
@@ -57,7 +57,6 @@ struct itemdef {
|
||||
{"ENVIRON_FILE", NULL}, \
|
||||
{"ENV_TZ", NULL}, \
|
||||
|
||||
15
debian/patches/1000_configure_userns
vendored
Normal file
15
debian/patches/1000_configure_userns
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
Index: git/src/newusers.c
|
||||
===================================================================
|
||||
--- git.orig/src/newusers.c
|
||||
+++ git/src/newusers.c
|
||||
@@ -988,8 +988,8 @@
|
||||
is_shadow_grp = sgr_file_present ();
|
||||
#endif
|
||||
#ifdef ENABLE_SUBIDS
|
||||
- is_sub_uid = sub_uid_file_present ();
|
||||
- is_sub_gid = sub_gid_file_present ();
|
||||
+ is_sub_uid = sub_uid_file_present () && !rflg;
|
||||
+ is_sub_gid = sub_gid_file_present () && !rflg;
|
||||
#endif /* ENABLE_SUBIDS */
|
||||
|
||||
open_files ();
|
||||
784
debian/patches/1010_vietnamese_translation
vendored
784
debian/patches/1010_vietnamese_translation
vendored
File diff suppressed because it is too large
Load Diff
22
debian/patches/401_cppw_src.dpatch
vendored
22
debian/patches/401_cppw_src.dpatch
vendored
@@ -5,10 +5,10 @@
|
||||
## DP: Add cppw / cpgr
|
||||
|
||||
@DPATCH@
|
||||
Index: git/src/cppw.c
|
||||
Index: shadow-4.4/src/cppw.c
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ git/src/cppw.c
|
||||
+++ shadow-4.4/src/cppw.c
|
||||
@@ -0,0 +1,238 @@
|
||||
+/*
|
||||
+ cppw, cpgr copy with locking given file over the password or group file
|
||||
@@ -248,11 +248,11 @@ Index: git/src/cppw.c
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
Index: git/src/Makefile.am
|
||||
Index: shadow-4.4/src/Makefile.am
|
||||
===================================================================
|
||||
--- git.orig/src/Makefile.am
|
||||
+++ git/src/Makefile.am
|
||||
@@ -29,6 +29,7 @@
|
||||
--- shadow-4.4.orig/src/Makefile.am
|
||||
+++ shadow-4.4/src/Makefile.am
|
||||
@@ -29,6 +29,7 @@ if ENABLE_SUBIDS
|
||||
ubin_PROGRAMS += newgidmap newuidmap
|
||||
endif
|
||||
usbin_PROGRAMS = \
|
||||
@@ -260,7 +260,7 @@ Index: git/src/Makefile.am
|
||||
chgpasswd \
|
||||
chpasswd \
|
||||
groupadd \
|
||||
@@ -87,6 +88,7 @@
|
||||
@@ -90,6 +91,7 @@ chfn_LDADD = $(LDADD) $(LIBPAM) $(LI
|
||||
chgpasswd_LDADD = $(LDADD) $(LIBPAM_SUID) $(LIBSELINUX) $(LIBCRYPT)
|
||||
chsh_LDADD = $(LDADD) $(LIBPAM) $(LIBSELINUX) $(LIBCRYPT_NOPAM) $(LIBSKEY) $(LIBMD)
|
||||
chpasswd_LDADD = $(LDADD) $(LIBPAM) $(LIBSELINUX) $(LIBCRYPT)
|
||||
@@ -268,11 +268,11 @@ Index: git/src/Makefile.am
|
||||
gpasswd_LDADD = $(LDADD) $(LIBAUDIT) $(LIBSELINUX) $(LIBCRYPT)
|
||||
groupadd_LDADD = $(LDADD) $(LIBPAM_SUID) $(LIBAUDIT) $(LIBSELINUX)
|
||||
groupdel_LDADD = $(LDADD) $(LIBPAM_SUID) $(LIBAUDIT) $(LIBSELINUX)
|
||||
Index: git/po/POTFILES.in
|
||||
Index: shadow-4.4/po/POTFILES.in
|
||||
===================================================================
|
||||
--- git.orig/po/POTFILES.in
|
||||
+++ git/po/POTFILES.in
|
||||
@@ -85,6 +85,7 @@
|
||||
--- shadow-4.4.orig/po/POTFILES.in
|
||||
+++ shadow-4.4/po/POTFILES.in
|
||||
@@ -85,6 +85,7 @@ src/chfn.c
|
||||
src/chgpasswd.c
|
||||
src/chpasswd.c
|
||||
src/chsh.c
|
||||
|
||||
32
debian/patches/429_login_FAILLOG_ENAB
vendored
32
debian/patches/429_login_FAILLOG_ENAB
vendored
@@ -7,10 +7,10 @@ Fixes: #192849
|
||||
Note: It could be removed if pam_tally could report the number of failures
|
||||
preceding a successful login.
|
||||
|
||||
Index: shadow-4.3/src/login.c
|
||||
Index: shadow-4.4/src/login.c
|
||||
===================================================================
|
||||
--- shadow-4.3.orig/src/login.c
|
||||
+++ shadow-4.3/src/login.c
|
||||
--- shadow-4.4.orig/src/login.c
|
||||
+++ shadow-4.4/src/login.c
|
||||
@@ -131,9 +131,9 @@ static void update_utmp (const char *use
|
||||
const char *host,
|
||||
/*@null@*/const struct utmp *utent);
|
||||
@@ -22,7 +22,7 @@ Index: shadow-4.3/src/login.c
|
||||
static void bad_time_notify (void);
|
||||
static void check_nologin (bool login_to_root);
|
||||
#else
|
||||
@@ -791,6 +791,9 @@ int main (int argc, char **argv)
|
||||
@@ -794,6 +794,9 @@ int main (int argc, char **argv)
|
||||
SYSLOG ((LOG_NOTICE,
|
||||
"TOO MANY LOGIN TRIES (%u)%s FOR '%s'",
|
||||
failcount, fromhost, failent_user));
|
||||
@@ -32,7 +32,7 @@ Index: shadow-4.3/src/login.c
|
||||
fprintf (stderr,
|
||||
_("Maximum number of tries exceeded (%u)\n"),
|
||||
failcount);
|
||||
@@ -808,6 +811,14 @@ int main (int argc, char **argv)
|
||||
@@ -811,6 +814,14 @@ int main (int argc, char **argv)
|
||||
pam_strerror (pamh, retcode)));
|
||||
failed = true;
|
||||
}
|
||||
@@ -47,7 +47,7 @@ Index: shadow-4.3/src/login.c
|
||||
|
||||
if (!failed) {
|
||||
break;
|
||||
@@ -831,6 +842,10 @@ int main (int argc, char **argv)
|
||||
@@ -834,6 +845,10 @@ int main (int argc, char **argv)
|
||||
(void) puts ("");
|
||||
(void) puts (_("Login incorrect"));
|
||||
|
||||
@@ -58,7 +58,7 @@ Index: shadow-4.3/src/login.c
|
||||
if (getdef_str("FTMP_FILE") != NULL) {
|
||||
#ifdef USE_UTMPX
|
||||
struct utmpx *failent =
|
||||
@@ -1285,6 +1300,7 @@ int main (int argc, char **argv)
|
||||
@@ -1288,6 +1303,7 @@ int main (int argc, char **argv)
|
||||
*/
|
||||
#ifndef USE_PAM
|
||||
motd (); /* print the message of the day */
|
||||
@@ -66,7 +66,7 @@ Index: shadow-4.3/src/login.c
|
||||
if ( getdef_bool ("FAILLOG_ENAB")
|
||||
&& (0 != faillog.fail_cnt)) {
|
||||
failprint (&faillog);
|
||||
@@ -1297,6 +1313,7 @@ int main (int argc, char **argv)
|
||||
@@ -1300,6 +1316,7 @@ int main (int argc, char **argv)
|
||||
username, (int) faillog.fail_cnt));
|
||||
}
|
||||
}
|
||||
@@ -74,19 +74,11 @@ Index: shadow-4.3/src/login.c
|
||||
if ( getdef_bool ("LASTLOG_ENAB")
|
||||
&& (ll.ll_time != 0)) {
|
||||
time_t ll_time = ll.ll_time;
|
||||
Index: shadow-4.3/lib/getdef.c
|
||||
Index: shadow-4.4/lib/getdef.c
|
||||
===================================================================
|
||||
--- shadow-4.3.orig/lib/getdef.c
|
||||
+++ shadow-4.3/lib/getdef.c
|
||||
@@ -56,7 +56,6 @@ struct itemdef {
|
||||
{"ENV_HZ", NULL}, \
|
||||
{"ENVIRON_FILE", NULL}, \
|
||||
{"ENV_TZ", NULL}, \
|
||||
- {"FAILLOG_ENAB", NULL}, \
|
||||
{"ISSUE_FILE", NULL}, \
|
||||
{"LASTLOG_ENAB", NULL}, \
|
||||
{"LOGIN_STRING", NULL}, \
|
||||
@@ -86,6 +85,7 @@ static struct itemdef def_table[] = {
|
||||
--- shadow-4.4.orig/lib/getdef.c
|
||||
+++ shadow-4.4/lib/getdef.c
|
||||
@@ -86,6 +86,7 @@ static struct itemdef def_table[] = {
|
||||
{"ENV_SUPATH", NULL},
|
||||
{"ERASECHAR", NULL},
|
||||
{"FAIL_DELAY", NULL},
|
||||
|
||||
34
debian/patches/463_login_delay_obeys_to_PAM
vendored
34
debian/patches/463_login_delay_obeys_to_PAM
vendored
@@ -7,10 +7,10 @@ Status wrt upstream: Forwarded but not applied yet
|
||||
|
||||
Note: If removed, FAIL_DELAY must be re-added to /etc/login.defs
|
||||
|
||||
Index: shadow-4.3/src/login.c
|
||||
Index: shadow-4.4/src/login.c
|
||||
===================================================================
|
||||
--- shadow-4.3.orig/src/login.c
|
||||
+++ shadow-4.3/src/login.c
|
||||
--- shadow-4.4.orig/src/login.c
|
||||
+++ shadow-4.4/src/login.c
|
||||
@@ -525,7 +525,6 @@ int main (int argc, char **argv)
|
||||
#if defined(HAVE_STRFTIME) && !defined(USE_PAM)
|
||||
char ptime[80];
|
||||
@@ -19,7 +19,7 @@ Index: shadow-4.3/src/login.c
|
||||
unsigned int retries;
|
||||
bool subroot = false;
|
||||
#ifndef USE_PAM
|
||||
@@ -545,6 +544,7 @@ int main (int argc, char **argv)
|
||||
@@ -546,6 +545,7 @@ int main (int argc, char **argv)
|
||||
pid_t child;
|
||||
char *pam_user = NULL;
|
||||
#else
|
||||
@@ -27,7 +27,7 @@ Index: shadow-4.3/src/login.c
|
||||
struct spwd *spwd = NULL;
|
||||
#endif
|
||||
/*
|
||||
@@ -705,7 +705,6 @@ int main (int argc, char **argv)
|
||||
@@ -708,7 +708,6 @@ int main (int argc, char **argv)
|
||||
}
|
||||
|
||||
environ = newenvp; /* make new environment active */
|
||||
@@ -35,7 +35,7 @@ Index: shadow-4.3/src/login.c
|
||||
retries = getdef_unum ("LOGIN_RETRIES", RETRIES);
|
||||
|
||||
#ifdef USE_PAM
|
||||
@@ -721,8 +720,7 @@ int main (int argc, char **argv)
|
||||
@@ -724,8 +723,7 @@ int main (int argc, char **argv)
|
||||
|
||||
/*
|
||||
* hostname & tty are either set to NULL or their correct values,
|
||||
@@ -45,7 +45,7 @@ Index: shadow-4.3/src/login.c
|
||||
*
|
||||
* PAM_RHOST and PAM_TTY are used for authentication, only use
|
||||
* information coming from login or from the caller (e.g. no utmp)
|
||||
@@ -731,10 +729,6 @@ int main (int argc, char **argv)
|
||||
@@ -734,10 +732,6 @@ int main (int argc, char **argv)
|
||||
PAM_FAIL_CHECK;
|
||||
retcode = pam_set_item (pamh, PAM_TTY, tty);
|
||||
PAM_FAIL_CHECK;
|
||||
@@ -56,7 +56,7 @@ Index: shadow-4.3/src/login.c
|
||||
/* if fflg, then the user has already been authenticated */
|
||||
if (!fflg) {
|
||||
unsigned int failcount = 0;
|
||||
@@ -775,12 +769,6 @@ int main (int argc, char **argv)
|
||||
@@ -778,12 +772,6 @@ int main (int argc, char **argv)
|
||||
bool failed = false;
|
||||
|
||||
failcount++;
|
||||
@@ -69,7 +69,7 @@ Index: shadow-4.3/src/login.c
|
||||
|
||||
retcode = pam_authenticate (pamh, 0);
|
||||
|
||||
@@ -1103,14 +1091,17 @@ int main (int argc, char **argv)
|
||||
@@ -1106,14 +1094,17 @@ int main (int argc, char **argv)
|
||||
free (username);
|
||||
username = NULL;
|
||||
|
||||
@@ -87,19 +87,11 @@ Index: shadow-4.3/src/login.c
|
||||
|
||||
(void) puts (_("Login incorrect"));
|
||||
|
||||
Index: shadow-4.3/lib/getdef.c
|
||||
Index: shadow-4.4/lib/getdef.c
|
||||
===================================================================
|
||||
--- shadow-4.3.orig/lib/getdef.c
|
||||
+++ shadow-4.3/lib/getdef.c
|
||||
@@ -56,6 +56,7 @@ struct itemdef {
|
||||
{"ENV_HZ", NULL}, \
|
||||
{"ENVIRON_FILE", NULL}, \
|
||||
{"ENV_TZ", NULL}, \
|
||||
+ {"FAIL_DELAY", NULL}, \
|
||||
{"ISSUE_FILE", NULL}, \
|
||||
{"LASTLOG_ENAB", NULL}, \
|
||||
{"LOGIN_STRING", NULL}, \
|
||||
@@ -84,7 +85,6 @@ static struct itemdef def_table[] = {
|
||||
--- shadow-4.4.orig/lib/getdef.c
|
||||
+++ shadow-4.4/lib/getdef.c
|
||||
@@ -85,7 +85,6 @@ static struct itemdef def_table[] = {
|
||||
{"ENV_PATH", NULL},
|
||||
{"ENV_SUPATH", NULL},
|
||||
{"ERASECHAR", NULL},
|
||||
|
||||
53
debian/patches/501_commonio_group_shadow
vendored
53
debian/patches/501_commonio_group_shadow
vendored
@@ -2,10 +2,10 @@ Goal: save the [g]shadow files with the 'shadow' group and mode 0440
|
||||
|
||||
Fixes: #166793
|
||||
|
||||
Index: git/lib/commonio.c
|
||||
Index: shadow-4.4/lib/commonio.c
|
||||
===================================================================
|
||||
--- git.orig/lib/commonio.c
|
||||
+++ git/lib/commonio.c
|
||||
--- shadow-4.4.orig/lib/commonio.c
|
||||
+++ shadow-4.4/lib/commonio.c
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
@@ -14,26 +14,53 @@ Index: git/lib/commonio.c
|
||||
#include "nscd.h"
|
||||
#ifdef WITH_TCB
|
||||
#include <tcb.h>
|
||||
@@ -966,13 +967,20 @@
|
||||
@@ -966,12 +967,23 @@ int commonio_close (struct commonio_db *
|
||||
goto fail;
|
||||
}
|
||||
} else {
|
||||
+ struct group *grp;
|
||||
/*
|
||||
* Default permissions for new [g]shadow files.
|
||||
* (passwd and group always exist...)
|
||||
*/
|
||||
- sb.st_mode = 0400;
|
||||
+ sb.st_mode = 0440;
|
||||
sb.st_uid = 0;
|
||||
- sb.st_gid = 0;
|
||||
sb.st_mode = db->st_mode;
|
||||
sb.st_uid = db->st_uid;
|
||||
sb.st_gid = db->st_gid;
|
||||
+
|
||||
+ /*
|
||||
+ * Try to retrieve the shadow's GID, and fall back to GID 0.
|
||||
+ */
|
||||
+ if ((grp = getgrnam("shadow")) != NULL)
|
||||
+ sb.st_gid = grp->gr_gid;
|
||||
+ else
|
||||
+ sb.st_gid = 0;
|
||||
+ if (sb.st_gid == 0) {
|
||||
+ if ((grp = getgrnam("shadow")) != NULL)
|
||||
+ sb.st_gid = grp->gr_gid;
|
||||
+ else
|
||||
+ sb.st_gid = 0;
|
||||
+ }
|
||||
}
|
||||
|
||||
snprintf (buf, sizeof buf, "%s+", db->filename);
|
||||
Index: shadow-4.4/lib/sgroupio.c
|
||||
===================================================================
|
||||
--- shadow-4.4.orig/lib/sgroupio.c
|
||||
+++ shadow-4.4/lib/sgroupio.c
|
||||
@@ -228,7 +228,7 @@ static struct commonio_db gshadow_db = {
|
||||
#ifdef WITH_SELINUX
|
||||
NULL, /* scontext */
|
||||
#endif
|
||||
- 0400, /* st_mode */
|
||||
+ 0440, /* st_mode */
|
||||
0, /* st_uid */
|
||||
0, /* st_gid */
|
||||
NULL, /* head */
|
||||
Index: shadow-4.4/lib/shadowio.c
|
||||
===================================================================
|
||||
--- shadow-4.4.orig/lib/shadowio.c
|
||||
+++ shadow-4.4/lib/shadowio.c
|
||||
@@ -104,7 +104,7 @@ static struct commonio_db shadow_db = {
|
||||
#ifdef WITH_SELINUX
|
||||
NULL, /* scontext */
|
||||
#endif /* WITH_SELINUX */
|
||||
- 0400, /* st_mode */
|
||||
+ 0440, /* st_mode */
|
||||
0, /* st_uid */
|
||||
0, /* st_gid */
|
||||
NULL, /* head */
|
||||
|
||||
@@ -8,11 +8,11 @@ Status wrt upstream: This is a Debian specific patch.
|
||||
Note: the fix of the man page is still missing.
|
||||
(to be taken from the trunk)
|
||||
|
||||
Index: git/src/su.c
|
||||
Index: shadow-4.4/src/su.c
|
||||
===================================================================
|
||||
--- git.orig/src/su.c
|
||||
+++ git/src/su.c
|
||||
@@ -1152,6 +1152,35 @@
|
||||
--- shadow-4.4.orig/src/su.c
|
||||
+++ shadow-4.4/src/su.c
|
||||
@@ -1155,6 +1155,35 @@ int main (int argc, char **argv)
|
||||
argv[0] = "-c";
|
||||
argv[1] = command;
|
||||
}
|
||||
|
||||
@@ -8,11 +8,11 @@ Etch.
|
||||
|
||||
Status wrt upstream: This patch is Debian specific.
|
||||
|
||||
Index: git/src/su.c
|
||||
Index: shadow-4.4/src/su.c
|
||||
===================================================================
|
||||
--- git.orig/src/su.c
|
||||
+++ git/src/su.c
|
||||
@@ -104,6 +104,19 @@
|
||||
--- shadow-4.4.orig/src/su.c
|
||||
+++ shadow-4.4/src/su.c
|
||||
@@ -104,6 +104,19 @@ static char caller_name[BUFSIZ];
|
||||
/* If nonzero, change some environment vars to indicate the user su'd to. */
|
||||
static bool change_environment = true;
|
||||
|
||||
@@ -30,9 +30,9 @@ Index: git/src/su.c
|
||||
+static int old_debian_behavior;
|
||||
+
|
||||
#ifdef USE_PAM
|
||||
static pam_handle_t *pamh = NULL;
|
||||
static int caught = 0;
|
||||
@@ -949,6 +962,8 @@
|
||||
static char kill_msg[256];
|
||||
static char wait_msg[256];
|
||||
@@ -952,6 +965,8 @@ int main (int argc, char **argv)
|
||||
int ret;
|
||||
#endif /* USE_PAM */
|
||||
|
||||
@@ -41,7 +41,7 @@ Index: git/src/su.c
|
||||
(void) setlocale (LC_ALL, "");
|
||||
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
(void) textdomain (PACKAGE);
|
||||
@@ -1156,7 +1171,7 @@
|
||||
@@ -1159,7 +1174,7 @@ int main (int argc, char **argv)
|
||||
* resulting string is always given to the shell with its
|
||||
* -c option.
|
||||
*/
|
||||
|
||||
18
debian/patches/542_useradd-O_option
vendored
18
debian/patches/542_useradd-O_option
vendored
@@ -5,12 +5,12 @@ Note: useradd.8 needs to be regenerated.
|
||||
Status wrt upstream: not included as this is just specific
|
||||
backward compatibility for Debian
|
||||
|
||||
Index: git/man/useradd.8.xml
|
||||
Index: shadow-4.4/man/useradd.8.xml
|
||||
===================================================================
|
||||
--- git.orig/man/useradd.8.xml
|
||||
+++ git/man/useradd.8.xml
|
||||
--- shadow-4.4.orig/man/useradd.8.xml
|
||||
+++ shadow-4.4/man/useradd.8.xml
|
||||
@@ -329,6 +329,11 @@
|
||||
databases are resetted to avoid reusing the entry from a previously
|
||||
databases are reset to avoid reusing the entry from a previously
|
||||
deleted user.
|
||||
</para>
|
||||
+ <para>
|
||||
@@ -21,11 +21,11 @@ Index: git/man/useradd.8.xml
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
Index: git/src/useradd.c
|
||||
Index: shadow-4.4/src/useradd.c
|
||||
===================================================================
|
||||
--- git.orig/src/useradd.c
|
||||
+++ git/src/useradd.c
|
||||
@@ -1056,9 +1056,9 @@
|
||||
--- shadow-4.4.orig/src/useradd.c
|
||||
+++ shadow-4.4/src/useradd.c
|
||||
@@ -1056,9 +1056,9 @@ static void process_flags (int argc, cha
|
||||
};
|
||||
while ((c = getopt_long (argc, argv,
|
||||
#ifdef WITH_SELINUX
|
||||
@@ -37,7 +37,7 @@ Index: git/src/useradd.c
|
||||
#endif /* !WITH_SELINUX */
|
||||
long_options, NULL)) != -1) {
|
||||
switch (c) {
|
||||
@@ -1181,6 +1181,7 @@
|
||||
@@ -1181,6 +1181,7 @@ static void process_flags (int argc, cha
|
||||
kflg = true;
|
||||
break;
|
||||
case 'K':
|
||||
|
||||
7
debian/patches/series
vendored
7
debian/patches/series
vendored
@@ -15,7 +15,6 @@
|
||||
523_su_arguments_are_no_more_concatenated_by_default
|
||||
508_nologin_in_usr_sbin
|
||||
505_useradd_recommend_adduser
|
||||
#1010_vietnamese_translation
|
||||
0001-get_map_ranges-check-for-overflow.patch
|
||||
0002-Simplify-getulong.patch
|
||||
0003-also-check-upper-for-wrap.patch
|
||||
501_commonio_group_shadow
|
||||
1000_configure_userns
|
||||
1010_vietnamese_translation
|
||||
|
||||
6
debian/rules
vendored
6
debian/rules
vendored
@@ -3,10 +3,10 @@
|
||||
|
||||
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
|
||||
|
||||
export DEB_BUILD_HARDENING=1
|
||||
|
||||
# Enable PIE, BINDNOW, and possible future flags.
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
# Call autoreconf since we need to regenerate all the autofoo files
|
||||
include /usr/share/cdbs/1/rules/autoreconf.mk
|
||||
@@ -21,7 +21,7 @@ DEB_DESTDIR=$(CURDIR)/debian/tmp
|
||||
include /usr/share/cdbs/1/class/autotools.mk
|
||||
|
||||
# Adds extra options when calling the configure script:
|
||||
DEB_CONFIGURE_EXTRA_FLAGS := --disable-shared --without-libcrack --mandir=/usr/share/man --with-libpam --enable-shadowgrp --enable-man --disable-account-tools-setuid --with-group-name-max-length=32 --without-acl --without-attr --without-tcb SHELL=/bin/sh
|
||||
DEB_CONFIGURE_EXTRA_FLAGS := --disable-shared --without-libcrack --mandir=/usr/share/man --with-libpam --enable-shadowgrp --enable-man --disable-account-tools-setuid --with-group-name-max-length=32 --without-acl --without-attr --without-tcb
|
||||
ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
|
||||
DEB_CONFIGURE_EXTRA_FLAGS += --host=$(DEB_HOST_GNU_TYPE)
|
||||
endif
|
||||
|
||||
@@ -289,9 +289,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign doc/Makefile
|
||||
$(AUTOMAKE) --gnu doc/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
@@ -394,9 +394,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign etc/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu etc/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign etc/Makefile
|
||||
$(AUTOMAKE) --gnu etc/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
@@ -340,9 +340,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign etc/pam.d/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu etc/pam.d/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign etc/pam.d/Makefile
|
||||
$(AUTOMAKE) --gnu etc/pam.d/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
23
install-sh
23
install-sh
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2013-12-25.23; # UTC
|
||||
scriptversion=2014-09-12.12; # UTC
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
@@ -324,34 +324,41 @@ do
|
||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||
;;
|
||||
*)
|
||||
# $RANDOM is not portable (e.g. dash); use it when possible to
|
||||
# lower collision chance
|
||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||
trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||
|
||||
# As "mkdir -p" follows symlinks and we work in /tmp possibly; so
|
||||
# create the $tmpdir first (and fail if unsuccessful) to make sure
|
||||
# that nobody tries to guess the $tmpdir name.
|
||||
if (umask $mkdir_umask &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
||||
$mkdirprog $mkdir_mode "$tmpdir" &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
|
||||
then
|
||||
if test -z "$dir_arg" || {
|
||||
# Check for POSIX incompatibilities with -m.
|
||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||
# other-writable bit of parent directory when it shouldn't.
|
||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
||||
test_tmpdir="$tmpdir/a"
|
||||
ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
|
||||
case $ls_ld_tmpdir in
|
||||
d????-?r-*) different_mode=700;;
|
||||
d????-?--*) different_mode=755;;
|
||||
*) false;;
|
||||
esac &&
|
||||
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
||||
$mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
|
||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||
}
|
||||
}
|
||||
then posix_mkdir=:
|
||||
fi
|
||||
rmdir "$tmpdir/d" "$tmpdir"
|
||||
rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
|
||||
else
|
||||
# Remove any dirs left behind by ancient mkdir implementations.
|
||||
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
||||
rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
|
||||
fi
|
||||
trap '' 0;;
|
||||
esac;;
|
||||
|
||||
@@ -44,22 +44,19 @@
|
||||
*/
|
||||
int getulong (const char *numstr, /*@out@*/unsigned long int *result)
|
||||
{
|
||||
long long int val;
|
||||
unsigned long int val;
|
||||
char *endptr;
|
||||
|
||||
errno = 0;
|
||||
val = strtoll (numstr, &endptr, 0);
|
||||
val = strtoul (numstr, &endptr, 0);
|
||||
if ( ('\0' == *numstr)
|
||||
|| ('\0' != *endptr)
|
||||
|| (ERANGE == errno)
|
||||
/*@+ignoresigns@*/
|
||||
|| (val != (unsigned long int)val)
|
||||
/*@=ignoresigns@*/
|
||||
) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
*result = (unsigned long int)val;
|
||||
*result = val;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -442,9 +442,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libmisc/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libmisc/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign libmisc/Makefile
|
||||
$(AUTOMAKE) --gnu libmisc/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/* A Bison parser, made by GNU Bison 3.0.2. */
|
||||
/* A Bison parser, made by GNU Bison 3.0.4. */
|
||||
|
||||
/* Bison implementation for Yacc-like parsers in C
|
||||
|
||||
Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
|
||||
Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -44,7 +44,7 @@
|
||||
#define YYBISON 1
|
||||
|
||||
/* Bison version. */
|
||||
#define YYBISON_VERSION "3.0.2"
|
||||
#define YYBISON_VERSION "3.0.4"
|
||||
|
||||
/* Skeleton name. */
|
||||
#define YYSKELETON_NAME "yacc.c"
|
||||
@@ -303,7 +303,7 @@ extern int yydebug;
|
||||
|
||||
/* Value type. */
|
||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||
typedef union YYSTYPE YYSTYPE;
|
||||
|
||||
union YYSTYPE
|
||||
{
|
||||
#line 172 "getdate.y" /* yacc.c:355 */
|
||||
@@ -313,6 +313,8 @@ union YYSTYPE
|
||||
|
||||
#line 315 "getdate.c" /* yacc.c:355 */
|
||||
};
|
||||
|
||||
typedef union YYSTYPE YYSTYPE;
|
||||
# define YYSTYPE_IS_TRIVIAL 1
|
||||
# define YYSTYPE_IS_DECLARED 1
|
||||
#endif
|
||||
@@ -326,7 +328,7 @@ int yyparse (void);
|
||||
|
||||
/* Copy the second part of user declarations. */
|
||||
|
||||
#line 330 "getdate.c" /* yacc.c:358 */
|
||||
#line 332 "getdate.c" /* yacc.c:358 */
|
||||
|
||||
#ifdef short
|
||||
# undef short
|
||||
@@ -1445,7 +1447,7 @@ yyreduce:
|
||||
{
|
||||
yyHaveTime++;
|
||||
}
|
||||
#line 1449 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1451 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 5:
|
||||
@@ -1453,7 +1455,7 @@ yyreduce:
|
||||
{
|
||||
yyHaveZone++;
|
||||
}
|
||||
#line 1457 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1459 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 6:
|
||||
@@ -1461,7 +1463,7 @@ yyreduce:
|
||||
{
|
||||
yyHaveDate++;
|
||||
}
|
||||
#line 1465 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1467 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 7:
|
||||
@@ -1469,7 +1471,7 @@ yyreduce:
|
||||
{
|
||||
yyHaveDay++;
|
||||
}
|
||||
#line 1473 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1475 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 8:
|
||||
@@ -1477,7 +1479,7 @@ yyreduce:
|
||||
{
|
||||
yyHaveRel++;
|
||||
}
|
||||
#line 1481 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1483 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 10:
|
||||
@@ -1488,7 +1490,7 @@ yyreduce:
|
||||
yySeconds = 0;
|
||||
yyMeridian = (yyvsp[0].Meridian);
|
||||
}
|
||||
#line 1492 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1494 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 11:
|
||||
@@ -1499,7 +1501,7 @@ yyreduce:
|
||||
yySeconds = 0;
|
||||
yyMeridian = (yyvsp[0].Meridian);
|
||||
}
|
||||
#line 1503 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1505 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 12:
|
||||
@@ -1513,7 +1515,7 @@ yyreduce:
|
||||
? -(yyvsp[0].Number) % 100 + (-(yyvsp[0].Number) / 100) * 60
|
||||
: - ((yyvsp[0].Number) % 100 + ((yyvsp[0].Number) / 100) * 60));
|
||||
}
|
||||
#line 1517 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1519 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 13:
|
||||
@@ -1524,7 +1526,7 @@ yyreduce:
|
||||
yySeconds = (yyvsp[-1].Number);
|
||||
yyMeridian = (yyvsp[0].Meridian);
|
||||
}
|
||||
#line 1528 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1530 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 14:
|
||||
@@ -1539,7 +1541,7 @@ yyreduce:
|
||||
? -(yyvsp[0].Number) % 100 + (-(yyvsp[0].Number) / 100) * 60
|
||||
: - ((yyvsp[0].Number) % 100 + ((yyvsp[0].Number) / 100) * 60));
|
||||
}
|
||||
#line 1543 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1545 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 15:
|
||||
@@ -1547,7 +1549,7 @@ yyreduce:
|
||||
{
|
||||
yyTimezone = (yyvsp[0].Number);
|
||||
}
|
||||
#line 1551 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1553 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 16:
|
||||
@@ -1555,7 +1557,7 @@ yyreduce:
|
||||
{
|
||||
yyTimezone = (yyvsp[0].Number) - 60;
|
||||
}
|
||||
#line 1559 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1561 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 17:
|
||||
@@ -1563,7 +1565,7 @@ yyreduce:
|
||||
{
|
||||
yyTimezone = (yyvsp[-1].Number) - 60;
|
||||
}
|
||||
#line 1567 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1569 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 18:
|
||||
@@ -1572,7 +1574,7 @@ yyreduce:
|
||||
yyDayOrdinal = 1;
|
||||
yyDayNumber = (yyvsp[0].Number);
|
||||
}
|
||||
#line 1576 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1578 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 19:
|
||||
@@ -1581,7 +1583,7 @@ yyreduce:
|
||||
yyDayOrdinal = 1;
|
||||
yyDayNumber = (yyvsp[-1].Number);
|
||||
}
|
||||
#line 1585 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1587 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 20:
|
||||
@@ -1590,7 +1592,7 @@ yyreduce:
|
||||
yyDayOrdinal = (yyvsp[-1].Number);
|
||||
yyDayNumber = (yyvsp[0].Number);
|
||||
}
|
||||
#line 1594 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1596 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 21:
|
||||
@@ -1599,7 +1601,7 @@ yyreduce:
|
||||
yyMonth = (yyvsp[-2].Number);
|
||||
yyDay = (yyvsp[0].Number);
|
||||
}
|
||||
#line 1603 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1605 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 22:
|
||||
@@ -1622,7 +1624,7 @@ yyreduce:
|
||||
yyYear = (yyvsp[0].Number);
|
||||
}
|
||||
}
|
||||
#line 1626 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1628 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 23:
|
||||
@@ -1633,7 +1635,7 @@ yyreduce:
|
||||
yyMonth = -(yyvsp[-1].Number);
|
||||
yyDay = -(yyvsp[0].Number);
|
||||
}
|
||||
#line 1637 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1639 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 24:
|
||||
@@ -1644,7 +1646,7 @@ yyreduce:
|
||||
yyMonth = (yyvsp[-1].Number);
|
||||
yyYear = -(yyvsp[0].Number);
|
||||
}
|
||||
#line 1648 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1650 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 25:
|
||||
@@ -1653,7 +1655,7 @@ yyreduce:
|
||||
yyMonth = (yyvsp[-1].Number);
|
||||
yyDay = (yyvsp[0].Number);
|
||||
}
|
||||
#line 1657 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1659 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 26:
|
||||
@@ -1663,7 +1665,7 @@ yyreduce:
|
||||
yyDay = (yyvsp[-2].Number);
|
||||
yyYear = (yyvsp[0].Number);
|
||||
}
|
||||
#line 1667 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1669 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 27:
|
||||
@@ -1672,7 +1674,7 @@ yyreduce:
|
||||
yyMonth = (yyvsp[0].Number);
|
||||
yyDay = (yyvsp[-1].Number);
|
||||
}
|
||||
#line 1676 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1678 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 28:
|
||||
@@ -1682,7 +1684,7 @@ yyreduce:
|
||||
yyDay = (yyvsp[-2].Number);
|
||||
yyYear = (yyvsp[0].Number);
|
||||
}
|
||||
#line 1686 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1688 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 29:
|
||||
@@ -1695,7 +1697,7 @@ yyreduce:
|
||||
yyRelMonth = -yyRelMonth;
|
||||
yyRelYear = -yyRelYear;
|
||||
}
|
||||
#line 1699 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1701 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 31:
|
||||
@@ -1703,7 +1705,7 @@ yyreduce:
|
||||
{
|
||||
yyRelYear += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1707 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1709 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 32:
|
||||
@@ -1711,7 +1713,7 @@ yyreduce:
|
||||
{
|
||||
yyRelYear += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1715 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1717 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 33:
|
||||
@@ -1719,7 +1721,7 @@ yyreduce:
|
||||
{
|
||||
yyRelYear++;
|
||||
}
|
||||
#line 1723 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1725 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 34:
|
||||
@@ -1727,7 +1729,7 @@ yyreduce:
|
||||
{
|
||||
yyRelMonth += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1731 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1733 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 35:
|
||||
@@ -1735,7 +1737,7 @@ yyreduce:
|
||||
{
|
||||
yyRelMonth += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1739 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1741 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 36:
|
||||
@@ -1743,7 +1745,7 @@ yyreduce:
|
||||
{
|
||||
yyRelMonth++;
|
||||
}
|
||||
#line 1747 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1749 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 37:
|
||||
@@ -1751,7 +1753,7 @@ yyreduce:
|
||||
{
|
||||
yyRelDay += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1755 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1757 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 38:
|
||||
@@ -1759,7 +1761,7 @@ yyreduce:
|
||||
{
|
||||
yyRelDay += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1763 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1765 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 39:
|
||||
@@ -1767,7 +1769,7 @@ yyreduce:
|
||||
{
|
||||
yyRelDay++;
|
||||
}
|
||||
#line 1771 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1773 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 40:
|
||||
@@ -1775,7 +1777,7 @@ yyreduce:
|
||||
{
|
||||
yyRelHour += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1779 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1781 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 41:
|
||||
@@ -1783,7 +1785,7 @@ yyreduce:
|
||||
{
|
||||
yyRelHour += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1787 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1789 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 42:
|
||||
@@ -1791,7 +1793,7 @@ yyreduce:
|
||||
{
|
||||
yyRelHour++;
|
||||
}
|
||||
#line 1795 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1797 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 43:
|
||||
@@ -1799,7 +1801,7 @@ yyreduce:
|
||||
{
|
||||
yyRelMinutes += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1803 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1805 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 44:
|
||||
@@ -1807,7 +1809,7 @@ yyreduce:
|
||||
{
|
||||
yyRelMinutes += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1811 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1813 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 45:
|
||||
@@ -1815,7 +1817,7 @@ yyreduce:
|
||||
{
|
||||
yyRelMinutes++;
|
||||
}
|
||||
#line 1819 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1821 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 46:
|
||||
@@ -1823,7 +1825,7 @@ yyreduce:
|
||||
{
|
||||
yyRelSeconds += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1827 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1829 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 47:
|
||||
@@ -1831,7 +1833,7 @@ yyreduce:
|
||||
{
|
||||
yyRelSeconds += (yyvsp[-1].Number) * (yyvsp[0].Number);
|
||||
}
|
||||
#line 1835 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1837 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 48:
|
||||
@@ -1839,7 +1841,7 @@ yyreduce:
|
||||
{
|
||||
yyRelSeconds++;
|
||||
}
|
||||
#line 1843 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1845 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 49:
|
||||
@@ -1874,7 +1876,7 @@ yyreduce:
|
||||
}
|
||||
}
|
||||
}
|
||||
#line 1878 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1880 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 50:
|
||||
@@ -1882,7 +1884,7 @@ yyreduce:
|
||||
{
|
||||
(yyval.Meridian) = MER24;
|
||||
}
|
||||
#line 1886 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1888 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
case 51:
|
||||
@@ -1890,11 +1892,11 @@ yyreduce:
|
||||
{
|
||||
(yyval.Meridian) = (yyvsp[0].Meridian);
|
||||
}
|
||||
#line 1894 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1896 "getdate.c" /* yacc.c:1646 */
|
||||
break;
|
||||
|
||||
|
||||
#line 1898 "getdate.c" /* yacc.c:1646 */
|
||||
#line 1900 "getdate.c" /* yacc.c:1646 */
|
||||
default: break;
|
||||
}
|
||||
/* User semantic actions sometimes alter yychar, and that requires
|
||||
|
||||
@@ -83,6 +83,27 @@ struct map_range *get_map_ranges(int ranges, int argc, char **argv)
|
||||
free(mappings);
|
||||
return NULL;
|
||||
}
|
||||
if (ULONG_MAX - mapping->upper <= mapping->count || ULONG_MAX - mapping->lower <= mapping->count) {
|
||||
fprintf(stderr, _( "%s: subuid overflow detected.\n"), Prog);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
if (mapping->upper > UINT_MAX ||
|
||||
mapping->lower > UINT_MAX ||
|
||||
mapping->count > UINT_MAX) {
|
||||
fprintf(stderr, _( "%s: subuid overflow detected.\n"), Prog);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
if (mapping->lower + mapping->count > UINT_MAX ||
|
||||
mapping->upper + mapping->count > UINT_MAX) {
|
||||
fprintf(stderr, _( "%s: subuid overflow detected.\n"), Prog);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
if (mapping->lower + mapping->count < mapping->lower ||
|
||||
mapping->upper + mapping->count < mapping->upper) {
|
||||
/* this one really shouldn't be possible given previous checks */
|
||||
fprintf(stderr, _( "%s: subuid overflow detected.\n"), Prog);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
return mappings;
|
||||
}
|
||||
|
||||
@@ -535,9 +535,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/ge
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign man/Makefile
|
||||
$(AUTOMAKE) --gnu man/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
<para>
|
||||
The default encryption algorithm can be defined for the system with
|
||||
the <option>ENCRYPT_METHOD</option> variable of <filename>/etc/login.defs</filename>,
|
||||
and can be overwiten with the <option>-e</option>,
|
||||
and can be overwritten with the <option>-e</option>,
|
||||
<option>-m</option>, or <option>-c</option> options.
|
||||
</para>
|
||||
<para>
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
The default encryption algorithm can be defined for the system with
|
||||
the <option>ENCRYPT_METHOD</option> or
|
||||
<option>MD5_CRYPT_ENAB</option> variables of
|
||||
<filename>/etc/login.defs</filename>, and can be overwitten with the
|
||||
<filename>/etc/login.defs</filename>, and can be overwritten with the
|
||||
<option>-e</option>, <option>-m</option>, or <option>-c</option>
|
||||
options.
|
||||
</para>
|
||||
@@ -112,7 +112,7 @@
|
||||
<phrase condition="pam">Except when PAM is used to encrypt the
|
||||
passwords,</phrase> <command>chpasswd</command> first updates all the
|
||||
passwords in memory, and then commits all the changes to disk if no
|
||||
errors occured for any user.
|
||||
errors occurred for any user.
|
||||
</para>
|
||||
<para condition="pam">
|
||||
When PAM is used to encrypt the passwords (and update the passwords in
|
||||
|
||||
@@ -340,9 +340,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/cs/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/cs/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign man/cs/Makefile
|
||||
$(AUTOMAKE) --gnu man/cs/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
@@ -339,9 +339,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/..
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/da/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/da/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign man/da/Makefile
|
||||
$(AUTOMAKE) --gnu man/da/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: chfn
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: User Commands
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: Danish
|
||||
.\"
|
||||
.TH "CHFN" "1" "16/03/2016" "shadow\-utils 4\&.2" "User Commands"
|
||||
.TH "CHFN" "1" "18/09/2016" "shadow\-utils 4\&.4" "User Commands"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: groups
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: User Commands
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: Danish
|
||||
.\"
|
||||
.TH "GROUPS" "1" "16/03/2016" "shadow\-utils 4\&.2" "User Commands"
|
||||
.TH "GROUPS" "1" "18/09/2016" "shadow\-utils 4\&.4" "User Commands"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: id
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: User Commands
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: Danish
|
||||
.\"
|
||||
.TH "ID" "1" "16/03/2016" "shadow\-utils 4\&.2" "User Commands"
|
||||
.TH "ID" "1" "18/09/2016" "shadow\-utils 4\&.4" "User Commands"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: newgrp
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: User Commands
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: Danish
|
||||
.\"
|
||||
.TH "NEWGRP" "1" "16/03/2016" "shadow\-utils 4\&.2" "User Commands"
|
||||
.TH "NEWGRP" "1" "18/09/2016" "shadow\-utils 4\&.4" "User Commands"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: sg
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: User Commands
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: Danish
|
||||
.\"
|
||||
.TH "SG" "1" "16/03/2016" "shadow\-utils 4\&.2" "User Commands"
|
||||
.TH "SG" "1" "18/09/2016" "shadow\-utils 4\&.4" "User Commands"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: gshadow
|
||||
.\" Author: Nicolas Fran\(,cois <nicolas.francois@centraliens.net>
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: File Formats and Conversions
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: Danish
|
||||
.\"
|
||||
.TH "GSHADOW" "5" "16/03/2016" "shadow\-utils 4\&.2" "File Formats and Conversions"
|
||||
.TH "GSHADOW" "5" "18/09/2016" "shadow\-utils 4\&.4" "File Formats and Conversions"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -52,12 +52,12 @@ for details on how this string is interpreted\&.
|
||||
If the password field contains some string that is not a valid result of
|
||||
\fBcrypt\fR(3), for instance ! or *, users will not be able to use a unix password to access the group (but group members do not need the password)\&.
|
||||
.sp
|
||||
The password is used when an user who is not a member of the group wants to gain the permissions of this group (see
|
||||
The password is used when a user who is not a member of the group wants to gain the permissions of this group (see
|
||||
\fBnewgrp\fR(1))\&.
|
||||
.sp
|
||||
This field may be empty, in which case only the group members can gain the group permissions\&.
|
||||
.sp
|
||||
A password field which starts with a exclamation mark means that the password is locked\&. The remaining characters on the line represent the password field before the password was locked\&.
|
||||
A password field which starts with an exclamation mark means that the password is locked\&. The remaining characters on the line represent the password field before the password was locked\&.
|
||||
.sp
|
||||
This password supersedes any password specified in
|
||||
/etc/group\&.
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: groupdel
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: Kommandoer for systemh\(oandtering
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: Danish
|
||||
.\"
|
||||
.TH "GROUPDEL" "8" "16/03/2016" "shadow\-utils 4\&.2" "Kommandoer for systemh\(oandterin"
|
||||
.TH "GROUPDEL" "8" "18/09/2016" "shadow\-utils 4\&.4" "Kommandoer for systemh\(oandterin"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: logoutd
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: Kommandoer for systemh\(oandtering
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: Danish
|
||||
.\"
|
||||
.TH "LOGOUTD" "8" "16/03/2016" "shadow\-utils 4\&.2" "Kommandoer for systemh\(oandterin"
|
||||
.TH "LOGOUTD" "8" "18/09/2016" "shadow\-utils 4\&.4" "Kommandoer for systemh\(oandterin"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: nologin
|
||||
.\" Author: Nicolas Fran\(,cois <nicolas.francois@centraliens.net>
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: Kommandoer for systemh\(oandtering
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: Danish
|
||||
.\"
|
||||
.TH "NOLOGIN" "8" "16/03/2016" "shadow\-utils 4\&.2" "Kommandoer for systemh\(oandterin"
|
||||
.TH "NOLOGIN" "8" "18/09/2016" "shadow\-utils 4\&.4" "Kommandoer for systemh\(oandterin"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -46,6 +46,6 @@ To disable all logins, investigate
|
||||
\fBnologin\fR(5)\&.
|
||||
.SH "HISTORIK"
|
||||
.PP
|
||||
Kommandoen
|
||||
The
|
||||
\fBnologin\fR
|
||||
fremkom i BSD 4\&.4\&.
|
||||
command appeared in BSD 4\&.4\&.
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: vipw
|
||||
.\" Author: Marek Micha\(/lkiewicz
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: Kommandoer for systemh\(oandtering
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: Danish
|
||||
.\"
|
||||
.TH "VIPW" "8" "16/03/2016" "shadow\-utils 4\&.2" "Kommandoer for systemh\(oandterin"
|
||||
.TH "VIPW" "8" "18/09/2016" "shadow\-utils 4\&.4" "Kommandoer for systemh\(oandterin"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -350,9 +350,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/..
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/de/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/de/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign man/de/Makefile
|
||||
$(AUTOMAKE) --gnu man/de/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: chage
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "CHAGE" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "CHAGE" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: chfn
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "CHFN" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "CHFN" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: chsh
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "CHSH" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "CHSH" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: expiry
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "EXPIRY" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "EXPIRY" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: gpasswd
|
||||
.\" Author: Rafal Maszkowski
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "GPASSWD" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "GPASSWD" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: groups
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "GROUPS" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "GROUPS" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: id
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "ID" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "ID" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: login
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "LOGIN" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "LOGIN" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: newgrp
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "NEWGRP" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "NEWGRP" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: passwd
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "PASSWD" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "PASSWD" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -95,7 +95,7 @@ Die Sicherheit eines Passworts h\(:angt von der St\(:arke des Verschl\(:usselung
|
||||
.PP
|
||||
Gefahren f\(:ur die Sicherheit von Passw\(:ortern kommen gew\(:ohnlich von sorgloser Wahl oder Handhabung des Passworts\&. Daher sollten Sie kein Passwort w\(:ahlen, das in einem W\(:orterbuch auftaucht oder das aufgeschrieben werden muss\&. Das Passwort sollte somit kein echter Name, Ihr Autokennzeichen, Geburtstag oder Ihre Adresse sein\&. All das kann dazu verwendet werden, das Passwort zu erraten, und stellt daher eine Gefahr f\(:ur die Sicherheit Ihres Systems dar\&.
|
||||
.PP
|
||||
Ratschl\(:age, wie Sie ein sicheres Passwort w\(:ahlen, finden Sie unter http://de\&.wikipedia\&.org/wiki/Passwort#Wahl_von_sicheren_Passw\&.C3\&.B6rtern\&.
|
||||
You can find advice on how to choose a strong password on http://en\&.wikipedia\&.org/wiki/Password_strength
|
||||
.SH "OPTIONEN"
|
||||
.PP
|
||||
Die Optionen, die vom Befehl
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: sg
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "SG" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "SG" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: su
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dienstprogramme f\(:ur Benutzer
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "SU" "1" "16.03.2016" "shadow\-utils 4\&.2" "Dienstprogramme f\(:ur Benutzer"
|
||||
.TH "SU" "1" "18.09.2016" "shadow\-utils 4\&.4" "Dienstprogramme f\(:ur Benutzer"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -84,7 +84,7 @@ gibt einen Befehl an, der von der Shell mittels ihrer Option
|
||||
\fB\-c\fR
|
||||
ausgef\(:uhrt wird
|
||||
.sp
|
||||
Der ausgef\(:uhrte Befehl hat kein ihn steuerndes Terminal\&. Mit dieser Option k\(:onnen keine interaktiven Programme, die ein sie steuerndes TTY ben\(:otigen, ausgef\(:uhrt werden\&.
|
||||
The executed command will have no controlling terminal\&. This option cannot be used to execute interactive programs which need a controlling TTY\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB\-\fR, \fB\-l\fR, \fB\-\-login\fR
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: shadow
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Bibliotheksaufrufe
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "SHADOW" "3" "16.03.2016" "shadow\-utils 4\&.2" "Bibliotheksaufrufe"
|
||||
.TH "SHADOW" "3" "18.09.2016" "shadow\-utils 4\&.4" "Bibliotheksaufrufe"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: faillog
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dateiformate und -konvertierung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "FAILLOG" "5" "16.03.2016" "shadow\-utils 4\&.2" "Dateiformate und \-konvertieru"
|
||||
.TH "FAILLOG" "5" "18.09.2016" "shadow\-utils 4\&.4" "Dateiformate und \-konvertieru"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: gshadow
|
||||
.\" Author: Nicolas Fran\(,cois <nicolas.francois@centraliens.net>
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dateiformate und -konvertierung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "GSHADOW" "5" "16.03.2016" "shadow\-utils 4\&.2" "Dateiformate und \-konvertieru"
|
||||
.TH "GSHADOW" "5" "18.09.2016" "shadow\-utils 4\&.4" "Dateiformate und \-konvertieru"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -54,12 +54,12 @@ Wenn das Passwortfeld eine Zeichenkette enth\(:alt, die kein zul\(:assiges Ergeb
|
||||
\fBcrypt\fR(3)
|
||||
ist, z\&.B\&. ! oder *, k\(:onnen Benutzer nicht mit einem Unix\-Passwort Zugang zu der Gruppe erhalten, wobei Gruppenmitglieder kein Passwort ben\(:otigen\&.
|
||||
.sp
|
||||
Das Passwort wird angefordert, wenn ein Benutzer, der nicht Mitglied der Gruppe ist, die Berechtigungen dieser Gruppe erhalten will (vergleiche
|
||||
The password is used when a user who is not a member of the group wants to gain the permissions of this group (see
|
||||
\fBnewgrp\fR(1))\&.
|
||||
.sp
|
||||
Dieses Feld kann leer bleiben\&. Dies hat zur Folge, dass nur Gruppenmitglieder von den Rechten der Gruppe Gebrauch machen k\(:onnen\&.
|
||||
.sp
|
||||
Ein Passwortfeld, das mit einem Ausrufezeichen beginnt, f\(:uhrt dazu, dass das Passwort gesperrt ist\&. Die \(:ubrigen Zeichen sind das Passwort vor der Sperrung\&.
|
||||
A password field which starts with an exclamation mark means that the password is locked\&. The remaining characters on the line represent the password field before the password was locked\&.
|
||||
.sp
|
||||
Dieses Passwort geht den in
|
||||
/etc/group
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: limits
|
||||
.\" Author: Luca Berra
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dateiformate und -konvertierung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "LIMITS" "5" "16.03.2016" "shadow\-utils 4\&.2" "Dateiformate und \-konvertieru"
|
||||
.TH "LIMITS" "5" "18.09.2016" "shadow\-utils 4\&.4" "Dateiformate und \-konvertieru"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -95,7 +95,7 @@ D: maximale Datengr\(:o\(sse (KB)
|
||||
.sp -1
|
||||
.IP \(bu 2.3
|
||||
.\}
|
||||
F: maximale Dateigr\(:o\(sse (KB)
|
||||
F: maximum file size (KB)
|
||||
.RE
|
||||
.sp
|
||||
.RS 4
|
||||
@@ -240,11 +240,11 @@ eine g\(:ultige
|
||||
.RE
|
||||
.\}
|
||||
.PP
|
||||
Beachten Sie, dass nach
|
||||
\fIBenutzername\fR
|
||||
die \(:ubrige Zeile als Zeichenkette f\(:ur Beschr\(:ankungen angesehen wird\&. Kommentare sind daher nicht zul\(:assig\&. Eine ung\(:ultige Zeichenkette wird von
|
||||
Be aware that after
|
||||
\fIusername\fR
|
||||
the rest of the line is considered a limit string, thus comments are not allowed\&. An invalid limits string will be rejected (not considered) by the
|
||||
\fBlogin\fR
|
||||
ignoriert\&.
|
||||
program\&.
|
||||
.PP
|
||||
Standardwerte werden mit dem Benutzernamen \(Fc\fI*\fR\(Fo festgelegt\&. Falls Sie mehrfach
|
||||
\fIStandard\fR\-Werte in der
|
||||
@@ -254,11 +254,11 @@ bestimmen, wird nur der letzte ber\(:ucksichtigt\&.
|
||||
Beschr\(:ankungen, die in der Form \(Fc\fI@group\fR\(Fo festgelegt wurden, gelten f\(:ur alle Mitglieder der angegebenen Gruppe
|
||||
\fIgroup\fR\&.
|
||||
.PP
|
||||
Wenn mehr als eine Zeile mit Beschr\(:ankungen f\(:ur einen Benutzer vorhanden ist, wird f\(:ur ihn nur die erste Zeile ber\(:ucksichtigt\&.
|
||||
If more than one line with limits for a user exist, only the first line for this user will be considered\&.
|
||||
.PP
|
||||
Wenn keine Zeile auf einen Benutzer zutrifft, wird auf ihn die letzte Zeile mit
|
||||
If no lines are specified for a user, the last
|
||||
\fI@group\fR
|
||||
angewendet, die auf eine Gruppe verweist, deren Mitglied er ist\&. Wenn er auch nicht Mitglied einer der aufgef\(:uhrten Gruppe ist, wird auf ihn die letzte Zeile, in der Standardwerte bestimmt sind, angewendet\&.
|
||||
line matching a group whose the user is a member of will be considered, or the last line with default limits if no groups contain the user\&.
|
||||
.PP
|
||||
Mit einem Gedankenstrich \(Fc\fI\-\fR\(Fo k\(:onnen Sie alle Beschr\(:ankungen f\(:ur einen Benutzer zu entfernen\&.
|
||||
.PP
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: login.access
|
||||
.\" Author: Marek Micha\(/lkiewicz
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dateiformate und -konvertierung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "LOGIN\&.ACCESS" "5" "16.03.2016" "shadow\-utils 4\&.2" "Dateiformate und \-konvertieru"
|
||||
.TH "LOGIN\&.ACCESS" "5" "18.09.2016" "shadow\-utils 4\&.4" "Dateiformate und \-konvertieru"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: login.defs
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dateiformate und -konvertierung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "LOGIN\&.DEFS" "5" "16.03.2016" "shadow\-utils 4\&.2" "Dateiformate und \-konvertieru"
|
||||
.TH "LOGIN\&.DEFS" "5" "18.09.2016" "shadow\-utils 4\&.4" "Dateiformate und \-konvertieru"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: passwd
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dateiformate und -konvertierung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "PASSWD" "5" "16.03.2016" "shadow\-utils 4\&.2" "Dateiformate und \-konvertieru"
|
||||
.TH "PASSWD" "5" "18.09.2016" "shadow\-utils 4\&.4" "Dateiformate und \-konvertieru"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: porttime
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dateiformate und -konvertierung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "PORTTIME" "5" "16.03.2016" "shadow\-utils 4\&.2" "Dateiformate und \-konvertieru"
|
||||
.TH "PORTTIME" "5" "18.09.2016" "shadow\-utils 4\&.4" "Dateiformate und \-konvertieru"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: shadow
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dateiformate und -konvertierung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "SHADOW" "5" "16.03.2016" "shadow\-utils 4\&.2" "Dateiformate und \-konvertieru"
|
||||
.TH "SHADOW" "5" "18.09.2016" "shadow\-utils 4\&.4" "Dateiformate und \-konvertieru"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -57,14 +57,14 @@ Dieses Feld kann leer bleiben\&. In diesem Fall kann sich der angegebene Benutze
|
||||
/etc/shadow
|
||||
auswerten, dennoch den Zugang, wenn das Passwortfeld leer ist\&.
|
||||
.sp
|
||||
Ein Passwortfeld, das mit einem Ausrufezeichen beginnt, f\(:uhrt dazu, dass das Passwort gesperrt ist\&. Die \(:ubrigen Zeichen sind das Passwort vor der Sperrung\&.
|
||||
A password field which starts with an exclamation mark means that the password is locked\&. The remaining characters on the line represent the password field before the password was locked\&.
|
||||
.RE
|
||||
.PP
|
||||
\fBDatum, an dem das Passwort das letzte Mal ge\(:andert wurde\fR
|
||||
.RS 4
|
||||
Das Datum, als das Passwort das letzte Mal ge\(:andert wurde, wird als Anzahl der Tage seit dem 1\&. Januar 1970 ausgedr\(:uckt\&.
|
||||
.sp
|
||||
Dem Wert 0 kommt eine besondere Bedeutung zu: Der Benutzer sollte sein Passwort bei der n\(:achsten Anmeldung \(:andern\&.
|
||||
The value 0 has a special meaning, which is that the user should change her password the next time she will log in the system\&.
|
||||
.sp
|
||||
Ein leeres Feld bedeutet, dass das Altern des Passworts abgeschaltet ist\&.
|
||||
.RE
|
||||
@@ -107,7 +107,7 @@ Ein leeres Feld bedeutet, dass es keine H\(:ochstdauer zwischen Ablauf des Passw
|
||||
.RS 4
|
||||
Das Datum, an dem das Konto verf\(:allt, wird als Anzahl der Tage seit dem 1\&. Januar 1970 ausgedr\(:uckt\&.
|
||||
.sp
|
||||
Beachten Sie, dass der Verfall eines Kontos sich von dem Ablaufen eines Passworts unterscheidet\&. Im ersteren Fall kann sich der Benutzer nicht mehr anmelden\&. Im letzteren Fall kann sich der Benutzer nur nicht mehr mit seinem (alten) Passwort anmelden\&.
|
||||
Note that an account expiration differs from a password expiration\&. In case of an account expiration, the user shall not be allowed to login\&. In case of a password expiration, the user is not allowed to login using her password\&.
|
||||
.sp
|
||||
Ein leeren Feld bedeutet, dass das Konto nicht verfallen wird\&.
|
||||
.sp
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: suauth
|
||||
.\" Author: Marek Micha\(/lkiewicz
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Dateiformate und -konvertierung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "SUAUTH" "5" "16.03.2016" "shadow\-utils 4\&.2" "Dateiformate und \-konvertieru"
|
||||
.TH "SUAUTH" "5" "18.09.2016" "shadow\-utils 4\&.4" "Dateiformate und \-konvertieru"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -42,7 +42,7 @@ ausgewertet\&. Dadurch kann das Verhalten des Befehls su ver\(:andert werden\&.
|
||||
.RS 4
|
||||
.\}
|
||||
.nf
|
||||
1) auf welchen Benutzer su gerichtet ist
|
||||
1) the user su is targeting
|
||||
|
||||
.fi
|
||||
.if n \{\
|
||||
@@ -68,15 +68,15 @@ Hierbei kann to\-id
|
||||
\fIALL\fR, eine Aufz\(:ahlung von Benutzernamen, die durch ein \(Fc,\(Fo getrennt werden, oder
|
||||
\fIALL EXCEPT\fR, die von einer Aufz\(:ahlung von Benutzernamen gefolgt werden, die durch ein \(Fc,\(Fo getrennt werden, sein\&.
|
||||
.PP
|
||||
from\-id hat das gleiche Format wie to\-id mit der Ausnahme, dass zus\(:atzlich
|
||||
from\-id is formatted the same as to\-id except the extra word
|
||||
\fIGROUP\fR
|
||||
zul\(:assig ist\&. Auch
|
||||
is recognized\&.
|
||||
\fIALL EXCEPT GROUP\fR
|
||||
ist zul\(:assig\&. Nach
|
||||
is perfectly valid too\&. Following
|
||||
\fIGROUP\fR
|
||||
werden ein oder mehrere Gruppennamen aufgef\(:uhrt, die durch \(Fc,\(Fo getrennt sind\&. Die Haupt\-ID einer Gruppe reicht nicht aus, sondern ein Eintrag in
|
||||
appears one or more group names, delimited by ","\&. It is not sufficient to have primary group id of the relevant group, an entry in
|
||||
\fB/etc/group\fR(5)
|
||||
ist notwendig\&.
|
||||
is necessary\&.
|
||||
.PP
|
||||
Als Aktion k\(:onnen nur die folgenden Optionen angegeben werden\&.
|
||||
.PP
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: chgpasswd
|
||||
.\" Author: Thomas K\(/loczko <kloczek@pld.org.pl>
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "CHGPASSWD" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "CHGPASSWD" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -42,16 +42,14 @@ liest eine Liste von Gruppenname\-Passwort\-Paaren von der Standardeingabe\&. Da
|
||||
.PP
|
||||
Das Passwort wird standardm\(:a\(ssig im Klartext angegeben\&. Die Standardalgorithmus zur Verschl\(:usselung ist DES\&.
|
||||
.PP
|
||||
Der standardm\(:a\(ssige Verschl\(:usselungsalgorithmus wird systemweit mit der Variable
|
||||
The default encryption algorithm can be defined for the system with the
|
||||
\fBENCRYPT_METHOD\fR
|
||||
in
|
||||
/etc/login\&.defs
|
||||
bestimmt\&. Dies kann mit den Optionen
|
||||
variable of
|
||||
/etc/login\&.defs, and can be overwritten with the
|
||||
\fB\-e\fR,
|
||||
\fB\-m\fR
|
||||
oder
|
||||
\fB\-m\fR, or
|
||||
\fB\-c\fR
|
||||
\(:uberschrieben werden\&.
|
||||
options\&.
|
||||
.PP
|
||||
Dieser Befehl ist f\(:ur den Einsatz in gro\(ssen Umgebungen vorgesehen, in der viele Konten gleichzeitig erstellt werden m\(:ussen\&.
|
||||
.SH "OPTIONEN"
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: chpasswd
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "CHPASSWD" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "CHPASSWD" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -44,21 +44,19 @@ Das Passwort muss standardm\(:a\(ssig im Klartext angegeben werden und von
|
||||
\fBchpasswd\fR
|
||||
verschl\(:usselt\&. Soweit vorhanden, wird auch das Alter des Passworts aktualisiert\&.
|
||||
.PP
|
||||
Der standardm\(:a\(ssige Verschl\(:usselungsalgorithmus kann systemweit mit den Variablen
|
||||
The default encryption algorithm can be defined for the system with the
|
||||
\fBENCRYPT_METHOD\fR
|
||||
oder
|
||||
or
|
||||
\fBMD5_CRYPT_ENAB\fR
|
||||
in
|
||||
/etc/login\&.defs
|
||||
definiert werden\&. Dieser kann mit den Optionen
|
||||
variables of
|
||||
/etc/login\&.defs, and can be overwritten with the
|
||||
\fB\-e\fR,
|
||||
\fB\-m\fR
|
||||
oder
|
||||
\fB\-m\fR, or
|
||||
\fB\-c\fR
|
||||
\(:uberschrieben werden\&.
|
||||
options\&.
|
||||
.PP
|
||||
\fBchpasswd\fR
|
||||
aktualisiert zun\(:achst alle Passw\(:orter im Arbeitsspeicher und schreibt dann die \(:Anderungen auf das Speichermedium, falls keine Fehler aufgetreten sind\&.
|
||||
first updates all the passwords in memory, and then commits all the changes to disk if no errors occurred for any user\&.
|
||||
.PP
|
||||
Dieser Befehl ist f\(:ur den Einsatz in gro\(ssen Umgebungen vorgesehen, in der viele Konten gleichzeitig erstellt werden m\(:ussen\&.
|
||||
.SH "OPTIONEN"
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: faillog
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "FAILLOG" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "FAILLOG" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: groupadd
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "GROUPADD" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "GROUPADD" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: groupdel
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "GROUPDEL" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "GROUPDEL" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: groupmems
|
||||
.\" Author: George Kraft, IV
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "GROUPMEMS" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "GROUPMEMS" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -51,7 +51,7 @@ unterst\(:utzt werden, sind:
|
||||
.PP
|
||||
\fB\-a\fR, \fB\-\-add\fR\ \&\fIBenutzer_Name\fR
|
||||
.RS 4
|
||||
F\(:ugt einen Benutzer der Mitgliederliste der Gruppe hinzu\&.
|
||||
Add a user to the group membership list\&.
|
||||
.sp
|
||||
Wenn die Datei
|
||||
/etc/gshadow
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: groupmod
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "GROUPMOD" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "GROUPMOD" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: grpck
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "GRPCK" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "GRPCK" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: lastlog
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "LASTLOG" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "LASTLOG" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -59,7 +59,7 @@ sind
|
||||
.PP
|
||||
\fB\-C\fR, \fB\-\-clear\fR
|
||||
.RS 4
|
||||
Clear lastlog record of an user\&. This option can be used only together with
|
||||
Clear lastlog record of a user\&. This option can be used only together with
|
||||
\fB\-u\fR
|
||||
(\fB\-\-user\fR))\&.
|
||||
.RE
|
||||
@@ -79,7 +79,7 @@ durch und verwendet die Konfigurationsdateien aus dem Verzeichnis
|
||||
.PP
|
||||
\fB\-S\fR, \fB\-\-set\fR
|
||||
.RS 4
|
||||
Set lastlog record of an user to the current time\&. This option can be used only together with
|
||||
Set lastlog record of a user to the current time\&. This option can be used only together with
|
||||
\fB\-u\fR
|
||||
(\fB\-\-user\fR))\&.
|
||||
.RE
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: logoutd
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "LOGOUTD" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "LOGOUTD" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: newusers
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "NEWUSERS" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "NEWUSERS" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -47,9 +47,8 @@ pw_Name:pw_Passwort:pw_uid:pw_gid:pw_gecos:pw_Verz:pw_shell
|
||||
.RS 4
|
||||
Dies ist der Name des Benutzers\&.
|
||||
.sp
|
||||
Es kann sich dabei um den Namen eines neuen oder eines existierenden Benutzer (oder eines, der zuvor mit
|
||||
\fBnewusers\fR
|
||||
erstellt wurde) handeln\&. F\(:ur den Fall, dass der Benutzer bereits vorhanden ist, werden seine Daten ver\(:andert, anderenfalls wird ein neuer Benutzer erstellt\&.
|
||||
It can be the name of a new user or the name of an existing user (or a user created before by
|
||||
\fBnewusers\fR)\&. In case of an existing user, the user\*(Aqs information will be changed, otherwise a new user will be created\&.
|
||||
.RE
|
||||
.PP
|
||||
\fIpw_Passwort\fR
|
||||
@@ -61,15 +60,13 @@ Dieses Feld wird verschl\(:usselt und als neuer Wert f\(:ur das verschl\(:usselt
|
||||
.RS 4
|
||||
Mit diesem Feld wird die UID des Benutzers bestimmt\&.
|
||||
.sp
|
||||
Wenn dieses Feld leer ist, wird von
|
||||
\fBnewusers\fR
|
||||
automatisch eine neue (noch freie) UID gew\(:ahlt\&.
|
||||
If the field is empty, a new (unused) UID will be defined automatically by
|
||||
\fBnewusers\fR\&.
|
||||
.sp
|
||||
Wenn dieses Feld eine Zahl enth\(:alt, wird sie als UID verwendet\&.
|
||||
.sp
|
||||
Wenn dieses Feld den Namen eines existierenden Benutzers enth\(:alt (oder eines Benutzers, der zuvor mit
|
||||
\fBnewusers\fR
|
||||
erstellt wurde), wird die UID des angegebenen Benutzers verwendet\&.
|
||||
If this field contains the name of an existing user (or the name of a user created before by
|
||||
\fBnewusers\fR), the UID of the specified user will be used\&.
|
||||
.sp
|
||||
Falls die UID eines bestehenden Benutzers ver\(:andert wird, muss der Eigent\(:umer der Dateien des Benutzers per Hand angepasst werden\&.
|
||||
.RE
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: nologin
|
||||
.\" Author: Nicolas Fran\(,cois <nicolas.francois@centraliens.net>
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "NOLOGIN" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "NOLOGIN" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -46,6 +46,6 @@ Wie Sie alle Konten abschalten, erfahren Sie unter
|
||||
\fBnologin\fR(5)\&.
|
||||
.SH "GESCHICHTE"
|
||||
.PP
|
||||
Der Befehl
|
||||
The
|
||||
\fBnologin\fR
|
||||
tauchte erstmals in BSD 4\&.4 auf\&.
|
||||
command appeared in BSD 4\&.4\&.
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: pwck
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "PWCK" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "PWCK" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: pwconv
|
||||
.\" Author: Marek Micha\(/lkiewicz
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "PWCONV" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "PWCONV" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: sulogin
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "SULOGIN" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "SULOGIN" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: useradd
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "USERADD" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "USERADD" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -190,27 +190,28 @@ Soweit m\(:oglich, werden die ACLs und erweiterten Attribute kopiert\&.
|
||||
.PP
|
||||
\fB\-K\fR, \fB\-\-key\fR\ \&\fISCHL\(:USSEL\fR=\fIWERT\fR
|
||||
.RS 4
|
||||
\(:Uberschreibt die Standardwerte aus
|
||||
Overrides
|
||||
/etc/login\&.defs
|
||||
(\fBUID_MIN\fR,
|
||||
defaults (\fBUID_MIN\fR,
|
||||
\fBUID_MAX\fR,
|
||||
\fBUMASK\fR,
|
||||
\fBPASS_MAX_DAYS\fR
|
||||
und andere)\&.
|
||||
and others)\&.
|
||||
|
||||
Beispiel:
|
||||
\fB\-K\fR\ \&\fIPASS_MAX_TAGE\fR=\fI\-1\fR
|
||||
kann eingesetzt werden, wenn ein Systemkonto erstellt wird, um den Verfall des Passworts abzuschalten, selbst wenn das Systemkonto \(:uberhaupt kein Passwort besitzt\&. Die Option
|
||||
Example:
|
||||
\fB\-K\fR\ \&\fIPASS_MAX_DAYS\fR=\fI\-1\fR
|
||||
can be used when creating system account to turn off password aging, even though system account has no password at all\&. Multiple
|
||||
\fB\-K\fR
|
||||
kann mehrmals verwendet werden, z\&.B\&.:
|
||||
\fB\-K\fR\ \&\fIUID_MIN\fR=\fI100\fR\ \&\fB\-K\fR\ \&\fIUID_MAX\fR=\fI499\fR
|
||||
options can be specified, e\&.g\&.:
|
||||
\fB\-K\fR\ \&\fIUID_MIN\fR=\fI100\fR\ \&
|
||||
\fB\-K\fR\ \&\fIUID_MAX\fR=\fI499\fR
|
||||
.RE
|
||||
.PP
|
||||
\fB\-l\fR, \fB\-\-no\-log\-init\fR
|
||||
.RS 4
|
||||
F\(:ugt den Benutzer nicht zu den Datenbanken lastlog und faillog hinzu\&.
|
||||
.sp
|
||||
Standardm\(:a\(ssig werden die Benutzereintr\(:age in den Datenbanken lastlog und faillog zur\(:uckgesetzt, um zu vermeiden, dass der Eintrag eines fr\(:uher gel\(:oschten Benutzers verwendet wird\&.
|
||||
By default, the user\*(Aqs entries in the lastlog and faillog databases are reset to avoid reusing the entry from a previously deleted user\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB\-m\fR, \fB\-\-create\-home\fR
|
||||
@@ -224,7 +225,7 @@ Wenn diese Option nicht angegeben wird und
|
||||
nicht aktiviert wurde, wird standardm\(:a\(ssig kein Home\-Verzeichnis erstellt\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB\-M\fR
|
||||
\fB\-M\fR, \fB\-\-no\-create\-home\fR
|
||||
.RS 4
|
||||
Erstellt nicht das Home\-Verzeichnis des Benutzers, selbst wenn die systemweite Option
|
||||
\fBCREATE_HOME\fR
|
||||
@@ -294,11 +295,13 @@ bis
|
||||
\fBUID_MAX\fR
|
||||
gew\(:ahlt (gleiches gilt f\(:ur die GID bei der Erstellung von Gruppen)\&.
|
||||
.sp
|
||||
Beachten Sie, dass
|
||||
Note that
|
||||
\fBuseradd\fR
|
||||
f\(:ur einen solchen Benutzer unabh\(:angig von der Einstellung in
|
||||
will not create a home directory for such a user, regardless of the default setting in
|
||||
/etc/login\&.defs
|
||||
(\fBCREATE_HOME\fR) kein Home\-Verzeichnis erzeugen wird\&.
|
||||
(\fBCREATE_HOME\fR)\&. You have to specify the
|
||||
\fB\-m\fR
|
||||
options if you want a home directory for a system account to be created\&.
|
||||
.RE
|
||||
.PP
|
||||
\fB\-R\fR, \fB\-\-root\fR\ \&\fICHROOT_VERZ\fR
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: userdel
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "USERDEL" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "USERDEL" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: usermod
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "USERMOD" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "USERMOD" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
@@ -295,9 +295,9 @@ leer ist, wird die Zuordnung von SELinux\-Benutzern (sofern vorhanden) aus den A
|
||||
.RE
|
||||
.SH "WARNUNGEN"
|
||||
.PP
|
||||
Wenn Sie mit diesem Befehl die numerische UID, den Namen oder das Home\-Verzeichnis eines Benutzers ver\(:andern wollen, m\(:ussen Sie sicherstellen, dass dieser Benutzer keine Prozesse laufen l\(:asst\&. Bei Linux stellt dies
|
||||
You must make certain that the named user is not executing any processes when this command is being executed if the user\*(Aqs numerical user ID, the user\*(Aqs name, or the user\*(Aqs home directory is being changed\&.
|
||||
\fBusermod\fR
|
||||
sicher, auf anderen Architekturen \(:uberpr\(:uft es nur, ob der Benutzer laut utmp eingeloggt ist\&.
|
||||
checks this on Linux\&. On other platforms it only uses utmp to check if the user is logged in\&.
|
||||
.PP
|
||||
Sie m\(:ussen den Eigent\(:umer von
|
||||
\fBcrontab\fR\-Dateien oder
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: vipw
|
||||
.\" Author: Marek Micha\(/lkiewicz
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16.03.2016
|
||||
.\" Date: 18.09.2016
|
||||
.\" Manual: Befehle zur Systemverwaltung
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: German
|
||||
.\"
|
||||
.TH "VIPW" "8" "16.03.2016" "shadow\-utils 4\&.2" "Befehle zur Systemverwaltung"
|
||||
.TH "VIPW" "8" "18.09.2016" "shadow\-utils 4\&.4" "Befehle zur Systemverwaltung"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -296,9 +296,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/es/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/es/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign man/es/Makefile
|
||||
$(AUTOMAKE) --gnu man/es/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
@@ -323,9 +323,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/fi/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/fi/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign man/fi/Makefile
|
||||
$(AUTOMAKE) --gnu man/fi/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
@@ -359,9 +359,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/..
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/fr/Makefile'; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/fr/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign man/fr/Makefile
|
||||
$(AUTOMAKE) --gnu man/fr/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: chage
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: Commandes utilisateur
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: French
|
||||
.\"
|
||||
.TH "CHAGE" "1" "16/03/2016" "shadow\-utils 4\&.2" "Commandes utilisateur"
|
||||
.TH "CHAGE" "1" "18/09/2016" "shadow\-utils 4\&.4" "Commandes utilisateur"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: chfn
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: Commandes utilisateur
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: French
|
||||
.\"
|
||||
.TH "CHFN" "1" "16/03/2016" "shadow\-utils 4\&.2" "Commandes utilisateur"
|
||||
.TH "CHFN" "1" "18/09/2016" "shadow\-utils 4\&.4" "Commandes utilisateur"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: chsh
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: Commandes utilisateur
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: French
|
||||
.\"
|
||||
.TH "CHSH" "1" "16/03/2016" "shadow\-utils 4\&.2" "Commandes utilisateur"
|
||||
.TH "CHSH" "1" "18/09/2016" "shadow\-utils 4\&.4" "Commandes utilisateur"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: expiry
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: Commandes utilisateur
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: French
|
||||
.\"
|
||||
.TH "EXPIRY" "1" "16/03/2016" "shadow\-utils 4\&.2" "Commandes utilisateur"
|
||||
.TH "EXPIRY" "1" "18/09/2016" "shadow\-utils 4\&.4" "Commandes utilisateur"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: gpasswd
|
||||
.\" Author: Rafal Maszkowski
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: Commandes utilisateur
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: French
|
||||
.\"
|
||||
.TH "GPASSWD" "1" "16/03/2016" "shadow\-utils 4\&.2" "Commandes utilisateur"
|
||||
.TH "GPASSWD" "1" "18/09/2016" "shadow\-utils 4\&.4" "Commandes utilisateur"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: groups
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: Commandes utilisateur
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: French
|
||||
.\"
|
||||
.TH "GROUPS" "1" "16/03/2016" "shadow\-utils 4\&.2" "Commandes utilisateur"
|
||||
.TH "GROUPS" "1" "18/09/2016" "shadow\-utils 4\&.4" "Commandes utilisateur"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
.\" Title: id
|
||||
.\" Author: Julianne Frances Haugh
|
||||
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||
.\" Date: 16/03/2016
|
||||
.\" Date: 18/09/2016
|
||||
.\" Manual: Commandes utilisateur
|
||||
.\" Source: shadow-utils 4.2
|
||||
.\" Source: shadow-utils 4.4
|
||||
.\" Language: French
|
||||
.\"
|
||||
.TH "ID" "1" "16/03/2016" "shadow\-utils 4\&.2" "Commandes utilisateur"
|
||||
.TH "ID" "1" "18/09/2016" "shadow\-utils 4\&.4" "Commandes utilisateur"
|
||||
.\" -----------------------------------------------------------------
|
||||
.\" * Define some portability stuff
|
||||
.\" -----------------------------------------------------------------
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user