[svn-upgrade] Integrating new upstream version, shadow (4.0.11)

This commit is contained in:
nekral-guest
2007-10-07 11:46:34 +00:00
parent 8c50e06102
commit b48129fcbb
153 changed files with 8441 additions and 6643 deletions

View File

@@ -88,8 +88,6 @@ EXTRA_DIST = $(man_MANS) \
id.1.xml \
pw_auth.3 \
pw_auth.3.xml \
shadowconfig.8 \
shadowconfig.8.xml \
sulogin.8 \
sulogin.8.xml \
sulogin.8.xml

View File

@@ -105,10 +105,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@
@@ -271,8 +273,6 @@ EXTRA_DIST = $(man_MANS) \
id.1.xml \
pw_auth.3 \
pw_auth.3.xml \
shadowconfig.8 \
shadowconfig.8.xml \
sulogin.8 \
sulogin.8.xml \
sulogin.8.xml

View File

@@ -95,10 +95,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@

View File

@@ -95,10 +95,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@

View File

@@ -92,10 +92,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@

View File

@@ -95,10 +95,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@

View File

@@ -24,7 +24,7 @@ groupadd \- Create a new group
.ad l
.hy 0
.HP 9
\fBgroupadd\fR [\-g\ \fIgid\fR\ [\-o]] [\-f] \fIgroup\fR
\fBgroupadd\fR [\-g\ \fIgid\fR\ [\-o]] [\-f] [\-K\ \fIKEY\fR=\fIVALUE\fR] \fIgroup\fR
.ad
.hy
@@ -46,6 +46,16 @@ This option causes to just exit with success status if the specified group alrea
\fB\-g\fR \fIgid\fR
The numerical value of the group's ID\&. This value must be unique, unless the \fB\-o\fR option is used\&. The value must be non\-negative\&. The default is to use the smallest ID value greater than 999 and greater than every other group\&. Values between 0 and 999 are typically reserved for system accounts\&.
.TP
\fB\-K \fIKEY\fR=\fIVALUE\fR\fR
Overrides /etc/login\&.defs defaults (GID_MIN, GID_MAX and others)\&. Multiple \fB\-K\fR options can be specified, e\&.g\&.: \fB\-K\fR \fIGID_MIN\fR=\fI100\fR \fB\-K\fR \fIGID_MAX\fR=\fI499\fR
Note: \fB\-K\fR \fIGID_MIN\fR=\fI10\fR,\fIGID_MAX\fR=\fI499\fR doesn't work yet\&.
.TP
\fB\-o\fR
Allow add group wit non\-unique GID\&.
.SH "FILES"
.TP
@@ -81,7 +91,7 @@ can't update group file
.SH "SEE ALSO"
.PP
\fBchfn\fR(1), \fBchsh\fR(1), \fBpasswd\fR(1), \fBgroupdel\fR(8), \fBgroupmod\fR(8), \fBuseradd\fR(8), \fBuserdel\fR(8), \fBusermod\fR(8)
\fBchfn\fR(1), \fBchsh\fR(1), \fBpasswd\fR(1), \fBgpasswd\fR(8), \fBgroupdel\fR(8), \fBgroupmod\fR(8), \fBuseradd\fR(8), \fBuserdel\fR(8), \fBusermod\fR(8)
.SH "AUTHOR"

View File

@@ -2,7 +2,7 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id='groupadd.8'>
<!-- $Id: groupadd.8.xml,v 1.8 2005/06/16 16:18:27 kloczek Exp $ -->
<!-- $Id: groupadd.8.xml,v 1.11 2005/07/07 19:25:36 kloczek Exp $ -->
<refmeta>
<refentrytitle>groupadd</refentrytitle>
<manvolnum>8</manvolnum>
@@ -20,6 +20,7 @@
<arg choice='opt'>-o </arg>
</arg>
<arg choice='opt'>-f </arg>
<arg choice='opt'>-K <replaceable>KEY</replaceable>=<replaceable>VALUE</replaceable></arg>
<arg choice='plain'>
<replaceable>group</replaceable>
</arg>
@@ -68,6 +69,33 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-K <replaceable>KEY</replaceable>=<replaceable>VALUE</replaceable></option>
</term>
<listitem>
<para>
Overrides /etc/login.defs defaults (GID_MIN, GID_MAX and others). Multiple
<option>-K</option> options can be specified, e.g.: <option>-K</option>
<replaceable>GID_MIN</replaceable>=<replaceable>100</replaceable>
<option>-K</option> <replaceable>GID_MAX</replaceable>=<replaceable>499</replaceable>
</para>
<para>
Note: <option>-K</option> <replaceable>GID_MIN</replaceable>=<replaceable>10</replaceable>,<replaceable>GID_MAX</replaceable>=<replaceable>499</replaceable>
doesn't work yet.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-o</option>
</term>
<listitem>
<para>
Allow add group wit non-unique GID.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
@@ -129,6 +157,9 @@
<citerefentry>
<refentrytitle>passwd</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>gpasswd</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>groupdel</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,

View File

@@ -34,7 +34,7 @@ groupdel \- Delete a group
The \fBgroupdel\fR command modifies the system account files, deleting all entries that refer to \fIgroup\fR\&. The named group must exist\&.
.PP
You must manually check all filesystems to insure that no files remain with the named group as the file group ID\&.
You must manually check all file systems to insure that no files remain with the named group as the file group ID\&.
.SH "CAVEATS"
@@ -70,7 +70,7 @@ can't update group file
.SH "SEE ALSO"
.PP
\fBchfn\fR(1), \fBchsh\fR(1), \fBpasswd\fR(1), \fBgroupadd\fR(8), \fBgroupmod\fR(8), \fBuseradd\fR(8), \fBuserdel\fR(8), \fBusermod\fR(8)
\fBchfn\fR(1), \fBchsh\fR(1), \fBpasswd\fR(1), \fBgpasswd\fR(8), \fBgroupadd\fR(8), \fBgroupmod\fR(8), \fBuseradd\fR(8), \fBuserdel\fR(8), \fBusermod\fR(8)
.SH "AUTHOR"

View File

