]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: Add MORESECURE and PAGERSECURE environment variables #3503
authorChristian Goeschel Ndjomouo <christian.goeschel-ndjomouo@ovhcloud.com>
Thu, 3 Apr 2025 04:38:29 +0000 (00:38 -0400)
committercgoesche <cgoesc2@wgu.edu>
Fri, 4 Apr 2025 02:04:32 +0000 (22:04 -0400)
commitd2fce960f9cac7407efdf0b08224effdaf0da78f
tree8d61526951825588f331621262db74c36d505e08
parentd2dadb78081989e1750423962eaf0aa79f222cc5
more: Add MORESECURE and PAGERSECURE environment variables #3503

Add MORESECURE and PAGERSECURE environment variables to run 'more' in secure mode,
which will effectively disable the _!_ and _v_ commands. This helps to prevent
unprivileged users from running arbitrary shell commands or file manipulations.

Addresses: #3503
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
text-utils/more.1.adoc
text-utils/more.c