summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-10-20 15:22:35 +0200
committerSerge Hallyn <serge@hallyn.com>2023-10-26 10:14:53 -0500
commit01f6258df744d935c4e6bbb4a4e9774d95298473 (patch)
tree82e93a7674842f1806b34a7ebe1d2fd778242070
parent2fa907a522203fa169491d4bb50d5b8586986a49 (diff)
man: document --prefix option in chage, chpasswd and passwd
Support for `--prefix` was added in https://github.com/shadow-maint/shadow/pull/714 and is available since shadow 4.14.0. Close https://github.com/shadow-maint/shadow/issues/822
-rw-r--r--man/chage.1.xml15
-rw-r--r--man/chpasswd.8.xml15
-rw-r--r--man/passwd.1.xml15
3 files changed, 45 insertions, 0 deletions
diff --git a/man/chage.1.xml b/man/chage.1.xml
index 055c1ed6..060409b8 100644
--- a/man/chage.1.xml
+++ b/man/chage.1.xml
@@ -200,6 +200,21 @@
</varlistentry>
<varlistentry>
<term>
+ <option>-P</option>, <option>--prefix</option>&nbsp;<replaceable>PREFIX_DIR</replaceable>
+ </term>
+ <listitem>
+ <para>
+ Apply changes to configuration files under the root filesystem
+ found under the directory <replaceable>PREFIX_DIR</replaceable>.
+ This option does not chroot and is intended for preparing a cross-compilation
+ target. Some limitations: NIS and LDAP users/groups are
+ not verified. PAM authentication is using the host files.
+ No SELINUX support.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
<option>-W</option>, <option>--warndays</option>&nbsp;<replaceable>WARN_DAYS</replaceable>
</term>
<listitem>
diff --git a/man/chpasswd.8.xml b/man/chpasswd.8.xml
index 6353419c..1984573a 100644
--- a/man/chpasswd.8.xml
+++ b/man/chpasswd.8.xml
@@ -173,6 +173,21 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <option>-P</option>, <option>--prefix</option>&nbsp;<replaceable>PREFIX_DIR</replaceable>
+ </term>
+ <listitem>
+ <para>
+ Apply changes to configuration files under the root filesystem
+ found under the directory <replaceable>PREFIX_DIR</replaceable>.
+ This option does not chroot and is intended for preparing a cross-compilation
+ target. Some limitations: NIS and LDAP users/groups are
+ not verified. PAM authentication is using the host files.
+ No SELINUX support.
+ </para>
+ </listitem>
+ </varlistentry>
<varlistentry condition="sha_crypt">
<term>
<option>-s</option>, <option>--sha-rounds</option>&nbsp;<replaceable>ROUNDS</replaceable>
diff --git a/man/passwd.1.xml b/man/passwd.1.xml
index 5491ded6..5fbfa6d1 100644
--- a/man/passwd.1.xml
+++ b/man/passwd.1.xml
@@ -282,6 +282,21 @@
</varlistentry>
<varlistentry>
<term>
+ <option>-P</option>, <option>--prefix</option>&nbsp;<replaceable>PREFIX_DIR</replaceable>
+ </term>
+ <listitem>
+ <para>
+ Apply changes to configuration files under the root filesystem
+ found under the directory <replaceable>PREFIX_DIR</replaceable>.
+ This option does not chroot and is intended for preparing a cross-compilation
+ target. Some limitations: NIS and LDAP users/groups are
+ not verified. PAM authentication is using the host files.
+ No SELINUX support.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
<option>-S</option>, <option>--status</option>
</term>
<listitem>