@@ -2,7 +2,7 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id='groupdel.8'>
<!-- $Id: groupdel.8.xml,v 1.7 2005/06/16 16:26:19 kloczek Exp $ -->
<!-- $Id: groupdel.8.xml,v 1.9 2005/07/10 20:00:21 kloczek Exp $ -->
<refmeta>
<refentrytitle>groupdel</refentrytitle>
<manvolnum>8</manvolnum>
@@ -28,7 +28,7 @@
remap='I'>group</emphasis>. The named group must exist.
</para>
<para>You must manually check all filesystems to insure that no files
<para>You must manually check all file systems to insure that no files
remain with the named group as the file group ID.
</para>
</refsect1>
@@ -90,6 +90,9 @@
<citerefentry>
<refentrytitle>passwd</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>gpasswd</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>groupadd</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,

View File

@@ -84,7 +84,7 @@ can't update group file
.SH "SEE ALSO"
.PP
\fBchfn\fR(1), \fBchsh\fR(1), \fBpasswd\fR(1), \fBgroupadd\fR(8), \fBgroupdel\fR(8), \fBuseradd\fR(8), \fBuserdel\fR(8), \fBusermod\fR(8)
\fBchfn\fR(1), \fBchsh\fR(1), \fBpasswd\fR(1), \fBgpasswd\fR(8), \fBgroupadd\fR(8), \fBgroupdel\fR(8), \fBuseradd\fR(8), \fBuserdel\fR(8), \fBusermod\fR(8)
.SH "AUTHOR"

View File

@@ -2,7 +2,7 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id='groupmod.8'>
<!-- $Id: groupmod.8.xml,v 1.7 2005/06/16 16:26:19 kloczek Exp $ -->
<!-- $Id: groupmod.8.xml,v 1.8 2005/06/30 19:26:08 kloczek Exp $ -->
<refmeta>
<refentrytitle>groupmod</refentrytitle>
<manvolnum>8</manvolnum>
@@ -126,6 +126,9 @@
<citerefentry>
<refentrytitle>passwd</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>gpasswd</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>groupadd</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,

View File

@@ -92,10 +92,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@

View File

@@ -93,10 +93,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@

View File

@@ -4,7 +4,6 @@ mandir = @mandir@/it
# Links to missing pages:
# grpconv.8 \
# grpunconv.8 \
# pwunconv.8 \
man_MANS = \
chage.1 \
chfn.1 \
@@ -14,20 +13,31 @@ man_MANS = \
faillog.5 \
faillog.8 \
getspnam.3 \
gpasswd.1 \
groupadd.8 \
groupdel.8 \
groupmod.8 \
groups.1 \
grpck.8 \
grpconv.8 \
grpunconv.8 \
id.1 \
lastlog.8 \
login.1 \
logoutd.8 \
newgrp.1 \
passwd.1 \
passwd.5 \
porttime.5 \
pwck.8 \
pwconv.8 \
pwunconv.8 \
sg.1 \
shadow.3 \
shadow.5 \
shadowconfig.8 \
su.1 \
useradd.8 \
userdel.8 \
usermod.8 \
vigr.8 \
vipw.8

View File

@@ -88,10 +88,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@
@@ -169,7 +171,6 @@ target_alias = @target_alias@
# Links to missing pages:
# grpconv.8 \
# grpunconv.8 \
# pwunconv.8 \
#man_MANS = \
# chage.1 \
# chfn.1 \
@@ -179,20 +180,31 @@ target_alias = @target_alias@
# faillog.5 \
# faillog.8 \
# getspnam.3 \
# gpasswd.1 \
# groupadd.8 \
# groupdel.8 \
# groupmod.8 \
# groups.1 \
# grpck.8 \
# grpconv.8 \
# grpunconv.8 \
# id.1 \
# lastlog.8 \
# login.1 \
# logoutd.8 \
# newgrp.1 \
# passwd.1 \
# passwd.5 \
# porttime.5 \
# pwck.8 \
# pwconv.8 \
# pwunconv.8 \
# sg.1 \
# shadow.3 \
# shadow.5 \
# shadowconfig.8 \
# su.1 \
# useradd.8 \
# userdel.8 \
# usermod.8 \
# vigr.8 \
# vipw.8
EXTRA_DIST = $(man_MANS)

View File

@@ -45,5 +45,4 @@ EXTRA_DIST = $(man_MANS) \
id.1 \
pw_auth.3 \
shadow.3 \
shadowconfig.8 \
sulogin.8

View File

@@ -95,10 +95,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@
@@ -216,7 +218,6 @@ EXTRA_DIST = $(man_MANS) \
id.1 \
pw_auth.3 \
shadow.3 \
shadowconfig.8 \
sulogin.8
all: all-am

View File

@@ -1,31 +0,0 @@
.\"$Id: shadowconfig.8,v 1.4 2003/04/28 02:14:00 kloczek Exp $
.\"
.\" Japanese Version Copyright (c) 2001 Maki KURODA
.\" all right reserved,
.\" Translated Tue Oct 30 11:59:11 JST 2001
.\" by Maki KURODA <mkuroda@aisys-jp.com>
.\" Modified Sun 22 Sep 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\"
.TH SHADOWCONFIG 8 "19 Apr 1997" "Debian GNU/Linux"
.SH ̾<EFBFBD><EFBFBD>
shadowconfig \- shadow <20>ѥ<EFBFBD><D1A5><EFBFBD>ɤ<EFBFBD>ͭ<EFBFBD><CDAD><EFBFBD><EFBFBD>̵<EFBFBD><CCB5><EFBFBD>ˤ<EFBFBD><CBA4><EFBFBD>
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
.B "shadowconfig"
.IR on " | " off
.SH <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
.B shadowconfig on
<EFBFBD><EFBFBD> shadow <20>ѥ<EFBFBD><D1A5><EFBFBD>ɤ<EFBFBD>ͭ<EFBFBD><CDAD><EFBFBD>ˤ<EFBFBD><CBA4>
.B shadowconfig off
<EFBFBD><EFBFBD> shadow <20>ѥ<EFBFBD><D1A5><EFBFBD>ɤ<EFBFBD>̵<EFBFBD><CCB5><EFBFBD>ˤ<EFBFBD><CBA4>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ְ㤤<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȡ<EFBFBD>
.B shadowconfig
<EFBFBD>ϥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>å<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD>ͤ<EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>Τ<EFBFBD>ʤ<EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ä<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϡ<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƺ<EFBFBD><EFBFBD>ټ¹Ԥ<EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Фʤ<EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD>
shadow <20>ѥ<EFBFBD><D1A5><EFBFBD>ɤ<EFBFBD><C9A4><EFBFBD><EFBFBD>Ǥ<EFBFBD>ͭ<EFBFBD><CDAD><EFBFBD>ˤʤäƤ<C3A4><C6A4><EFBFBD><EFBFBD>Ȥ<EFBFBD><C8A4>˺<EFBFBD><CBBA><EFBFBD>ͭ<EFBFBD><CDAD><EFBFBD>ˤ<EFBFBD><CBA4><EFBFBD><EFBFBD>
̵<EFBFBD><EFBFBD><EFBFBD>ˤʤäƤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD>˺<EFBFBD><EFBFBD><EFBFBD>̵<EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD><EFBFBD>Ƥ⡢<EFBFBD><EFBFBD><EFBFBD>αƶ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD><EFBFBD>
\fI/usr/share/doc/passwd/README.debian.gz\fR
<EFBFBD>ˤ<EFBFBD> shadow <20>ѥ<EFBFBD><D1A5><EFBFBD>ɤ<EFBFBD><C9A4><EFBFBD>Ϣ<EFBFBD><CFA2>ǽ<EFBFBD>˴ؤ<CBB4><D8A4><EFBFBD>
<EFBFBD><EFBFBD>ñ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>񤫤<EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>

