Compare commits

...

8 Commits

Author SHA1 Message Date
Sylvain Beucler
7f6e0ec904 Import Debian changes 1:4.8.1-1+deb11u1
shadow (1:4.8.1-1+deb11u1) bullseye-security; urgency=high
.
  * Non-maintainer upload by the LTS Security Team.
  * CVE-2023-4641: When asking for a new password, shadow-utils asks the
    password twice. If the password fails on the second attempt,
    shadow-utils fails in cleaning the buffer used to store the first
    entry. This may allow an attacker with enough access to retrieve the
    password from the memory. (Closes: #1051062)
  * CVE-2023-29383: It is possible to inject control characters into
    fields provided to the SUID program chfn (change finger). Although it
    is not possible to exploit this directly (e.g., adding a new user
    fails because \n is in the block list), it is possible to misrepresent
    the /etc/passwd file when viewed. (Closes: #1034482)
  * Add Salsa-CI configuration.
  * Silence lintian error that can't be fixed after freeze.
2025-04-18 17:29:39 +02:00
Balint Reczey
7456cef7e2 Update changelog 2020-02-07 15:54:36 +01:00
Balint Reczey
dc0f840741 debian/HOME_MODE.xml: Ship the file that was accidentally omitted from upstream tarball 2020-02-07 00:22:41 +01:00
Balint Reczey
10af5ab4c4 Update changelog 2020-02-07 00:10:01 +01:00
Balint Reczey
2d2f190b5f Refresh patches 2020-02-06 23:33:56 +01:00
Balint Reczey
8b9729cf03 Update upstream source from tag 'upstream/4.8.1'
Update to upstream version '4.8.1'
with Debian dir 4e0ff7ffe2
2020-02-06 23:15:01 +01:00
Balint Reczey
d906ecd3b6 New upstream version 4.8.1 2020-02-06 23:14:47 +01:00
Balint Reczey
8a1d6c51aa debian/default/useradd: Fix typo DHSELL -> DSHELL
Closes: #897028
2019-12-27 22:44:17 +01:00
406 changed files with 6263 additions and 6273 deletions

View File

@@ -1,3 +1,23 @@
2020-01-23 Serge Hallyn <serge@hallyn.com>
* selinux: inclue stdio (Michael Vetter)
* man: don't suggest making groupmems user-writeable (Michael Weiser)
* Makefile: bail out on error in for loops (Wolfgang Bumiller)
* Adding logging of SSH_ORIGINAL_COMMAND to nologin. (ed@s5h.net)
* add new HOME_MODE login.defs option (Duncan Overbruck)
* Add tty logging to useradd (ed@s5h.net)
* Useradd: make non-executable shell check only a warning (Tomas Mraz)
* Update Dutch translation (Frans-Spiesschaert)
* user_busy: Do not mistake a regular user process for a namespaced one (Tomas Mraz)
* Revert "Honor --sbindir and --bindir for binary installation" Patrick McLean)
2019-12-20 Dave Reisner <dreisner@archlinux.org>
* Do not auto-enable acct_tools_setuid just because
pam is enabled. NOTE - any distros which are relying
on this behavior will need to switch to configure
--enable-account-tools-setuid
2019-12-01 Serge Hallyn <serge@hallyn.com>
* Release 4.8

View File

@@ -162,7 +162,7 @@ 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 install-sh ltmain.sh \
missing ylwrap
missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)

13
README
View File

@@ -11,16 +11,16 @@ Releases
https://github.com/shadow-maint/shadow/releases
Mailing lists
for general discuss: pkg-shadow-devel@lists.alioth.debian.org
commit list: pkg-shadow-commits@lists.alioth.debian.org
for general discuss: pkg-shadow-devel@alioth-lists.debian.net
commit list: pkg-shadow-commits@alioth-lists.debian.net
Mailing lists subscription
http://lists.alioth.debian.org/mailman/listinfo/pkg-shadow-devel
http://lists.alioth.debian.org/mailman/listinfo/pkg-shadow-commits
http://alioth-lists.debian.net/mailman/listinfo/pkg-shadow-devel
http://alioth-lists.debian.net/mailman/listinfo/pkg-shadow-commits
Mailing lists archives:
http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/
http://lists.alioth.debian.org/pipermail/pkg-shadow-commits/
http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/
http://alioth-lists.debian.net/pipermail/pkg-shadow-commits/
S/Key support:
Shadow can be built with S/Key support using the S/Key package from:
@@ -90,6 +90,7 @@ Martin Bene <mb@sime.com>
Martin Mares <mj@gts.cz>
Michael Meskes <meskes@topsystem.de>
Michael Talbot-Wilson <mike@calypso.bns.com.au>
Michael Vetter <jubalh@iodoru.org>
Mike Frysinger <vapier@gentoo.org>
Mike Pakovic <mpakovic@users.southeast.net>
Nicolas François <nicolas.francois@centraliens.net>

