]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
man/chsh: remove duplicate paragraph
authorGeorg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Sun, 24 Aug 2025 21:20:47 +0000 (23:20 +0200)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Mon, 1 Sep 2025 12:41:19 +0000 (14:41 +0200)
The section about the risk of placing a restricted shell was duplicated
in the rendered manual page if the "without_vendordir" condition
matched.

Fixes: a27d5c51f1f3 ("Supporting vendor given -shells- configuration file")
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
man/chsh.1.xml

index db2d0cebafe3a75092b3697e41326ee413bb2120..5ed200da19b6ec9b1aab6bdc3b8f64d55e1987c9 100644 (file)
       name must be listed in <filename>/etc/shells</filename>, unless the
       invoker is the superuser, and then any value may be added. An
       account with a restricted login shell may not change her login shell.
-      For this reason, placing <filename>/bin/rsh</filename> in
-      <filename>/etc/shells</filename> is discouraged since accidentally
-      changing to a restricted shell would prevent the user from ever
-      changing her login shell back to its original value.
     </para>
     <para condition="with_vendordir">
       The only restriction placed on the login shell is that the command