View File

@@ -93,10 +93,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@

View File

@@ -56,6 +56,11 @@ The \fB\-t\fR flag overrides the use of \fB\-u\fR\&.
.PP
If the user has never logged in the message \fI **Never logged in**\fR will be displayed instead of the port and time\&.
.SH "NOTE"
.PP
The \fBlastlog\fR file is a database which contains info on the last login of each user\&. You should not rotate it\&. It is a sparse file, so its size on the disk is much smaller than the one shown by \fBls \-l\fR (which can indicate a really big file if you have an high UID)\&. You can display its real size with \fBls \-s\fR\&.
.SH "FILES"
.TP

View File

@@ -2,7 +2,7 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id='lastlog.8'>
<!-- $Id: lastlog.8.xml,v 1.6 2005/06/14 16:54:20 kloczek Exp $ -->
<!-- $Id: lastlog.8.xml,v 1.7 2005/07/11 16:33:21 kloczek Exp $ -->
<refmeta>
<refentrytitle>lastlog</refentrytitle>
<manvolnum>8</manvolnum>
@@ -92,6 +92,18 @@
</para>
</refsect1>
<refsect1 id='note'>
<title>NOTE</title>
<para>
The <command>lastlog</command> file is a database which contains info
on the last login of each user. You should not rotate it. It is a sparse
file, so its size on the disk is much smaller than the one shown by
<command>ls -l</command> (which can indicate a really big file if
you have an high UID). You can display its real size with
<command>ls -s</command>.
</para>
</refsect1>
<refsect1 id='files'>
<title>FILES</title>
<variablelist>

View File

@@ -66,6 +66,9 @@ An initialization script for your command interpreter may also be executed\&. Pl
.PP
A subsystem login is indicated by the presence of a "*" as the first character of the login shell\&. The given home directory will be used as the root of a new file system which the user is actually logged into\&.
.PP
The \fBlogin\fR program is NOT responsible for removing users from the utmp file\&. It is the responsibility of getty(8) and init(8) to clean up apparent ownership of a terminal session\&. If you use \fBlogin\fR from the shell prompt without \fBexec\fR, the user you use will continue to appear to be logged in even after you log out of the "subsession"\&.
.SH "OPTIONS"
.TP

View File

@@ -2,7 +2,7 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id='login.1'>
<!-- $Id: login.1.xml,v 1.9 2005/06/15 12:39:27 kloczek Exp $ -->
<!-- $Id: login.1.xml,v 1.10 2005/07/10 20:10:09 kloczek Exp $ -->
<refmeta>
<refentrytitle>LOGIN</refentrytitle>
<manvolnum>1</manvolnum>
@@ -96,6 +96,17 @@
used as the root of a new file system which the user is actually
logged into.
</para>
<para>The <command>login</command> program is NOT responsible for
removing users from the utmp file. It is the responsibility of
<refentrytitle>getty</refentrytitle><manvolnum>8</manvolnum> and
<refentrytitle>init</refentrytitle><manvolnum>8</manvolnum> to clean
up apparent ownership of a terminal session. If you use
<command>login</command> from the shell prompt without
<command>exec</command>, the user you use will continue to appear to
be logged in even after you log out of the "subsession".
</para>
</refsect1>
<refsect1 id='options'>

View File

@@ -45,5 +45,4 @@ EXTRA_DIST = $(man_MANS) \
id.1 \
pw_auth.3 \
shadow.3 \
shadowconfig.8 \
sulogin.8

View File

@@ -95,10 +95,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@
@@ -216,7 +218,6 @@ EXTRA_DIST = $(man_MANS) \
id.1 \
pw_auth.3 \
shadow.3 \
shadowconfig.8 \
sulogin.8
all: all-am

View File

@@ -1,26 +0,0 @@
.\" $Id: shadowconfig.8,v 1.4 2005/04/05 18:47:51 kloczek Exp $
.TH SHADOWCONFIG 8 "19 kwietnia 1997" "Debian GNU/Linux"
.SH NAZWA
shadowconfig \- prze<7A><65>cza ochron<6F> hase<73> i grup przez pliki shadow
.SH SK<EFBFBD>ADNIA
.B "shadowconfig"
.IR on " | " off
.SH OPIS
.PP
.B shadowconfig on
w<EFBFBD><EFBFBD>cza ochron<6F> hase<73> i grup przez dodatkowe, przes<65>aniane pliki (shadow);
.B shadowconfig off
wy<EFBFBD><EFBFBD>cza dodatkowe pliki hase<73> i grup.
.B shadowconfig
wy<EFBFBD>wietla komunikat o b<><62>dzie i ko<6B>czy prac<61> z niezerowym kodem je<6A>li
znajdzie co<63> nieprawid<69>owego. W takim wypadku powiniene<6E> poprawi<77> b<><62>d
.\" if it finds anything awry.
i uruchomi<6D> program ponownie.
W<EFBFBD><EFBFBD>czenie ochrony hase<73>, gdy jest ona ju<6A> w<><77>czona lub jej wy<77><79>czenie,
gdy jest wy<77><79>czona jest nieszkodliwe.
Przeczytaj
.IR /usr/share/doc/passwd/README.debian.gz ,
gdzie znajdziesz kr<6B>tkie wprowadzenie do ochrony hase<73> z u<>yciem dodatkowych
plik<EFBFBD>w hase<73> przes<65>anianych (shadow passwords) i zwi<77>zanych temat<61>w.

