From nobody Mon Jul 17 15:48:46 2023 X-Original-To: dev-commits-src-branches@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 4R4RML62B1z4nVwK; Mon, 17 Jul 2023 15:48:46 +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 4R4RML566yz3thp; Mon, 17 Jul 2023 15:48:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689608926; 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=KfQZVDV60D9ZXPKHe9ESia6OlRaVtc+ykqgCcvmCr20=; b=J0WsAHM2zCghuWqn1cYRPJXvaGK8NBqP5E/jFPmiRwRLXYGjQdRlPjOTFY2jsCycTo1fa3 iFoBBp7GiZo2XymloTd886UliIlEnmgG6HAYAbgsn4k+zy6b6EtxslbTq9JGzZPVZAhtcT DjfT47lubODiQXY87qe7VofB/p1Ch40jOpWGIYGqEkPDHygkWabw/95kfGWMUsQEKi+EyU BNzIdq+cOKq4LfoYygqStIyVSTJQxYhitnp6r0ypeBgP1WH+81xEHJ+r+NdJpQalNtyDmB 1jRAjqsq+wsH/ctOudDz6G36VQPDiGSuny6w/9uSWk18agiNxu2FQROjzskutA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689608926; 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=KfQZVDV60D9ZXPKHe9ESia6OlRaVtc+ykqgCcvmCr20=; b=VUwhU7Nfvv4PNhbDinxFm5gPHIyoawC11ylM8Uq6ZaLfvZXrb4+P/H76cdj3JQZAXSTegh ZSHrZjvMw18F/7MbE3+iAy5nYxZkxtOEsJtQ2GU4v1HwjOU4NF3dc+DGo+eO0YGu3tQ1I7 8kT2jYElXVN43A9G0pebXhv48P8eYldK+bp7MSBwn56mcXrMyRi/aDD2BkUJUAmeXPlWDw AEkGUU6m4OkStuVbr+aORcltRcTK0BnyHNEbWjKFJ4iQIE4J178NtklYM7xByOLytYnlZz 4Bu6gKsnBuYJYHcKRQNDj1Td1pFUvUEKi0I4ggPfU6R1VUrKwl8ToLeZYABn/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689608926; a=rsa-sha256; cv=none; b=glDN9+vbaFh0+nVtL9YU8RxXQoSqEcfjCa2wSmeeRXPeH5DpaJw2okZ0kF+gcru7Pt6THU JScRZ/W5hzXiu+wAnoVIBQGfOnsb7k2geDEFAnG+PgHuirc/0FhkIQSaQDgrRBunH2sYqg Drny930Yteu4XgUh09TsOHyz53+/N5tEj3l8np2u2J4GvNj6p4NDs6Mh0DHP4aWS2jlr5M xgDSGvsaiJ+zOv3nIjlEu6GSmlP+t3LrlXJFfPOwo/CgwxWu4QwITQq8RWJR8ZBHA33KpS PPZ1FPJpCbgUPKF2gmaKRlmHDljmLe82JzQvSj/ww2gHa3zctDT0ie5lHCFgqw== 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 4R4RML43zPzVRw; Mon, 17 Jul 2023 15:48:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36HFmk4x079999; Mon, 17 Jul 2023 15:48:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36HFmkKw079998; Mon, 17 Jul 2023 15:48:46 GMT (envelope-from git) Date: Mon, 17 Jul 2023 15:48:46 GMT Message-Id: <202307171548.36HFmkKw079998@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: d6e837c7225e - stable/13 - login.conf: document how to specify env var values with commas List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: d6e837c7225e1e4853a186ed42dba183057704b3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=d6e837c7225e1e4853a186ed42dba183057704b3 commit d6e837c7225e1e4853a186ed42dba183057704b3 Author: Ed Maste AuthorDate: 2023-06-28 18:50:49 +0000 Commit: Ed Maste CommitDate: 2023-07-17 15:48:28 +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 (cherry picked from commit ab2f6ae8d1742f57552c37425e9cab8499d2d4ea) --- 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