From nobody Mon Jan 29 22:32:13 2024 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 4TP32P55JCz57Z76; Mon, 29 Jan 2024 22:32:13 +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 4TP32P382cz4flX; Mon, 29 Jan 2024 22:32:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706567533; 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=W0S/PCkoOaqtB8Stk4OWZizGX++bEKvsE6LRIbDN8Xc=; b=IwIy7IMlYboxy019irsusZ5po4MUKhV7j9binc9DsGjlmjuZLaZBTx8gSFraTW7qX7YfH1 4tSqtf9xOKGUyRkgzvmjQqlvizOHOjpp/fJSatlBGOrG7PrjEjhLJED4PGgeobYDtVZXg6 xKGxMFTlBzRB1i7UTWT4XuYj9f46pvNye/uT5A126nd3MHp1341NqAkqU5GfTW7VL0pzm1 oV0MAb/Phitzo1LSlIRThPew2Bs0eSwKYcMuZqQsK1fJAZr7bM8UjbLTJPYznlVm2WQ7ad ab3/uilQps9pGnjYXRKs68a7UI6uKUJNt+3Hn3N+FpB8KGXKn3aFIW3HUKebxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706567533; 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=W0S/PCkoOaqtB8Stk4OWZizGX++bEKvsE6LRIbDN8Xc=; b=G20YxBWWY/aWlgZF7hwWMJJl4ihDXsL9UKW0N4EEBq5OoOCyx/zMRnFnXIl14JZC/op5zm CCNAKP1Ukp+c/78UbTv9C0XoOiFILFHEWAY/iu+/6pi5l3LgPYl/Vq9OZB/37SXCyD/FRi en9BDkN771yT48sdtnqd9RKk563gvnHLsDIFPiOvCP6qJDVIv8/Hp8N2tJc+l5Sp0DLYu2 2ZvBpjKI/nx0yFhVerSFXJq7RhuOXd2KNQ8nEFWzi5cLPjfavB2qJRW/BCqWHG0XNLKCu2 LhI8aREmOuIUPXye0a+HbGlfNJNdsRvxC4DFdbX8JUW73Ak1Nky2KmCrm7ThPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706567533; a=rsa-sha256; cv=none; b=D19FrjQVkMzrlLNOmVIPnP//sQbRyfD88sE1OtRP1RI2xmLTdXFhfcXoEpHKYqfnDxYx8z B/juZWsNlEldzqS63UWsMi+239kdk96WPpBGFVpuAG/5qAuDEwnnpiDXxhje6iCt5+nXFs bs9dA0YUAq7XfyG47QWH1nalbp2we8oWmr97lsokojGvz2Q1/IXdX4wVoQ/FV0OdxnrB8x R23cuebnT77Z2qX/RbUOt2maIBnwo3/ioE/LQk8Fv5yHG+Tk8ju2BT9yiObMXyA3PbiGxV WrR7jU6+n5TvNig1C5QLLkjB19M+J8O6iOkSCYw4oMxsmvaxKKLpUUV4I/KOzw== 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 4TP32P1sg8z18g3; Mon, 29 Jan 2024 22:32:13 +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 40TMWDsi013566; Mon, 29 Jan 2024 22:32:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40TMWDxe013563; Mon, 29 Jan 2024 22:32:13 GMT (envelope-from git) Date: Mon, 29 Jan 2024 22:32:13 GMT Message-Id: <202401292232.40TMWDxe013563@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: 92b2c4358f57 - main - login.conf(5): Default values: Rename column, elaborate on absence of such 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: olce X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 92b2c4358f57ef84f161efd8370ba4832bd9261a Auto-Submitted: auto-generated The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=92b2c4358f57ef84f161efd8370ba4832bd9261a commit 92b2c4358f57ef84f161efd8370ba4832bd9261a Author: Olivier Certner AuthorDate: 2023-05-29 14:06:37 +0000 Commit: Olivier Certner CommitDate: 2024-01-29 21:58:07 +0000 login.conf(5): Default values: Rename column, elaborate on absence of such Column "Notes" in fact only contains default values for capabilities, so make this clear by renaming it to "Default". Add a small introductory text mentioning it, and what an absence of default value means (inheritance). PR: 271748 Reviewed by: emaste Approved by: emaste (mentor) MFC after: 3 days Sponsored by: Kumacom SAS Differential Revision: https://reviews.freebsd.org/D40347 --- lib/libutil/login.conf.5 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5 index b2478bb7a88c..35ca11452811 100644 --- a/lib/libutil/login.conf.5 +++ b/lib/libutil/login.conf.5 @@ -181,9 +181,15 @@ are considered infinite values. The usual convention to interpolate capability entries using the special .Em tc=value notation may be used. +.Pp +Default values are specified in the +.Ql Default +column. +If there is no default, the value is inherited from the process setting up the +login environment. .Sh RESOURCE LIMITS .Bl -column pseudoterminals indent indent -.It Sy "Name Type Notes Description" +.It Sy "Name Type Default Description" .It "coredumpsize size Maximum coredump size limit." .It "cputime time CPU usage limit." .It "datasize size Maximum data size limit." @@ -209,7 +215,7 @@ The maximum and current limits may be specified individually by appending a -max or -cur to the capability name. .Sh ENVIRONMENT .Bl -column ignorenologin indent xbinxxusrxbin -.It Sy "Name Type Notes Description" +.It Sy "Name Type Default Description" .It "charset string Set $MM_CHARSET environment variable to the specified" value. .It "cpumask string List of cpus to bind the user to." @@ -262,7 +268,7 @@ explicitly indicates not to change the umask. .El .Sh AUTHENTICATION .Bl -column passwd_prompt indent indent -.It Sy "Name Type Notes Description" +.It Sy "Name Type Default Description" .\" .It "approve program Program to approve login. .It "copyright file File containing additional copyright information" .It "host.allow list List of remote host wildcards from which users in" @@ -406,7 +412,7 @@ The following capabilities are reserved for the purposes indicated and may be supported by third-party software. They are not implemented in the base system. .Bl -column host.accounted indent indent -.It Sy "Name Type Notes Description" +.It Sy "Name Type Default Description" .It "accounted bool false Enable session time accounting for all users" in this class. .It "auth list passwd Allowed authentication styles."