View File

@@ -95,10 +95,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@

View File

@@ -24,7 +24,13 @@ pwck \- verify integrity of password files
.ad l
.hy 0
.HP 5
\fBpwck\fR [\-sr] [\fIpasswd\fR\ \fIshadow\fR]
\fBpwck\fR [\-q] [\-s] [\fIpasswd\fR\ \fIshadow\fR]
.ad
.hy
.ad l
.hy 0
.HP 5
\fBpwck\fR [\-r] [\fIpasswd\fR\ \fIshadow\fR]
.ad
.hy
@@ -65,7 +71,22 @@ The commands which operate on the \fI/etc/passwd\fR file are not able to alter c
.SH "OPTIONS"
.PP
By default, \fBpwck\fR operates on the files \fI/etc/passwd\fR and \fI/etc/shadow\fR\&. The user may select alternate files with the \fIpasswd\fR and \fIshadow\fR parameters\&. Additionally, the user may execute the command in read\-only mode by specifying the \fB\-r\fR flag\&. This causes all questions regarding changes to be answered \fIno\fR without user intervention\&. \fBpwck\fR can also sort entries in \fI/etc/passwd\fR and \fI/etc/shadow\fR by UID\&. To run it in sort mode pass it \fB\-s\fR flag\&. No checks are performed then, it just sorts\&.
The options which apply to the \fBpwck\fR command are:
.TP
\fB\-q\fR
Report errors only\&. Using this option will not require an action from the user\&.
.TP
\fB\-r\fR
Execute the \fBpwck\fR command in read\-only mode\&.
.TP
\fB\-s\fR
Sort entries in \fI/etc/passwd\fR and \fI/etc/shadow\fR by UID\&.
.PP
By default, \fBpwck\fR operates on the files \fI/etc/passwd\fR and \fI/etc/shadow\fR\&. The user may select alternate files with the \fIpasswd\fR and \fIshadow\fR parameters\&.
.SH "FILES"

View File

@@ -2,7 +2,7 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id='pwck.8'>
<!-- $Id: pwck.8.xml,v 1.8 2005/06/16 20:09:08 kloczek Exp $ -->
<!-- $Id: pwck.8.xml,v 1.9 2005/07/12 16:28:14 kloczek Exp $ -->
<refmeta>
<refentrytitle>pwck</refentrytitle>
<manvolnum>8</manvolnum>
@@ -15,7 +15,20 @@
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
<command>pwck</command>
<arg choice='opt'>-sr </arg>
<arg choice='opt'>-q </arg>
<arg choice='opt'>-s </arg>
<arg choice='opt'>
<arg choice='plain'>
<replaceable>passwd</replaceable>
</arg>
<arg choice='plain'>
<replaceable>shadow</replaceable>
</arg>
</arg>
</cmdsynopsis>
<cmdsynopsis>
<command>pwck</command>
<arg choice='opt'>-r </arg>
<arg choice='opt'>
<arg choice='plain'>
<replaceable>passwd</replaceable>
@@ -78,19 +91,50 @@
<refsect1 id='options'>
<title>OPTIONS</title>
<para>
The options which apply to the <command>pwck</command> command are:
</para>
<variablelist remap='IP'>
<varlistentry>
<term>
<option>-q</option>
</term>
<listitem>
<para>
Report errors only. Using this option will not require an action
from the user.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-r</option>
</term>
<listitem>
<para>
Execute the <command>pwck</command> command in read-only mode.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-s</option>
</term>
<listitem>
<para>
Sort entries in <filename>/etc/passwd</filename> and
<filename>/etc/shadow</filename> by UID.
</para>
</listitem>
</varlistentry>
</variablelist>
<para>
By default, <command>pwck</command> operates on the files
<filename>/etc/passwd</filename> and <filename>/etc/shadow</filename>.
The user may select alternate files with the <emphasis
remap='I'>passwd</emphasis> and <emphasis remap='I'>shadow</emphasis>
parameters. Additionally, the user may execute the command in
read-only mode by specifying the <option>-r</option> flag. This causes
all questions regarding changes to be answered <emphasis
remap='B'>no</emphasis> without user intervention.
<command>pwck</command> can also sort entries in
<filename>/etc/passwd</filename> and <filename>/etc/shadow</filename>
by UID. To run it in sort mode pass it <option>-s</option> flag. No
checks are performed then, it just sorts.
parameters.
</para>
</refsect1>

View File

@@ -92,10 +92,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@

View File

@@ -1,41 +0,0 @@
.\"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH "SHADOWCONFIG" 8 "19 Apr 1997" "" ""
.SH NAME
shadowconfig \- toggle shadow passwords on and off
.SH "SYNOPSIS"
.ad l
.hy 0
.HP 13
\fBshadowconfig\fR \fB\fIon\fR\fR | \fB\fIoff\fR\fR
.ad
.hy
.SH "DESCRIPTION"
.PP
\fBshadowconfig\fR on will turn shadow passwords on; \fIshadowconfig off\fR will turn shadow passwords off\&. \fBshadowconfig\fR will print an error message and exit with a nonzero code if it finds anything awry\&. If that happens, you should correct the error and run it again\&. Turning shadow passwords on when they are already on, or off when they are already off, is harmless\&.
.PP
Read \fI/usr/share/doc/passwd/README\&.debian\fR for a brief introduction to shadow passwords and related features\&.
.PP
Note that turning shadow passwords off and on again will lose all password aging information\&.

View File

