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
This commit is contained in:
committed by
Serge Hallyn
parent
2fa907a522
commit
01f6258df7
@@ -198,6 +198,21 @@
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option>-P</option>, <option>--prefix</option> <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>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<option>-W</option>, <option>--warndays</option> <replaceable>WARN_DAYS</replaceable>
|
<option>-W</option>, <option>--warndays</option> <replaceable>WARN_DAYS</replaceable>
|
||||||
|
|||||||
@@ -173,6 +173,21 @@
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option>-P</option>, <option>--prefix</option> <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">
|
<varlistentry condition="sha_crypt">
|
||||||
<term>
|
<term>
|
||||||
<option>-s</option>, <option>--sha-rounds</option> <replaceable>ROUNDS</replaceable>
|
<option>-s</option>, <option>--sha-rounds</option> <replaceable>ROUNDS</replaceable>
|
||||||
|
|||||||
@@ -280,6 +280,21 @@
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>
|
||||||
|
<option>-P</option>, <option>--prefix</option> <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>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<option>-S</option>, <option>--status</option>
|
<option>-S</option>, <option>--status</option>
|
||||||
|
|||||||
Reference in New Issue
Block a user