]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
man/userdel.8.xml: Reword '-f'
authorAlejandro Colomar <alx@kernel.org>
Sat, 31 Aug 2024 09:07:04 +0000 (11:07 +0200)
committerSerge Hallyn <serge@hallyn.com>
Sun, 1 Sep 2024 12:45:30 +0000 (07:45 -0500)
The previous wording seemed to say that -f implied -r.  It doesn't; -f
only skips safety checks, so reword accordingly.

Closes: <https://github.com/shadow-maint/shadow/issues/1062>
Reported-by: Martin von Wittich <martin.von.wittich@iserv.eu>
Cc: "Serge E. Hallyn" <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/userdel.8.xml

index 5bd2981a3bce5604c32ff9fc8437e673b0ecd50a..32851f112f77e7382771c6503ada8f8c0af4f748 100644 (file)
        </term>
        <listitem>
          <para>
-           This option forces the removal of the user account, even if the
-           user is still
-           logged in. It also forces <command>userdel</command> to remove
-           the user's home directory and mail spool, even if another
-           user uses the same home directory or if the mail spool is not
-           owned by the specified user.  If
-           <option>USERGROUPS_ENAB</option> is defined to <emphasis
-           remap='I'>yes</emphasis> in <filename>/etc/login.defs</filename>
-           and if a group exists with the same name as the deleted user,
-           then this group will be removed, even if it is still the primary
-           group of another user.
+           This option forces the removal of the user account
+           and any other requested actions,
+           skipping any safety checks.
          </para>
          <para>
            <emphasis>Note:</emphasis> This option is dangerous and may leave