@@ -1,52 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id='shadowconfig.8'>
<!-- $Id: shadowconfig.8.xml,v 1.6 2005/06/15 12:39:27 kloczek Exp $ -->
<refentryinfo>
<date>19 Apr 1997</date>
</refentryinfo>
<refmeta>
<refentrytitle>shadowconfig</refentrytitle>
<manvolnum>8</manvolnum>
<refmiscinfo class='date'>19 Apr 1997</refmiscinfo>
<refmiscinfo class='source'>Debian GNU/Linux</refmiscinfo>
</refmeta>
<refnamediv id='name'>
<refname>shadowconfig</refname>
<refpurpose>toggle shadow passwords on and off</refpurpose>
</refnamediv>
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
<command>shadowconfig</command>
<group choice='plain'>
<arg choice='plain'><replaceable>on</replaceable></arg>
<arg choice='plain'><replaceable>off</replaceable></arg>
</group>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1 id='description'>
<title>DESCRIPTION</title>
<para><command>shadowconfig</command> on will turn shadow passwords on;
<emphasis remap='B'>shadowconfig off</emphasis> will turn shadow
passwords off. <command>shadowconfig</command> will print an error
message and exit with a nonzero code if it finds anything awry. If
that happens, you should correct the error and run it again. Turning
shadow passwords on when they are already on, or off when they are
already off, is harmless.
</para>
<para>
Read <filename>/usr/share/doc/passwd/README.debian</filename> for a
brief introduction
to shadow passwords and related features.
</para>
<para>Note that turning shadow passwords off and on again will lose all
password
aging information.
</para>
</refsect1>
</refentry>

View File

@@ -43,7 +43,7 @@ The user will be prompted for a password, if appropriate\&. Invalid passwords wi
The current environment is passed to the new shell\&. The value of \fI$PATH\fR is reset to \fI/bin:/usr/bin\fR for normal users, or \fI/sbin:/bin:/usr/sbin:/usr/bin\fR for the super user\&. This may be changed with the \fIENV_PATH\fR and \fIENV_SUPATH\fR definitions in \fI/etc/login\&.defs\fR\&.
.PP
A subsystem login is indicated by the presense of a "*" as the first character of the login shell\&. The given home directory will be used as the root of a new filesystem which the user is actually logged into\&.
A subsystem login is indicated by the presence of a "*" as the first character of the login shell\&. The given home directory will be used as the root of a new file system which the user is actually logged into\&.
.SH "CAVEATS"

View File

@@ -2,7 +2,7 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id='su.1'>
<!-- $Id: su.1.xml,v 1.9 2005/06/15 12:39:27 kloczek Exp $ -->
<!-- $Id: su.1.xml,v 1.10 2005/07/10 20:00:21 kloczek Exp $ -->
<refmeta>
<refentrytitle>su</refentrytitle>
<manvolnum>1</manvolnum>
@@ -58,9 +58,9 @@
<filename>/etc/login.defs</filename>.
</para>
<para>A subsystem login is indicated by the presense of a "*" as the
<para>A subsystem login is indicated by the presence of a "*" as the
first character of the login shell. The given home directory will be
used as the root of a new filesystem which the user is actually logged
used as the root of a new file system which the user is actually logged
into.
</para>
</refsect1>

View File

@@ -24,15 +24,19 @@ useradd \- Create a new user or update default new user information
.ad l
.hy 0
.HP 8
\fBuseradd\fR [\-c\ \fIcomment\fR] [\-d\ \fIhome_dir\fR] [\-e\ \fIexpire_date\fR] [\-f\ \fIinactive_days\fR]
.br
[\-g\ \fIinitial_group\fR] [\-G\ \fIgroup1\fR\ [\fI,group2,\fR...\ \fI,\fR\ [\fIgroupN\fR]]]
.br
[[\-M]\ \-m\ [\-k\ \fIskeleton_dir\fR]] [\-o] [\-p\ \fIpasswd\fR] [\-s\ \fIshell\fR]
.br
[\-u\ \fIuid\fR] \fIlogin\fR \fIuseradd\fR \-D [\-g\ \fIgroup\fR] [\-b\ \fIhome_dir\fR] [\-e\ \fIexpire_date\fR]
.br
[\-f\ \fIinactive_days\fR] [\-s\ \fIshell\fR]
\fBuseradd\fR [\fIoptions\fR] \fILOGIN\fR
.ad
.hy
.ad l
.hy 0
.HP 8
\fBuseradd\fR \-D
.ad
.hy
.ad l
.hy 0
.HP 8
\fBuseradd\fR \-D [\fIoptions\fR]
.ad
.hy
@@ -49,51 +53,61 @@ When invoked without the \fB\-D\fR option, the \fBuseradd\fR command creates a n
The options which apply to the \fBuseradd\fR command are:
.TP
\fB\-c\fR \fIcomment\fR
The new user's password file comment field\&.
\fB\-c\fR, \fB\-\-comment\fR \fICOMMENT\fR
Any text string\&. It is generally a short description of the login, and is currently used as the field for the user's full name\&.
.TP
\fB\-d\fR \fIhome_dir\fR
The new user will be created using \fI home_dir \fRas the value for the user's login directory\&. The default is to append the \fIlogin\fR name to \fIhome\fR and use that as the login directory name\&.
\fB\-b\fR, \fB\-\-base\-dir\fR \fIBASE_DIR\fR
The default base directory for the system if \fB\-d\fR dir is not specified\&. \fIBASE_DIR\fR is concatenated with the account name to define the home directory\&. If the \fB\-m\fR option is not used, base_dir must exist\&.
.TP
\fB\-e\fR \fIexpire_date\fR
\fB\-d\fR, \fB\-\-home\fR \fIHOME_DIR\fR
The new user will be created using \fIHOME_DIR\fR as the value for the user's login directory\&. The default is to append the \fILOGIN\fR name to \fIBASE_DIR\fR and use that as the login directory name\&.
.TP
\fB\-e\fR, \fB\-\-expiredate\fR \fIEXPIRE_DATE\fR
The date on which the user account will be disabled\&. The date is specified in the format \fIYYYY\-MM\-DD\fR\&.
.TP
\fB\-f\fR \fIinactive_days\fR
\fB\-f\fR, \fB\-\-inactive\fR \fIINACTIVE\fR
The number of days after a password expires until the account is permanently disabled\&. A value of 0 disables the account as soon as the password has expired, and a value of \-1 disables the feature\&. The default value is \-1\&.
.TP
\fB\-g\fR \fIinitial_group\fR
\fB\-g\fR, \fB\-\-gid\fR \fIGROUP\fR
The group name or number of the user's initial login group\&. The group name must exist\&. A group number must refer to an already existing group\&. The default group number is 1 or whatever is specified in \fI/etc/default/useradd\fR\&.
.TP
\fB\-G\fR \fIgroup1\fR[\fI ,group2,\&.\&.\&., \fR [\fIgroupN\fR]]]
\fB\-G\fR, \fB\-\-groups\fR \fIGROUP1\fR[\fI,GROUP2,\&.\&.\&.\fR[\fI,GROUPN\fR]]]
A list of supplementary groups which the user is also a member of\&. Each group is separated from the next by a comma, with no intervening whitespace\&. The groups are subject to the same restrictions as the group given with the \fB\-g\fR option\&. The default is for the user to belong only to the initial group\&.
.TP
\fB\-M\fR
RedHat added the CREATE_HOME option in login\&.defs in their version of shadow\-utils (which makes \-m the default, with new \-M option to turn it off)\&. Unfortunately, this changes the way useradd works (it can be run by scripts expecting some standard behaviour), compared to other Unices and other Linux distributions, and also adds a lot of confusion\&.
\fB\-h\fR, \fB\-\-help\fR
Display help message and exit\&.
.TP
\fB\-m\fR
\fB\-m\fR, \fB\-\-create\-home\fR
The user's home directory will be created if it does not exist\&. The files contained in \fIskeleton_dir\fR will be copied to the home directory if the \fB\-k\fR option is used, otherwise the files contained in \fI/etc/skel\fR will be used instead\&. Any directories contained in \fI skeleton_dir\fR or \fI/etc/skel\fR will be created in the user's home directory as well\&. The \fB\-k\fR option is only valid in conjunction with the \fB\-m\fR option\&. The default is to not create the directory and to not copy any files\&.
.TP
\fB\-o\fR
Allow create user with duplicate (non\-unique) UID\&.
\fB\-K\fR, \fB\-\-key\fR \fIKEY\fR=\fIVALUE\fR
Overrides /etc/login\&.defs defaults (UID_MIN, UID_MAX, UMASK, PASS_MAX_DAYS and others)\&. For example: \fB\-K\fR \fIPASS_MAX_DAYS\fR=\fI\-1\fR can be used when creating system account to turn off password ageing, even though system account has no password at all\&. Multiple \fB\-K\fR options can be specified, e\&.g\&.: \fB\-K\fR \fIUID_MIN\fR=\fI100\fR \fB\-K\fR \fIUID_MAX\fR=\fI499\fR
Note: \fB\-K\fR \fIUID_MIN\fR=\fI10\fR,\fIUID_MAX\fR=\fI499\fR doesn't work yet\&.
.TP
\fB\-p\fR \fIpasswd\fR
\fB\-o\fR, \fB\-\-non\-unique\fR
Allow create user account with duplicate (non\-unique) UID\&.
.TP
\fB\-p\fR, \fB\-\-password\fR \fIPASSWORD\fR
The encrypted password, as returned by \fBcrypt\fR(3)\&. The default is to disable the account\&.
.TP
\fB\-s\fR \fIshell\fR
\fB\-s\fR, \fB\-\-shell\fR \fISHELL\fR
The name of the user's login shell\&. The default is to leave this field blank, which causes the system to select the default login shell\&.
.TP
\fB\-u\fR \fIuid\fR
\fB\-u\fR, \fB\-\-uid\fR \fIUID\fR
The numerical value of the user's ID\&. This value must be unique, unless the \fB\-o\fR option is used\&. The value must be non\-negative\&. The default is to use the smallest ID value greater than 999 and greater than every other user\&. Values between 0 and 999 are typically reserved for system accounts\&.
.SS "Changing the default values"
@@ -114,11 +128,11 @@ The date on which the user account is disabled\&.
The number of days after a password has expired before the account will be disabled\&.
.TP
\fB\-g\fR \fIgroup\fR
\fB\-g\fR, \fB\-\-gid\fR \fIGROUP\fR
The group name or ID for a new user's initial group\&. The named group must exist, and a numerical group ID must have an existing entry \&.
.TP
\fB\-s\fR \fIshell\fR
\fB\-s\fR, \fB\-\-shell\fR \fISHELL\fR
The name of the new user's login shell\&. The named program will be used for all future new user accounts\&.
.PP

