From: Georg Pfuetzenreuter Date: Sun, 24 Aug 2025 21:20:47 +0000 (+0200) Subject: man/chsh: remove duplicate paragraph X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c82e7c38330d02b4bda268494bf07b74858d7fb3;p=thirdparty%2Fshadow.git man/chsh: remove duplicate paragraph 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 --- diff --git a/man/chsh.1.xml b/man/chsh.1.xml index db2d0ceba..5ed200da1 100644 --- a/man/chsh.1.xml +++ b/man/chsh.1.xml @@ -120,10 +120,6 @@ name must be listed in /etc/shells, 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 /bin/rsh in - /etc/shells is discouraged since accidentally - changing to a restricted shell would prevent the user from ever - changing her login shell back to its original value. The only restriction placed on the login shell is that the command