From nobody Wed Jun 28 19:03:39 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qrrb01348z4kqVp; Wed, 28 Jun 2023 19:03:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qrrb00XRmz4Llw; Wed, 28 Jun 2023 19:03:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687979020; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qy1h3nYvXZ6hqn1pSmEPCo4WCTjBQRkW1icd9HgxsmM=; b=WEfYtmJjl/I/IH75IiRZltwalzpQW1sMXqFcN3pwqoHo444WPGdTn2sNo8gAPpuioKcOkZ cwnlnZgr0BtYJkO23NgwUTBhGLkqP7hCoJ6uEDZ5TTmZhnHsjGHc6npdnHRU5jrssAT9XJ rC5YZRLLjTrRsGiI11MI+C5AeHGLu5K/PilEgp1a+k8SLuOzICfCbpeGG0yMMa16RE5MpT E43b5k8EILARh2+5UF73Q17GuJS09Oe/w37PpuwjN/AC9xNss0oiZ1VVapoy7D25wbCMhB 7Whop5Bm49ar2Jr/nyoP7vlJ1Sp4I8L5/TYv+k/IYglh3QYE5cRTg5pMdoFtXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687979020; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Qy1h3nYvXZ6hqn1pSmEPCo4WCTjBQRkW1icd9HgxsmM=; b=x1NmJnD3d8jOfIXGtQmEuPlP6DWHAczDZXd/vWEWizi16FSqcQgIoQrszAx7kOTnNJJ70T /i+FRQiKD0tqHJfi0W0E33hw/6zf68GsT4nlx9JUryhFPgnzecIHtWWfbEIDF5laO7eGVL Ye/c2zLMKcmuDOedyyQjb8RDlrSy7cDm+9KgQteN36m+YIbVcISlwmatNqJV52EgS6pqF3 4PJ48112+1dhJU+XZtRg9/1xJYgDhhD4OBEtsSNqQIWKCxNtj3UKsfyOMie7ReXFN3m7UU owh02Ap1RyeTH0bdKaAo1mpsbII0XCRCKNUczBXEWijTSK5umesyfnqPpA8n1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687979020; a=rsa-sha256; cv=none; b=FRTGFMhkfDZ4EOwACAY2jPC55vMdNTIYYOtonXDhwV09/G7we5goLp5ALd88HxQ4gU57i2 TqqacuKWtklZxU7Y6e+yITZrUC4qEh08BxCeuN1JpB8y+qIrLZxgilAkAqT+6EUWed+c8C WRT7FxJ4RzxgTlfHiRqD/JrtTVgXJJFTyLvo3DQsnWPJp3r6BVmbvpf7CQlHl5Vpg12v7e xlvv+BBZ4v/GF/u5SinaIvQFrRSa+tHvwatcJwmQrOYecsO1LCRg9mjxlwlG3I0YM3+zEK djS7lHzCDi2nZJb3nBvXB1MxRJAQ37lLP2ljN57ZHMsWsQgIrg5lua/7ZWurOw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QrrZz6jcmzlBf; Wed, 28 Jun 2023 19:03:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35SJ3dUp092969; Wed, 28 Jun 2023 19:03:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35SJ3dBa092968; Wed, 28 Jun 2023 19:03:39 GMT (envelope-from git) Date: Wed, 28 Jun 2023 19:03:39 GMT Message-Id: <202306281903.35SJ3dBa092968@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: ab2f6ae8d174 - main - login.conf: document how to specify env var values with commas List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ab2f6ae8d1742f57552c37425e9cab8499d2d4ea Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=ab2f6ae8d1742f57552c37425e9cab8499d2d4ea commit ab2f6ae8d1742f57552c37425e9cab8499d2d4ea Author: Ed Maste AuthorDate: 2023-06-28 18:50:49 +0000 Commit: Ed Maste 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