View File

@@ -2,7 +2,7 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id='useradd.8'>
<!-- $Id: useradd.8.xml,v 1.8 2005/06/16 18:58:43 kloczek Exp $ -->
<!-- $Id: useradd.8.xml,v 1.13 2005/07/10 17:17:38 kloczek Exp $ -->
<refmeta>
<refentrytitle>useradd</refentrytitle>
<manvolnum>8</manvolnum>
@@ -14,45 +14,21 @@
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
<command>useradd</command>
<arg choice='opt'>-c <replaceable>comment</replaceable></arg>
<arg choice='opt'>-d <replaceable>home_dir</replaceable></arg>
<arg choice='opt'>-e <replaceable>expire_date</replaceable></arg>
<arg choice='opt'>-f <replaceable>inactive_days</replaceable></arg>
<sbr/>
<arg choice='opt'>-g <replaceable>initial_group</replaceable></arg>
<arg choice='opt'>
<arg choice='plain'>-G <replaceable>group1</replaceable></arg>
<arg choice='opt'>
<arg choice='plain' rep='repeat'>
<replaceable>,group2,</replaceable>
</arg>
<arg choice='plain'>
<replaceable>,</replaceable>
</arg>
<arg choice='opt'>
<replaceable>groupN</replaceable>
</arg>
</arg>
<replaceable>options</replaceable>
</arg>
<sbr/>
<arg choice='opt'>
<arg choice='opt'>-M </arg><arg choice='plain'>-m </arg>
<arg choice='opt'>-k <replaceable>skeleton_dir</replaceable></arg>
</arg>
<arg choice='opt'>-o </arg>
<arg choice='opt'>-p <replaceable>passwd</replaceable></arg>
<arg choice='opt'>-s <replaceable>shell</replaceable></arg>
<sbr/>
<arg choice='opt'>-u <replaceable>uid</replaceable></arg>
<arg choice='plain'><replaceable>login</replaceable></arg>
<arg choice='plain'><replaceable>useradd</replaceable></arg>
<arg choice='plain'><replaceable>LOGIN</replaceable></arg>
</cmdsynopsis>
<cmdsynopsis>
<command>useradd</command>
<arg choice='plain'>-D </arg>
<arg choice='opt'>-g <replaceable>group</replaceable></arg>
<arg choice='opt'>-b <replaceable>home_dir</replaceable></arg>
<arg choice='opt'>-e <replaceable>expire_date</replaceable></arg>
<sbr/>
<arg choice='opt'>-f <replaceable>inactive_days</replaceable></arg>
<arg choice='opt'>-s <replaceable>shell</replaceable></arg>
</cmdsynopsis>
<cmdsynopsis>
<command>useradd</command>
<arg choice='plain'>-D </arg>
<arg choice='opt'>
<replaceable>options</replaceable>
</arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -78,29 +54,49 @@
<variablelist remap='IP'>
<varlistentry>
<term>
<option>-c</option> <replaceable>comment</replaceable>
<option>-c</option>, <option>--comment</option>
<replaceable>COMMENT</replaceable>
</term>
<listitem>
<para>The new user's password file comment field.</para>
<para>
Any text string. It is generally a short description of the
login, and is currently used as the field for the user's full
name.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-d</option> <replaceable>home_dir</replaceable>
<option>-b</option>, <option>--base-dir</option>
<replaceable>BASE_DIR</replaceable>
</term>
<listitem>
<para>The default base directory for the system if
<option>-d</option> dir is not specified.
<replaceable>BASE_DIR</replaceable> is concatenated with the
account name to define the home directory. If the
<option>-m</option> option is not used, base_dir must exist.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-d</option>, <option>--home</option>
<replaceable>HOME_DIR</replaceable>
</term>
<listitem>
<para>
The new user will be created using <emphasis remap='I'> home_dir
</emphasis>as the value for the user's login directory. The
default is to append the <emphasis remap='I'>login</emphasis>
name to <emphasis remap='I'>home</emphasis> and use that as the
login directory name.
The new user will be created using <emphasis remap='I'>HOME_DIR</emphasis>
as the value for the user's login directory. The default is to append
the <emphasis remap='I'>LOGIN</emphasis> name to
<emphasis remap='I'>BASE_DIR</emphasis> and use that as the login directory name.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-e</option> <replaceable>expire_date</replaceable>
<option>-e</option>, <option>--expiredate</option>
<replaceable>EXPIRE_DATE</replaceable>
</term>
<listitem>
<para>The date on which the user account will be disabled. The
@@ -111,7 +107,8 @@
</varlistentry>
<varlistentry>
<term>
<option>-f</option> <replaceable>inactive_days</replaceable>
<option>-f</option>, <option>--inactive</option>
<replaceable>INACTIVE</replaceable>
</term>
<listitem>
<para>The number of days after a password expires until the
@@ -123,7 +120,8 @@
</varlistentry>
<varlistentry>
<term>
<option>-g</option> <replaceable>initial_group</replaceable>
<option>-g</option>, <option>--gid</option>
<replaceable>GROUP</replaceable>
</term>
<listitem>
<para>The group name or number of the user's initial login group.
@@ -136,10 +134,8 @@
</varlistentry>
<varlistentry>
<term>
<option>-G</option> <replaceable>group1</replaceable>[<emphasis remap='I'>
,group2,...,
</emphasis>
[<emphasis remap='I'>groupN</emphasis>]]]
<option>-G</option>, <option>--groups</option>
<replaceable>GROUP1</replaceable>[<emphasis remap='I'>,GROUP2,...</emphasis>[<emphasis remap='I'>,GROUPN</emphasis>]]]
</term>
<listitem>
<para>A list of supplementary groups which the user is also a
@@ -152,22 +148,14 @@
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-M</option>
</term>
<listitem>
<para>RedHat added the CREATE_HOME option in login.defs in their
version of shadow-utils (which makes -m the default, with new -M
option to turn it off). Unfortunately, this changes the way
useradd works (it can be run by scripts expecting some standard
behaviour), compared to other Unices and other Linux
distributions, and also adds a lot of confusion.
</para>
</listitem>
<term><option>-h</option>, <option>--help</option></term>
<listitem>
<para>Display help message and exit.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-m</option>
<option>-m</option>, <option>--create-home</option>
</term>
<listitem>
<para>The user's home directory will be created if it does not
@@ -186,27 +174,52 @@
</varlistentry>
<varlistentry>
<term>
<option>-o</option>
<option>-K</option>, <option>--key</option>
<replaceable>KEY</replaceable>=<replaceable>VALUE</replaceable>
</term>
<listitem>
<para>Allow create user with duplicate (non-unique) UID.</para>
<para>
Overrides /etc/login.defs defaults (UID_MIN, UID_MAX, UMASK, PASS_MAX_DAYS and
others). For example: <option>-K</option>
<replaceable>PASS_MAX_DAYS</replaceable>=<replaceable>-1</replaceable> can be
used when creating system account to turn off password ageing, even though
system account has no password at all. Multiple <option>-K</option> options can
be specified, e.g.: <option>-K</option>
<replaceable>UID_MIN</replaceable>=<replaceable>100</replaceable>
<option>-K</option> <replaceable>UID_MAX</replaceable>=<replaceable>499</replaceable>
</para>
<para>
Note: <option>-K</option>
<replaceable>UID_MIN</replaceable>=<replaceable>10</replaceable>,<replaceable>UID_MAX</replaceable>=<replaceable>499</replaceable>
doesn't work yet.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-p</option> <replaceable>passwd</replaceable>
<option>-o</option>, <option>--non-unique</option>
</term>
<listitem>
<para>Allow create user account with duplicate (non-unique) UID.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-p</option>, <option>--password</option>
<replaceable>PASSWORD</replaceable>
</term>
<listitem>
<para>
The encrypted password, as returned by <citerefentry>
<refentrytitle>crypt</refentrytitle><manvolnum>3</manvolnum>
<refentrytitle>crypt</refentrytitle><manvolnum>3</manvolnum>
</citerefentry>. The default is to disable the account.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>-s</option> <replaceable>shell</replaceable>
<option>-s</option>, <option>--shell</option>
<replaceable>SHELL</replaceable>
</term>
<listitem>
<para>The name of the user's login shell. The default is to
@@ -218,7 +231,8 @@
</varlistentry>
<varlistentry>
<term>
<option>-u</option> <replaceable>uid</replaceable>
<option>-u</option>, <option>--uid</option>
<replaceable>UID</replaceable>
</term>
<listitem>
<para>The numerical value of the user's ID. This value must be
@@ -274,7 +288,8 @@
</varlistentry>
<varlistentry>
<term>
<option>-g</option> <replaceable>group</replaceable>
<option>-g</option>, <option>--gid</option>
<replaceable>GROUP</replaceable>
</term>
<listitem>
<para>The group name or ID for a new user's initial group. The
@@ -285,7 +300,8 @@
</varlistentry>
<varlistentry>
<term>
<option>-s</option> <replaceable>shell</replaceable>
<option>-s</option>, <option>--shell</option>
<replaceable>SHELL</replaceable>
</term>
<listitem>
<para>The name of the new user's login shell. The named program