22
configure vendored
View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for shadow 4.8.
# Generated by GNU Autoconf 2.69 for shadow 4.8.1.
#
# Report bugs to <pkg-shadow-devel@lists.alioth.debian.org>.
#
@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='shadow'
PACKAGE_TARNAME='shadow'
PACKAGE_VERSION='4.8'
PACKAGE_STRING='shadow 4.8'
PACKAGE_VERSION='4.8.1'
PACKAGE_STRING='shadow 4.8.1'
PACKAGE_BUGREPORT='pkg-shadow-devel@lists.alioth.debian.org'
PACKAGE_URL='https://github.com/shadow-maint/shadow'
@@ -1423,7 +1423,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures shadow 4.8 to adapt to many kinds of systems.
\`configure' configures shadow 4.8.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1494,7 +1494,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of shadow 4.8:";;
short | recursive ) echo "Configuration of shadow 4.8.1:";;
esac
cat <<\_ACEOF
@@ -1658,7 +1658,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
shadow configure 4.8
shadow configure 4.8.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2367,7 +2367,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by shadow $as_me 4.8, which was
It was created by shadow $as_me 4.8.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3232,7 +3232,7 @@ fi
# Define the identity of the package.
PACKAGE='shadow'
VERSION='4.8'
VERSION='4.8.1'
cat >>confdefs.h <<_ACEOF
@@ -15209,7 +15209,7 @@ if test "${enable_account_tools_setuid+set}" = set; then :
;;
esac
else
enable_acct_tools_setuid="maybe"
enable_acct_tools_setuid="no"
fi
@@ -19906,7 +19906,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by shadow $as_me 4.8, which was
This file was extended by shadow $as_me 4.8.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -19973,7 +19973,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
shadow config.status 4.8
shadow config.status 4.8.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"

View File

@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.64])
AC_INIT([shadow], [4.8], [pkg-shadow-devel@lists.alioth.debian.org], [],
AC_INIT([shadow], [4.8.1], [pkg-shadow-devel@lists.alioth.debian.org], [],
[https://github.com/shadow-maint/shadow])
AM_INIT_AUTOMAKE([1.11 foreign dist-xz])
AM_SILENT_RULES([yes])
@@ -226,7 +226,7 @@ AC_ARG_ENABLE(account-tools-setuid,
*) AC_MSG_ERROR(bad value ${enableval} for --enable-account-tools-setuid)
;;
esac],
[enable_acct_tools_setuid="maybe"]
[enable_acct_tools_setuid="no"]
)
AC_ARG_ENABLE(utmpx,

43
debian/HOME_MODE.xml vendored Normal file
View File

@@ -0,0 +1,43 @@
<!--
Copyright (c) 1991 - 1993, Julianne Frances Haugh
Copyright (c) 1991 - 1993, Chip Rosenthal
Copyright (c) 2007 - 2009, Nicolas François
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the copyright holders or contributors may not be used to
endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<varlistentry>
<term><option>HOME_MODE</option> (number)</term>
<listitem>
<para>
The mode for new home directories. If not specified,
the <option>UMASK</option> is used to create the mode.
</para>
<para>
<command>useradd</command> and <command>newusers</command> use this
to set the mode of the home directory they create.
</para>
</listitem>
</varlistentry>

27
debian/changelog vendored
View File

@@ -1,3 +1,30 @@
shadow (1:4.8.1-1+deb11u1) bullseye-security; urgency=high
* Non-maintainer upload by the LTS Security Team.
* CVE-2023-4641: When asking for a new password, shadow-utils asks the
password twice. If the password fails on the second attempt,
shadow-utils fails in cleaning the buffer used to store the first
entry. This may allow an attacker with enough access to retrieve the
password from the memory. (Closes: #1051062)
* CVE-2023-29383: It is possible to inject control characters into
fields provided to the SUID program chfn (change finger). Although it
is not possible to exploit this directly (e.g., adding a new user
fails because \n is in the block list), it is possible to misrepresent
the /etc/passwd file when viewed. (Closes: #1034482)
* Add Salsa-CI configuration.
* Silence lintian error that can't be fixed after freeze.
-- Sylvain Beucler <beuc@debian.org> Fri, 18 Apr 2025 15:46:55 +0200
shadow (1:4.8.1-1) unstable; urgency=medium
* debian/default/useradd: Fix typo DHSELL -> DSHELL (Closes: #897028)
* New upstream version 4.8.1
- Update Dutch translation (Closes: #946608)
* Refresh patches
-- Balint Reczey <rbalint@ubuntu.com> Fri, 07 Feb 2020 15:54:14 +0100
shadow (1:4.8-1) unstable; urgency=medium
[ Laurent Bigonville ]

View File

@@ -2,7 +2,7 @@
#
# The SHELL variable specifies the default login shell on your
# system.
# Similar to DHSELL in adduser. However, we use "sh" here because
# Similar to DSHELL in adduser. However, we use "sh" here because
# useradd is a low level utility and should be as general
# as possible
SHELL=/bin/sh

View File

@@ -4,3 +4,5 @@ passwd: setuid-binary usr/bin/chsh 4755 root/root
passwd: setgid-binary usr/bin/expiry 2755 root/shadow
passwd: setuid-binary usr/bin/gpasswd 4755 root/root
passwd: setuid-binary usr/bin/passwd 4755 root/root
# Fixed in a0f09c4de7ad35b1a7c64cbe7024c9b7236ad491 but would add a Recommend: during LTS
passwd: missing-depends-on-sensible-utils sensible-editor usr/sbin/vipw

View File

@@ -48,4 +48,4 @@ Notes:
+ {"FTMP_FILE", NULL},
{"GID_MAX", NULL},
{"GID_MIN", NULL},
{"HUSHLOGIN_FILE", NULL},
{"HOME_MODE", NULL},

View File

@@ -6,7 +6,7 @@ Status wrt upstream: Debian specific patch.
--- a/man/useradd.8.xml
+++ b/man/useradd.8.xml
@@ -106,6 +106,12 @@
@@ -107,6 +107,12 @@
<refsect1 id='description'>
<title>DESCRIPTION</title>
<para>

View File

@@ -54,7 +54,7 @@ Details:
}
--- a/man/useradd.8.xml
+++ b/man/useradd.8.xml
@@ -661,12 +661,20 @@
@@ -662,12 +662,20 @@
</para>
<para>

View File

@@ -7,7 +7,7 @@ Status wrt upstream: not included as this is just specific
--- a/man/useradd.8.xml
+++ b/man/useradd.8.xml
@@ -340,6 +340,11 @@
@@ -341,6 +341,11 @@
databases are reset to avoid reusing the entry from a previously
deleted user.
</para>

83
debian/patches/CVE-2023-29383.patch vendored Normal file
View File

@@ -0,0 +1,83 @@
Origin: https://github.com/shadow-maint/shadow/commit/e5905c4b84d4fb90aefcd96ee618411ebfac663d
Origin: https://github.com/shadow-maint/shadow/commit/2eaea70111f65b16d55998386e4ceb4273c19eb4
Reviewed-by: Sylvain Beucler <beuc@debian.org>
Last-Update: 2025-04-15
From e5905c4b84d4fb90aefcd96ee618411ebfac663d Mon Sep 17 00:00:00 2001
From: tomspiderlabs <128755403+tomspiderlabs@users.noreply.github.com>
Date: Thu, 23 Mar 2023 23:39:38 +0000
Subject: [PATCH] Added control character check
Added control character check, returning -1 (to "err") if control characters are present.
---
lib/fields.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
From 2eaea70111f65b16d55998386e4ceb4273c19eb4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@googlemail.com>
Date: Fri, 31 Mar 2023 14:46:50 +0200
Subject: [PATCH] Overhaul valid_field()
e5905c4b ("Added control character check") introduced checking for
control characters but had the logic inverted, so it rejects all
characters that are not control ones.
Cast the character to `unsigned char` before passing to the character
checking functions to avoid UB.
Use strpbrk(3) for the illegal character test and return early.
---
lib/fields.c | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
Index: shadow-4.8.1/lib/fields.c
===================================================================
--- shadow-4.8.1.orig/lib/fields.c
+++ shadow-4.8.1/lib/fields.c
@@ -44,9 +44,9 @@
*
* The supplied field is scanned for non-printable and other illegal
* characters.
- * + -1 is returned if an illegal character is present.
- * + 1 is returned if no illegal characters are present, but the field
- * contains a non-printable character.
+ * + -1 is returned if an illegal or control character is present.
+ * + 1 is returned if no illegal or control characters are present,
+ * but the field contains a non-printable character.
* + 0 is returned otherwise.
*/
int valid_field (const char *field, const char *illegal)
@@ -60,23 +60,22 @@ int valid_field (const char *field, cons
/* For each character of field, search if it appears in the list
* of illegal characters. */
+ if (illegal && NULL != strpbrk (field, illegal)) {
+ return -1;
+ }
+
+ /* Search if there are non-printable or control characters */
for (cp = field; '\0' != *cp; cp++) {
- if (strchr (illegal, *cp) != NULL) {
+ unsigned char c = *cp;
+ if (!isprint (c)) {
+ err = 1;
+ }
+ if (iscntrl (c)) {
err = -1;
break;
}
}
- if (0 == err) {
- /* Search if there are some non-printable characters */
- for (cp = field; '\0' != *cp; cp++) {
- if (!isprint (*cp)) {
- err = 1;
- break;
- }
- }
- }
-
return err;
}

143
debian/patches/CVE-2023-4641.patch vendored Normal file
View File

@@ -0,0 +1,143 @@
Origin: https://github.com/shadow-maint/shadow/commit/65c88a43a23c2391dcc90c0abda3e839e9c57904
Reviewed-by: Sylvain Beucler <beuc@debian.org>
Last-Update: 2025-04-15
From 65c88a43a23c2391dcc90c0abda3e839e9c57904 Mon Sep 17 00:00:00 2001
From: Alejandro Colomar <alx@kernel.org>
Date: Sat, 10 Jun 2023 16:20:05 +0200
Subject: [PATCH] gpasswd(1): Fix password leak
How to trigger this password leak?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When gpasswd(1) asks for the new password, it asks twice (as is usual
for confirming the new password). Each of those 2 password prompts
uses agetpass() to get the password. If the second agetpass() fails,
the first password, which has been copied into the 'static' buffer
'pass' via STRFCPY(), wasn't being zeroed.
agetpass() is defined in <./libmisc/agetpass.c> (around line 91), and
can fail for any of the following reasons:
- malloc(3) or readpassphrase(3) failure.
These are going to be difficult to trigger. Maybe getting the system
to the limits of memory utilization at that exact point, so that the
next malloc(3) gets ENOMEM, and possibly even the OOM is triggered.
About readpassphrase(3), ENFILE and EINTR seem the only plausible
ones, and EINTR probably requires privilege or being the same user;
but I wouldn't discard ENFILE so easily, if a process starts opening
files.
- The password is longer than PASS_MAX.
The is plausible with physical access. However, at that point, a
keylogger will be a much simpler attack.
And, the attacker must be able to know when the second password is being
introduced, which is not going to be easy.
How to read the password after the leak?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Provoking the leak yourself at the right point by entering a very long
password is easy, and inspecting the process stack at that point should
be doable. Try to find some consistent patterns.
Then, search for those patterns in free memory, right after the victim
leaks their password.
Once you get the leak, a program should read all the free memory
searching for patterns that gpasswd(1) leaves nearby the leaked
password.
On 6/10/23 03:14, Seth Arnold wrote:
> An attacker process wouldn't be able to use malloc(3) for this task.
> There's a handful of tools available for userspace to allocate memory:
>
> - brk / sbrk
> - mmap MAP_ANONYMOUS
> - mmap /dev/zero
> - mmap some other file
> - shm_open
> - shmget
>
> Most of these return only pages of zeros to a process. Using mmap of an
> existing file, you can get some of the contents of the file demand-loaded
> into the memory space on the first use.
>
> The MAP_UNINITIALIZED flag only works if the kernel was compiled with
> CONFIG_MMAP_ALLOW_UNINITIALIZED. This is rare.
>
> malloc(3) doesn't zero memory, to our collective frustration, but all the
> garbage in the allocations is from previous allocations in the current
> process. It isn't leftover from other processes.
>
> The avenues available for reading the memory:
> - /dev/mem and /dev/kmem (requires root, not available with Secure Boot)
> - /proc/pid/mem (requires ptrace privileges, mediated by YAMA)
> - ptrace (requires ptrace privileges, mediated by YAMA)
> - causing memory to be swapped to disk, and then inspecting the swap
>
> These all require a certain amount of privileges.
How to fix it?
~~~~~~~~~~~~~~
memzero(), which internally calls explicit_bzero(3), or whatever
alternative the system provides with a slightly different name, will
make sure that the buffer is zeroed in memory, and optimizations are not
allowed to impede this zeroing.
This is not really 100% effective, since compilers may place copies of
the string somewhere hidden in the stack. Those copies won't get zeroed
by explicit_bzero(3). However, that's arguably a compiler bug, since
compilers should make everything possible to avoid optimizing strings
that are later passed to explicit_bzero(3). But we all know that
sometimes it's impossible to have perfect knowledge in the compiler, so
this is plausible. Nevertheless, there's nothing we can do against such
issues, except minimizing the time such passwords are stored in plain
text.
Security concerns
~~~~~~~~~~~~~~~~~
We believe this isn't easy to exploit. Nevertheless, and since the fix
is trivial, this fix should probably be applied soon, and backported to
all supported distributions, to prevent someone else having more
imagination than us to find a way.
Affected versions
~~~~~~~~~~~~~~~~~
All. Bug introduced in shadow 19990709. That's the second commit in
the git history.
Fixes: 45c6603cc86c ("[svn-upgrade] Integrating new upstream version, shadow (19990709)")
Reported-by: Alejandro Colomar <alx@kernel.org>
Cc: Serge Hallyn <serge@hallyn.com>
Cc: Iker Pedrosa <ipedrosa@redhat.com>
Cc: Seth Arnold <seth.arnold@canonical.com>
Cc: Christian Brauner <christian@brauner.io>
Cc: Balint Reczey <rbalint@debian.org>
Cc: Sam James <sam@gentoo.org>
Cc: David Runge <dvzrv@archlinux.org>
Cc: Andreas Jaeger <aj@suse.de>
Cc: <~hallyn/shadow@lists.sr.ht>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
src/gpasswd.c | 1 +
1 file changed, 1 insertion(+)
Index: shadow-4.8.1/src/gpasswd.c
===================================================================
--- shadow-4.8.1.orig/src/gpasswd.c
+++ shadow-4.8.1/src/gpasswd.c
@@ -911,6 +911,7 @@ static void change_passwd (struct group
for (retries = 0; retries < RETRIES; retries++) {
cp = getpass (_("New Password: "));
if (NULL == cp) {
+ memzero (pass, sizeof pass);
exit (1);
}

View File

@@ -1,32 +0,0 @@
From 3cc3948d719d3b9dedaaf2e96221e4b5b96ea380 Mon Sep 17 00:00:00 2001
From: Patrick McLean <chutzpah@gentoo.org>
Date: Sun, 1 Dec 2019 13:59:52 -0800
Subject: [PATCH] Revert "Honor --sbindir and --bindir for binary installation"
This reverts commit e293aa9cfca0619a63616af75532637dab60d49d.
See https://github.com/shadow-maint/shadow/issues/196
Some distros still care about `/bin` vs `/usr/bin`. This commit makes
it so all binaries are always installed to `/bin`/`/sbin`. The only way to
restore the previous behaviour of installing some binaries to
`/usr/bin`/`/usr/sbin` is to revert the patch.
---
src/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index f31fd7ab..7b0aeec8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,8 +2,8 @@
EXTRA_DIST = \
.indent.pro
-ubindir = ${bindir}
-usbindir = ${sbindir}
+ubindir = ${prefix}/bin
+usbindir = ${prefix}/sbin
suidperms = 4755
sgidperms = 2755

View File

@@ -14,4 +14,6 @@
508_nologin_in_usr_sbin
505_useradd_recommend_adduser
501_commonio_group_shadow
git_revert_bindir.patch
CVE-2023-4641.patch
CVE-2023-29383.patch

4
debian/rules vendored
View File

@@ -37,6 +37,7 @@ CFLAGS += -DDEFAULT_EDITOR="\"sensible-editor\""
dh $@
override_dh_auto_configure:
cp debian/HOME_MODE.xml man/login.defs.d/HOME_MODE.xml
dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)
override_dh_install-arch:
@@ -81,3 +82,6 @@ override_dh_builddeb-arch:
override_dh_auto_clean:
sed -i 's/# Linux only # //' debian/login.pam
dh_auto_clean
override_dh_clean:
dh_clean ./man/login.defs.d/HOME_MODE.xml

13
debian/salsa-ci.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
---
# LTS/ELTS CI
include:
- https://salsa.debian.org/lts-team/pipeline/raw/master/recipes/bullseye.yml
# These didn't work before LTS, not attempting to fix after freeze
#blhc:
# allow_failure: true
# https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/275
piuparts:
allow_failure: true

View File

@@ -195,12 +195,17 @@ KILLCHAR 025
# Default initial "umask" value used by login(1) on non-PAM enabled systems.
# Default "umask" value for pam_umask(8) on PAM enabled systems.
# UMASK is also used by useradd(8) and newusers(8) to set the mode for new
# home directories.
# home directories if HOME_MODE is not set.
# 022 is the default value, but 027, or even 077, could be considered
# for increased privacy. There is no One True Answer here: each sysadmin
# must make up their mind.
UMASK 022
# HOME_MODE is used by useradd(8) and newusers(8) to set the mode for new
# home directories.
# If HOME_MODE is not set, the value of UMASK is used to create the mode.
#HOME_MODE 0700
#
# Password aging controls:
#

View File

@@ -93,6 +93,7 @@ static struct itemdef def_table[] = {
{"FAKE_SHELL", NULL},
{"GID_MAX", NULL},
{"GID_MIN", NULL},
{"HOME_MODE", NULL},
{"HUSHLOGIN_FILE", NULL},
{"KILLCHAR", NULL},
{"LASTLOG_UID_MAX", NULL},

View File

@@ -31,13 +31,13 @@
#ifdef WITH_SELINUX
#include <stdio.h>
#include "defines.h"
#include <selinux/selinux.h>
#include <selinux/context.h>
#include "prototypes.h"
static bool selinux_checked = false;
static bool selinux_enabled;

View File

@@ -7,7 +7,6 @@
static bool path_exists(const char *p)
{
int ret;
struct stat sb;
return stat(p, &sb) == 0;

View File

@@ -166,7 +166,7 @@ extern struct group *prefix_getgrnam(const char *name)
fg = fopen(group_db_file, "rt");
if(!fg)
return NULL;
while(grp = fgetgrent(fg)) {
while((grp = fgetgrent(fg)) != NULL) {
if(!strcmp(name, grp->gr_name))
break;
}
@@ -186,7 +186,7 @@ extern struct group *prefix_getgrgid(gid_t gid)
fg = fopen(group_db_file, "rt");
if(!fg)
return NULL;
while(grp = fgetgrent(fg)) {
while((grp = fgetgrent(fg)) != NULL) {
if(gid == grp->gr_gid)
break;
}
@@ -206,7 +206,7 @@ extern struct passwd *prefix_getpwuid(uid_t uid)
fg = fopen(passwd_db_file, "rt");
if(!fg)
return NULL;
while(pwd = fgetpwent(fg)) {
while((pwd = fgetpwent(fg)) != NULL) {
if(uid == pwd->pw_uid)
break;
}
@@ -226,7 +226,7 @@ extern struct passwd *prefix_getpwnam(const char* name)
fg = fopen(passwd_db_file, "rt");
if(!fg)
return NULL;
while(pwd = fgetpwent(fg)) {
while((pwd = fgetpwent(fg)) != NULL) {
if(!strcmp(name, pwd->pw_name))
break;
}
@@ -246,7 +246,7 @@ extern struct spwd *prefix_getspnam(const char* name)
fg = fopen(spw_db_file, "rt");
if(!fg)
return NULL;
while(sp = fgetspent(fg)) {
while((sp = fgetspent(fg)) != NULL) {
if(!strcmp(name, sp->sp_namp))
break;
}

View File

@@ -39,6 +39,7 @@
#include <sys/types.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include "defines.h"
#include "prototypes.h"
#ifdef ENABLE_SUBIDS
@@ -106,6 +107,31 @@ static int user_busy_utmp (const char *name)
#endif /* !__linux__ */
#ifdef __linux__
#ifdef ENABLE_SUBIDS
#define in_parentuid_range(uid) ((uid) >= parentuid && (uid) < parentuid + range)
static int different_namespace (const char *sname)
{
/* 41: /proc/xxxxxxxxxx/task/xxxxxxxxxx/ns/user + \0 */
char path[41];
char buf[512], buf2[512];
ssize_t llen1, llen2;
snprintf (path, 41, "/proc/%s/ns/user", sname);
if ((llen1 = readlink (path, buf, sizeof(buf))) == -1)
return 0;
if ((llen2 = readlink ("/proc/self/ns/user", buf2, sizeof(buf2))) == -1)
return 0;
if (llen1 == llen2 && memcmp (buf, buf2, llen1) == 0)
return 0; /* same namespace */
return 1;
}
#endif /* ENABLE_SUBIDS */
static int check_status (const char *name, const char *sname, uid_t uid)
{
/* 40: /proc/xxxxxxxxxx/task/xxxxxxxxxx/status + \0 */
@@ -114,7 +140,6 @@ static int check_status (const char *name, const char *sname, uid_t uid)
FILE *sfile;
snprintf (status, 40, "/proc/%s/status", sname);
status[39] = '\0';
sfile = fopen (status, "r");
if (NULL == sfile) {
@@ -123,26 +148,29 @@ static int check_status (const char *name, const char *sname, uid_t uid)
while (fgets (line, sizeof (line), sfile) == line) {
if (strncmp (line, "Uid:\t", 5) == 0) {
unsigned long ruid, euid, suid;
assert (uid == (unsigned long) uid);
(void) fclose (sfile);
if (sscanf (line,
"Uid:\t%lu\t%lu\t%lu\n",
&ruid, &euid, &suid) == 3) {
if ( (ruid == (unsigned long) uid)
|| (euid == (unsigned long) uid)
|| (suid == (unsigned long) uid)
#ifdef ENABLE_SUBIDS
|| have_sub_uids(name, ruid, 1)
|| have_sub_uids(name, euid, 1)
|| have_sub_uids(name, suid, 1)
#endif /* ENABLE_SUBIDS */
) {
(void) fclose (sfile);
|| (suid == (unsigned long) uid) ) {
return 1;
}
#ifdef ENABLE_SUBIDS
if ( different_namespace (sname)
&& ( have_sub_uids(name, ruid, 1)
|| have_sub_uids(name, euid, 1)
|| have_sub_uids(name, suid, 1))
) {
return 1;
}
#endif /* ENABLE_SUBIDS */
} else {
/* Ignore errors. This is just a best effort. */
}
(void) fclose (sfile);
return 0;
}
}

View File

@@ -46,7 +46,7 @@ Vypíše seznam členů skupiny.
Příkaz
\fBgroupmems\fR
by měl mít nastavena práva
2770
2710
a měl by jej vlastnit uživatel
\fIroot\fR
a skupina
@@ -58,7 +58,7 @@ spravovat členství ve skupinách.
.sp
.nf
$ groupadd \-r groups
$ chmod 2770 groupmems
$ chmod 2710 groupmems
$ chown root.groups groupmems
$ groupmems \-g groups \-a gk4

View File

@@ -2,12 +2,12 @@
.\" Title: chfn
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: User Commands
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: Danish
.\"
.TH "CHFN" "1" "01/12/2019" "shadow\-utils 4\&.8" "User Commands"
.TH "CHFN" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: groups
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: User Commands
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: Danish
.\"
.TH "GROUPS" "1" "01/12/2019" "shadow\-utils 4\&.8" "User Commands"
.TH "GROUPS" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: id
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: User Commands
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: Danish
.\"
.TH "ID" "1" "01/12/2019" "shadow\-utils 4\&.8" "User Commands"
.TH "ID" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: newgrp
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: User Commands
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: Danish
.\"
.TH "NEWGRP" "1" "01/12/2019" "shadow\-utils 4\&.8" "User Commands"
.TH "NEWGRP" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: sg
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: User Commands
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: Danish
.\"
.TH "SG" "1" "01/12/2019" "shadow\-utils 4\&.8" "User Commands"
.TH "SG" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -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: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: File Formats and Conversions
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: Danish
.\"
.TH "GSHADOW" "5" "01/12/2019" "shadow\-utils 4\&.8" "File Formats and Conversions"
.TH "GSHADOW" "5" "23/01/2020" "shadow\-utils 4\&.8\&.1" "File Formats and Conversions"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: groupdel
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Kommandoer for systemh\(oandtering
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: Danish
.\"
.TH "GROUPDEL" "8" "01/12/2019" "shadow\-utils 4\&.8" "Kommandoer for systemh\(oandterin"
.TH "GROUPDEL" "8" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Kommandoer for systemh\(oandterin"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: logoutd
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Kommandoer for systemh\(oandtering
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: Danish
.\"
.TH "LOGOUTD" "8" "01/12/2019" "shadow\-utils 4\&.8" "Kommandoer for systemh\(oandterin"
.TH "LOGOUTD" "8" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Kommandoer for systemh\(oandterin"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -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: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Kommandoer for systemh\(oandtering
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: Danish
.\"
.TH "NOLOGIN" "8" "01/12/2019" "shadow\-utils 4\&.8" "Kommandoer for systemh\(oandterin"
.TH "NOLOGIN" "8" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Kommandoer for systemh\(oandterin"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -40,6 +40,10 @@ command displays a message that an account is not available and exits non\-zero\
.PP
To disable all logins, investigate
\fBnologin\fR(5)\&.
.PP
If
\fBSSH_ORIGINAL_COMMAND\fR
is populated it will be logged\&.
.SH "SE OGS\(oA"
.PP
\fBlogin\fR(1),

View File

@@ -2,12 +2,12 @@
.\" Title: vipw
.\" Author: Marek Micha\(/lkiewicz
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Kommandoer for systemh\(oandtering
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: Danish
.\"
.TH "VIPW" "8" "01/12/2019" "shadow\-utils 4\&.8" "Kommandoer for systemh\(oandterin"
.TH "VIPW" "8" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Kommandoer for systemh\(oandterin"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: chage
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "CHAGE" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "CHAGE" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: chfn
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "CHFN" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "CHFN" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: chsh
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "CHSH" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "CHSH" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: expiry
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "EXPIRY" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "EXPIRY" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: gpasswd
.\" Author: Rafal Maszkowski
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "GPASSWD" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "GPASSWD" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: groups
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "GROUPS" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "GROUPS" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: id
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "ID" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "ID" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: login
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "LOGIN" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "LOGIN" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -404,7 +404,9 @@ Die Bit\-Gruppe, welche die Rechte von erstellten Dateien bestimmt, wird anf\(:a
\fBuseradd\fR
and
\fBnewusers\fR
use this mask to set the mode of the home directory they create
use this mask to set the mode of the home directory they create if
\fBHOME_MODE\fR
is not set\&.
.sp
It is also used by
\fBlogin\fR

View File

@@ -2,12 +2,12 @@
.\" Title: newgrp
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "NEWGRP" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "NEWGRP" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: passwd
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "PASSWD" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "PASSWD" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: sg
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "SG" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "SG" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: su
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dienstprogramme f\(:ur Benutzer
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "SU" "1" "01.12.2019" "shadow\-utils 4\&.8" "Dienstprogramme f\(:ur Benutzer"
.TH "SU" "1" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dienstprogramme f\(:ur Benutzer"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: shadow
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Bibliotheksaufrufe
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "SHADOW" "3" "01.12.2019" "shadow\-utils 4\&.8" "Bibliotheksaufrufe"
.TH "SHADOW" "3" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Bibliotheksaufrufe"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: faillog
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dateiformate und konvertierung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "FAILLOG" "5" "01.12.2019" "shadow\-utils 4\&.8" "Dateiformate und konvertierung"
.TH "FAILLOG" "5" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dateiformate und konvertierung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -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: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dateiformate und konvertierung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "GSHADOW" "5" "01.12.2019" "shadow\-utils 4\&.8" "Dateiformate und konvertierung"
.TH "GSHADOW" "5" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dateiformate und konvertierung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: limits
.\" Author: Luca Berra
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dateiformate und konvertierung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "LIMITS" "5" "01.12.2019" "shadow\-utils 4\&.8" "Dateiformate und konvertierung"
.TH "LIMITS" "5" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dateiformate und konvertierung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: login.access
.\" Author: Marek Micha\(/lkiewicz
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dateiformate und konvertierung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "LOGIN\&.ACCESS" "5" "01.12.2019" "shadow\-utils 4\&.8" "Dateiformate und konvertierung"
.TH "LOGIN\&.ACCESS" "5" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dateiformate und konvertierung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: login.defs
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dateiformate und konvertierung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "LOGIN\&.DEFS" "5" "01.12.2019" "shadow\-utils 4\&.8" "Dateiformate und konvertierung"
.TH "LOGIN\&.DEFS" "5" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dateiformate und konvertierung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -223,6 +223,18 @@ The default value for
\fBGID_MAX\fR) is 1000 (resp\&. 60000)\&.
.RE
.PP
\fBHOME_MODE\fR (number)
.RS 4
The mode for new home directories\&. If not specified, the
\fBUMASK\fR
is used to create the mode\&.
.sp
\fBuseradd\fR
and
\fBnewusers\fR
use this to set the mode of the home directory they create\&.
.RE
.PP
\fBHUSHLOGIN_FILE\fR (string)
.RS 4
Falls angegeben, kann diese Datei die \(:ubliche Informationsanzeige w\(:ahrend des Anmeldevorgangs unterbinden\&. Wenn ein vollst\(:andiger Pfad angegeben wird, wird der Modus ohne Anmeldeinformationen verwendet, wenn der Name oder die Shell des Benutzers in der Datei enthalten sind\&. Wenn kein vollst\(:andiger Pfad angegeben wird, wird der Modus ohne Anmeldeinformationen aktiviert, wenn die Datei im Home\-Verzeichnis des Benutzers existiert\&.
@@ -609,7 +621,9 @@ Die Bit\-Gruppe, welche die Rechte von erstellten Dateien bestimmt, wird anf\(:a
\fBuseradd\fR
and
\fBnewusers\fR
use this mask to set the mode of the home directory they create
use this mask to set the mode of the home directory they create if
\fBHOME_MODE\fR
is not set\&.
.sp
It is also used by
\fBlogin\fR
@@ -777,7 +791,7 @@ SYSLOG_SG_ENAB
.PP
newusers
.RS 4
ENCRYPT_METHOD GID_MAX GID_MIN MAX_MEMBERS_PER_GROUP MD5_CRYPT_ENAB PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE
ENCRYPT_METHOD GID_MAX GID_MIN MAX_MEMBERS_PER_GROUP MD5_CRYPT_ENAB HOME_MODE PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE
SHA_CRYPT_MAX_ROUNDS SHA_CRYPT_MIN_ROUNDS
SUB_GID_COUNT SUB_GID_MAX SUB_GID_MIN SUB_UID_COUNT SUB_UID_MAX SUB_UID_MIN SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN UMASK
.RE
@@ -819,7 +833,7 @@ ENV_TZ
.PP
useradd
.RS 4
CREATE_HOME GID_MAX GID_MIN LASTLOG_UID_MAX MAIL_DIR MAX_MEMBERS_PER_GROUP PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE SUB_GID_COUNT SUB_GID_MAX SUB_GID_MIN SUB_UID_COUNT SUB_UID_MAX SUB_UID_MIN SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN UMASK
CREATE_HOME GID_MAX GID_MIN HOME_MODE LASTLOG_UID_MAX MAIL_DIR MAX_MEMBERS_PER_GROUP PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE SUB_GID_COUNT SUB_GID_MAX SUB_GID_MIN SUB_UID_COUNT SUB_UID_MAX SUB_UID_MIN SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN UMASK
.RE
.PP
userdel

View File

@@ -2,12 +2,12 @@
.\" Title: passwd
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dateiformate und konvertierung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "PASSWD" "5" "01.12.2019" "shadow\-utils 4\&.8" "Dateiformate und konvertierung"
.TH "PASSWD" "5" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dateiformate und konvertierung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: porttime
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dateiformate und konvertierung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "PORTTIME" "5" "01.12.2019" "shadow\-utils 4\&.8" "Dateiformate und konvertierung"
.TH "PORTTIME" "5" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dateiformate und konvertierung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: shadow
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dateiformate und konvertierung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "SHADOW" "5" "01.12.2019" "shadow\-utils 4\&.8" "Dateiformate und konvertierung"
.TH "SHADOW" "5" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dateiformate und konvertierung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: suauth
.\" Author: Marek Micha\(/lkiewicz
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Dateiformate und konvertierung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "SUAUTH" "5" "01.12.2019" "shadow\-utils 4\&.8" "Dateiformate und konvertierung"
.TH "SUAUTH" "5" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Dateiformate und konvertierung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -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: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "CHGPASSWD" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "CHGPASSWD" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: chpasswd
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "CHPASSWD" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "CHPASSWD" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: faillog
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "FAILLOG" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "FAILLOG" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: groupadd
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "GROUPADD" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "GROUPADD" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: groupdel
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "GROUPDEL" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "GROUPDEL" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: groupmems
.\" Author: George Kraft, IV
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "GROUPMEMS" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "GROUPMEMS" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -114,7 +114,7 @@ directory\&.
The
\fBgroupmems\fR
executable should be in mode
2770
2710
as user
\fIroot\fR
and in group
@@ -129,7 +129,7 @@ utility to manage their own group membership list\&.
.\}
.nf
$ groupadd \-r groups
$ chmod 2770 groupmems
$ chmod 2710 groupmems
$ chown root\&.groups groupmems
$ groupmems \-g groups \-a gk4

View File

@@ -2,12 +2,12 @@
.\" Title: groupmod
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "GROUPMOD" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "GROUPMOD" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: grpck
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "GRPCK" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "GRPCK" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: lastlog
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "LASTLOG" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "LASTLOG" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: logoutd
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "LOGOUTD" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "LOGOUTD" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: newusers
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "NEWUSERS" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "NEWUSERS" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -213,6 +213,18 @@ The default value for
\fBGID_MAX\fR) is 1000 (resp\&. 60000)\&.
.RE
.PP
\fBHOME_MODE\fR (number)
.RS 4
The mode for new home directories\&. If not specified, the
\fBUMASK\fR
is used to create the mode\&.
.sp
\fBuseradd\fR
and
\fBnewusers\fR
use this to set the mode of the home directory they create\&.
.RE
.PP
\fBMAX_MEMBERS_PER_GROUP\fR (number)
.RS 4
Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
@@ -380,7 +392,9 @@ Die Bit\-Gruppe, welche die Rechte von erstellten Dateien bestimmt, wird anf\(:a
\fBuseradd\fR
and
\fBnewusers\fR
use this mask to set the mode of the home directory they create
use this mask to set the mode of the home directory they create if
\fBHOME_MODE\fR
is not set\&.
.sp
It is also used by
\fBlogin\fR

View File

@@ -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: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "NOLOGIN" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "NOLOGIN" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -40,6 +40,10 @@ command displays a message that an account is not available and exits non\-zero\
.PP
To disable all logins, investigate
\fBnologin\fR(5)\&.
.PP
If
\fBSSH_ORIGINAL_COMMAND\fR
is populated it will be logged\&.
.SH "SIEHE AUCH"
.PP
\fBlogin\fR(1),

View File

@@ -2,12 +2,12 @@
.\" Title: pwck
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "PWCK" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "PWCK" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: pwconv
.\" Author: Marek Micha\(/lkiewicz
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "PWCONV" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "PWCONV" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: sulogin
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "SULOGIN" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "SULOGIN" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: useradd
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "USERADD" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "USERADD" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -469,6 +469,18 @@ The default value for
\fBGID_MAX\fR) is 1000 (resp\&. 60000)\&.
.RE
.PP
\fBHOME_MODE\fR (number)
.RS 4
The mode for new home directories\&. If not specified, the
\fBUMASK\fR
is used to create the mode\&.
.sp
\fBuseradd\fR
and
\fBnewusers\fR
use this to set the mode of the home directory they create\&.
.RE
.PP
\fBLASTLOG_UID_MAX\fR (number)
.RS 4
Highest user ID number for which the lastlog entries should be updated\&. As higher user IDs are usually tracked by remote user identity and authentication services there is no need to create a huge sparse lastlog file for them\&.
@@ -629,7 +641,9 @@ Die Bit\-Gruppe, welche die Rechte von erstellten Dateien bestimmt, wird anf\(:a
\fBuseradd\fR
and
\fBnewusers\fR
use this mask to set the mode of the home directory they create
use this mask to set the mode of the home directory they create if
\fBHOME_MODE\fR
is not set\&.
.sp
It is also used by
\fBlogin\fR

View File

@@ -2,12 +2,12 @@
.\" Title: userdel
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "USERDEL" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "USERDEL" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: usermod
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "USERMOD" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "USERMOD" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -55,11 +55,6 @@ option\&.
Allow names that do not conform to standards\&.
.RE
.PP
\fB\-b\fR, \fB\-\-badnames\fR
.RS 4
Allow names that do not conform to standards\&.
.RE
.PP
\fB\-c\fR, \fB\-\-comment\fR\ \&\fICOMMENT\fR
.RS 4
The new value of the user\*(Aqs password file comment field\&. It is normally modified using the

View File

@@ -2,12 +2,12 @@
.\" Title: vipw
.\" Author: Marek Micha\(/lkiewicz
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01.12.2019
.\" Date: 23.01.2020
.\" Manual: Befehle zur Systemverwaltung
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: German
.\"
.TH "VIPW" "8" "01.12.2019" "shadow\-utils 4\&.8" "Befehle zur Systemverwaltung"
.TH "VIPW" "8" "23.01.2020" "shadow\-utils 4\&.8\&.1" "Befehle zur Systemverwaltung"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: chage
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "CHAGE" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "CHAGE" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: chfn
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "CHFN" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "CHFN" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: chsh
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "CHSH" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "CHSH" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: expiry
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "EXPIRY" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "EXPIRY" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: gpasswd
.\" Author: rafal Maszkowski
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "GPASSWD" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "GPASSWD" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: groups
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "GROUPS" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "GROUPS" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: id
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "ID" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "ID" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: login
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "LOGIN" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "LOGIN" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -403,7 +403,9 @@ Valeur d\*(Aqinitialisation du masque de permissions\&. S\*(Aqil n\*(Aqest pas p
\fBuseradd\fR
and
\fBnewusers\fR
use this mask to set the mode of the home directory they create
use this mask to set the mode of the home directory they create if
\fBHOME_MODE\fR
is not set\&.
.sp
It is also used by
\fBlogin\fR

View File

@@ -1,13 +1,13 @@
'\" t
.\" Title: newgidmap
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Author: Eric Biederman
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "NEWGIDMAP" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "NEWGIDMAP" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: newgrp
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "NEWGRP" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "NEWGRP" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -1,13 +1,13 @@
'\" t
.\" Title: newuidmap
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Author: Eric Biederman
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "NEWUIDMAP" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "NEWUIDMAP" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: passwd
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "PASSWD" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "PASSWD" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: sg
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "SG" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "SG" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: su
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Commandes utilisateur
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "SU" "1" "01/12/2019" "shadow\-utils 4\&.8" "Commandes utilisateur"
.TH "SU" "1" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Commandes utilisateur"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: shadow
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Appels de biblioth\(`eque
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "SHADOW" "3" "01/12/2019" "shadow\-utils 4\&.8" "Appels de biblioth\(`eque"
.TH "SHADOW" "3" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Appels de biblioth\(`eque"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: faillog
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Formats et conversions de fichiers
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "FAILLOG" "5" "01/12/2019" "shadow\-utils 4\&.8" "Formats et conversions de fich"
.TH "FAILLOG" "5" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Formats et conversions de fich"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -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: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Formats et conversions de fichiers
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "GSHADOW" "5" "01/12/2019" "shadow\-utils 4\&.8" "Formats et conversions de fich"
.TH "GSHADOW" "5" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Formats et conversions de fich"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: limits
.\" Author: Luca Berra
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Formats et conversions de fichiers
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "LIMITS" "5" "01/12/2019" "shadow\-utils 4\&.8" "Formats et conversions de fich"
.TH "LIMITS" "5" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Formats et conversions de fich"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: login.access
.\" Author: Marek Micha\(/lkiewicz
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Formats et conversions de fichiers
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "LOGIN\&.ACCESS" "5" "01/12/2019" "shadow\-utils 4\&.8" "Formats et conversions de fich"
.TH "LOGIN\&.ACCESS" "5" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Formats et conversions de fich"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: login.defs
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Formats et conversions de fichiers
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "LOGIN\&.DEFS" "5" "01/12/2019" "shadow\-utils 4\&.8" "Formats et conversions de fich"
.TH "LOGIN\&.DEFS" "5" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Formats et conversions de fich"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -223,6 +223,18 @@ The default value for
\fBGID_MAX\fR) is 1000 (resp\&. 60000)\&.
.RE
.PP
\fBHOME_MODE\fR (number)
.RS 4
The mode for new home directories\&. If not specified, the
\fBUMASK\fR
is used to create the mode\&.
.sp
\fBuseradd\fR
and
\fBnewusers\fR
use this to set the mode of the home directory they create\&.
.RE
.PP
\fBHUSHLOGIN_FILE\fR (string)
.RS 4
Si d\('efinie, le fichier peut d\('esactiver tous les affichages habituels durant la s\('equence de connexion\&. Si un nom de chemin complet est sp\('ecifi\('e, alors le mode taiseux sera activ\('e si le nom ou l\*(Aqinterpr\('eteur de commandes de l\*(Aqutilisateur sont trouv\('es dans le fichier\&. Si ce n\*(Aqest pas un nom de chemin complet, alors le mode taiseux sera activ\('e si le fichier existe dans le r\('epertoire personnel de l\*(Aqutilisateur\&.
@@ -608,7 +620,9 @@ Valeur d\*(Aqinitialisation du masque de permissions\&. S\*(Aqil n\*(Aqest pas p
\fBuseradd\fR
and
\fBnewusers\fR
use this mask to set the mode of the home directory they create
use this mask to set the mode of the home directory they create if
\fBHOME_MODE\fR
is not set\&.
.sp
It is also used by
\fBlogin\fR
@@ -776,7 +790,7 @@ SYSLOG_SG_ENAB
.PP
newusers
.RS 4
ENCRYPT_METHOD GID_MAX GID_MIN MAX_MEMBERS_PER_GROUP MD5_CRYPT_ENAB PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE
ENCRYPT_METHOD GID_MAX GID_MIN MAX_MEMBERS_PER_GROUP MD5_CRYPT_ENAB HOME_MODE PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE
SHA_CRYPT_MAX_ROUNDS SHA_CRYPT_MIN_ROUNDS
SUB_GID_COUNT SUB_GID_MAX SUB_GID_MIN SUB_UID_COUNT SUB_UID_MAX SUB_UID_MIN SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN UMASK
.RE
@@ -818,7 +832,7 @@ ENV_TZ
.PP
useradd
.RS 4
CREATE_HOME GID_MAX GID_MIN LASTLOG_UID_MAX MAIL_DIR MAX_MEMBERS_PER_GROUP PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE SUB_GID_COUNT SUB_GID_MAX SUB_GID_MIN SUB_UID_COUNT SUB_UID_MAX SUB_UID_MIN SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN UMASK
CREATE_HOME GID_MAX GID_MIN HOME_MODE LASTLOG_UID_MAX MAIL_DIR MAX_MEMBERS_PER_GROUP PASS_MAX_DAYS PASS_MIN_DAYS PASS_WARN_AGE SUB_GID_COUNT SUB_GID_MAX SUB_GID_MIN SUB_UID_COUNT SUB_UID_MAX SUB_UID_MIN SYS_GID_MAX SYS_GID_MIN SYS_UID_MAX SYS_UID_MIN UID_MAX UID_MIN UMASK
.RE
.PP
userdel

View File

@@ -2,12 +2,12 @@
.\" Title: passwd
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Formats et conversions de fichiers
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "PASSWD" "5" "01/12/2019" "shadow\-utils 4\&.8" "Formats et conversions de fich"
.TH "PASSWD" "5" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Formats et conversions de fich"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: porttime
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Formats et conversions de fichiers
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "PORTTIME" "5" "01/12/2019" "shadow\-utils 4\&.8" "Formats et conversions de fich"
.TH "PORTTIME" "5" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Formats et conversions de fich"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

View File

@@ -2,12 +2,12 @@
.\" Title: shadow
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 01/12/2019
.\" Date: 23/01/2020
.\" Manual: Formats et conversions de fichiers
.\" Source: shadow-utils 4.8
.\" Source: shadow-utils 4.8.1
.\" Language: French
.\"
.TH "SHADOW" "5" "01/12/2019" "shadow\-utils 4\&.8" "Formats et conversions de fich"
.TH "SHADOW" "5" "23/01/2020" "shadow\-utils 4\&.8\&.1" "Formats et conversions de fich"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------

Some files were not shown because too many files have changed in this diff Show More