aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2023-06-28 18:50:49 +0000
committerEd Maste <emaste@FreeBSD.org>2023-07-17 15:48:28 +0000
commitd6e837c7225e1e4853a186ed42dba183057704b3 (patch)
treefe6eadf6bd6a89a10f326065a1d47c167ffdc95d
parent6dfb2c2dce0ffabd783ec24b8d4d128993363f72 (diff)
downloadsrc-d6e837c7225e1e4853a186ed42dba183057704b3.tar.gz
src-d6e837c7225e1e4853a186ed42dba183057704b3.zip
login.conf: document how to specify env var values with commas
As of f32db406504e quotes may be used to specify login class capabilities that include commas. This is true in general but is particularly relevant for setenv, a comma-separated list of environment variables and values, so mention it there. PR: 236204 Sponsored by: The FreeBSD Foundation (cherry picked from commit ab2f6ae8d1742f57552c37425e9cab8499d2d4ea)
-rw-r--r--lib/libutil/login.conf.53
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5
index 7276863f53a9..cf8787495a18 100644
--- a/lib/libutil/login.conf.5
+++ b/lib/libutil/login.conf.5
@@ -19,7 +19,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 6, 2021
+.Dd June 28, 2023
.Dt LOGIN.CONF 5
.Os
.Sh NAME
@@ -247,6 +247,7 @@ the login session will be terminated.
.It "requirehome bool false Require a valid home directory to login."
.It "setenv list A comma-separated list of environment variables and"
values to which they are to be set.
+Values containing commas must be quoted.
.It "shell prog Session shell to execute rather than the"
shell specified in the passwd file.
The SHELL environment variable will