View File

@@ -88,7 +88,7 @@ can't remove home directory
.SH "SEE ALSO"
.PP
\fBchfn\fR(1), \fBchsh\fR(1), \fBpasswd\fR(1), \fBgroupadd\fR(8), \fBgroupdel\fR(8), \fBgroupmod\fR(8), \fBuseradd\fR(8), \fBusermod\fR(8)
\fBchfn\fR(1), \fBchsh\fR(1), \fBpasswd\fR(1), \fBgpasswd\fR(8), \fBgroupadd\fR(8), \fBgroupdel\fR(8), \fBgroupmod\fR(8), \fBuseradd\fR(8), \fBusermod\fR(8)
.SH "AUTHOR"

View File

@@ -2,7 +2,7 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id='userdel.8'>
<!-- $Id: userdel.8.xml,v 1.7 2005/06/16 18:58:43 kloczek Exp $ -->
<!-- $Id: userdel.8.xml,v 1.8 2005/06/30 19:26:08 kloczek Exp $ -->
<refmeta>
<refentrytitle>USERDEL</refentrytitle>
<manvolnum>8</manvolnum>
@@ -127,6 +127,9 @@
<citerefentry>
<refentrytitle>passwd</refentrytitle><manvolnum>1</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>gpasswd</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>groupadd</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,

