git: ab2f6ae8d174 - main - login.conf: document how to specify env var values with commas

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 28 Jun 2023 19:03:39 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=ab2f6ae8d1742f57552c37425e9cab8499d2d4ea

commit ab2f6ae8d1742f57552c37425e9cab8499d2d4ea
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-06-28 18:50:49 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-06-28 19:02:14 +0000

    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
---
 lib/libutil/login.conf.5 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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