View File

@@ -24,7 +24,7 @@ usermod \- Modify a user account
.ad l
.hy 0
.HP 8
\fBusermod\fR [\-c\ \fIcomment\fR] [\-d\ \fIhome_dir\fR\ [\-m]] [\-e\ \fIexpire_date\fR] [\-f\ \fIinactive_days\fR] [\-g\ \fIinitial_group\fR] [\-G\ \fIgroup1\fR\ [\fI,group2,\fR...\ \fI,\fR\ [\fIgroupN\fR]]] [\-l\ \fIlogin_name\fR] [\-p\ \fIpasswd\fR] [\-s\ \fIshell\fR] [\-u\ \fIuid\fR\ [\-o]] [\fB\-L\fR | \fB\-U\fR] \fIlogin\fR
\fBusermod\fR [\-c\ \fIcomment\fR] [\-d\ \fIhome_dir\fR\ [\-m]] [\-e\ \fIexpire_date\fR] [\-f\ \fIinactive_days\fR] [\-g\ \fIinitial_group\fR] [\-G\ \fIgroup1\fR\ [\fI,group2,\fR...\ \fI,\fR\ [\fIgroupN\fR]\ [\-a]]] [\-l\ \fIlogin_name\fR] [\-p\ \fIpasswd\fR] [\-s\ \fIshell\fR] [\-u\ \fIuid\fR\ [\-o]] [\fB\-L\fR | \fB\-U\fR] \fIlogin\fR
.ad
.hy
@@ -60,7 +60,7 @@ The group name or number of the user's new initial login group\&. The group name
.TP
\fB\-G\fR \fIgroup1\fR[\fI ,group2,\&.\&.\&., \fR [\fIgroupN\fR]]]
A list of supplementary groups which the user is also a member of\&. Each group is separated from the next by a comma, with no intervening whitespace\&. The groups are subject to the same restrictions as the group given with the \fB\-g\fR option\&. If the user is currently a member of a group which is not listed, the user will be removed from the group\&.
A list of supplementary groups which the user is also a member of\&. Each group is separated from the next by a comma, with no intervening whitespace\&. The groups are subject to the same restrictions as the group given with the \fB\-g\fR option\&. If the user is currently a member of a group which is not listed, the user will be removed from the group\&. This behaviour can be changed via \fB\-a\fR option, which appends user to the current supplementary group list\&.
.TP
\fB\-l\fR \fIlogin_name\fR
@@ -109,7 +109,7 @@ group account information
.SH "SEE ALSO"
.PP
\fBchfn\fR(1), \fBchsh\fR(1), \fBpasswd\fR(1), \fBcrypt\fR(3), \fBgroupadd\fR(8), \fBgroupdel\fR(8), \fBgroupmod\fR(8), \fBuseradd\fR(8), \fBuserdel\fR(8)\&.
\fBchfn\fR(1), \fBchsh\fR(1), \fBpasswd\fR(1), \fBcrypt\fR(3), \fBgpasswd\fR(8), \fBgroupadd\fR(8), \fBgroupdel\fR(8), \fBgroupmod\fR(8), \fBuseradd\fR(8), \fBuserdel\fR(8)\&.
.SH "AUTHOR"

View File

@@ -2,7 +2,7 @@
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
<refentry id='usermod.8'>
<!-- $Id: usermod.8.xml,v 1.9 2005/06/16 16:01:21 kloczek Exp $ -->
<!-- $Id: usermod.8.xml,v 1.11 2005/07/07 14:25:48 kloczek Exp $ -->
<refmeta>
<refentrytitle>usermod</refentrytitle>
<manvolnum>8</manvolnum>
@@ -29,6 +29,7 @@
<arg choice='plain' rep='repeat'><replaceable>,group2,</replaceable></arg>
<arg choice='plain'><replaceable>,</replaceable></arg>
<arg choice='opt'><replaceable>groupN</replaceable></arg>
<arg choice='opt'>-a</arg>
</arg>
</arg>
<arg choice='opt'>-l <replaceable>login_name</replaceable></arg>
@@ -134,7 +135,8 @@
same restrictions as the group given with the
<option>-g</option> option. If the user is currently a member of
a group which is not listed, the user will be removed from the
group.
group. This behaviour can be changed via <option>-a</option> option,
which appends user to the current supplementary group list.
</para>
</listitem>
</varlistentry>
@@ -271,6 +273,9 @@
<citerefentry>
<refentrytitle>crypt</refentrytitle><manvolnum>3</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>gpasswd</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>groupadd</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,

View File

@@ -93,10 +93,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@

View File

@@ -93,10 +93,12 @@ LIBCRACK = @LIBCRACK@
LIBCRYPT = @LIBCRYPT@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMD = @LIBMD@
LIBOBJS = @LIBOBJS@
LIBPAM = @LIBPAM@
LIBS = @LIBS@
LIBSELINUX = @LIBSELINUX@
LIBSKEY = @LIBSKEY@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBICONV = @LTLIBICONV@