From nobody Thu Feb 1 21:26:08 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 4TQsQn17Msz58hKH; Thu, 1 Feb 2024 21:26:09 +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 4TQsQm4Tnzz4W1F; Thu, 1 Feb 2024 21:26:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706822768; 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=11MNRV76Z/twB5G1MOgIVw/42aWHz2dwDBCAG4gzq24=; b=I7x4bA9mNLF43aUCIOB6Y4kx5rYvgNTruc8Iho/UeV3+wseogfpFipvCFI1BuNFt/syLno xncep4evQtw0NhNWfg073Az6h9RRTrwev2yi7rlQ0ZJJEjlL+9KD4jRSQlJfIYegg3MhKI g69jt/io0fQ5yXU8HKxDnb6kAS9WEnn+aKAMtk8gwobigq1blqWEsmfsVDw4h6MZ0JjoVR IbT+hL10z8PqDkOuKsL9XaAy+Ec78XrG8gj6XYJCfdtYyYQR4rZm2N78YfsnEtX9txkzrn nXtkhZXNZWBeoE+0X9TNczU46jtKuvZ8EAjJRag6ivoI13LkAS15OGa/MJMDfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706822768; 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=11MNRV76Z/twB5G1MOgIVw/42aWHz2dwDBCAG4gzq24=; b=Iu8ATBSmu0vHANJq+QEo+1J2NvRn49RocMFSmk0zJ3cSyENzjIFMLNczCb6T8lQ0nwyZDI NLizaKUCBwXDIRR/umtrIBe07aN3CbADpwwlNax1azqV/vW4v4PXzh9xIfFs0ZgEMfY5NB C0YMuonCN6dgv8Ra/6XYlvYjsaCVDTs5L+mof/UchRrN7+cE1JchaaaBXrtRXrJzllqeWb 008HcsyrX3ygh9NVRiN/CB2YJVqfeQXqJWdIYMbh0wlrTCAfsOi7fXrQ87/PEW3A5oE5ZC s7TtDS9SQkNJNj0lityrRb1H19xteDl3jVe9lW/6OE4u1L7A8/CKWg4kiYp9gg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706822768; a=rsa-sha256; cv=none; b=R3b79LSBk0ZIIrAVE6N+Gp/CGNVdYmV+t4ZX0gGL1S/NyvKwfAAI5/qvadF1iu0aBot8jA 1Sp8dkGVk9c1zicNpxHYh6TcEJo3CQ+KqUEnEzkxUDwKpxfZMmkXzfsoi0UmDBoDewVqRY 5hAcff+dnHDZl6keMGwbE2qcLljjpYzLJDY+Gik63Lcik0Wtp+dkPblhmsI0Cma8ezRpaV FiVDmeKrLMq3Qp7CWdFsydiLFzkh5rVAZo/9MsYTwXRZbh/OepLH+sSDUm7WC0ox62H9bY VGkAsP9n3dwrBByRs9d/at/THuGMctjlNoLzbcYIGvrgdUzY7gwCjG5V9rK6kw== 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 4TQsQm3W1Rz1J4r; Thu, 1 Feb 2024 21:26:08 +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 411LQ81l070486; Thu, 1 Feb 2024 21:26:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 411LQ8tu070483; Thu, 1 Feb 2024 21:26:08 GMT (envelope-from git) Date: Thu, 1 Feb 2024 21:26:08 GMT Message-Id: <202402012126.411LQ8tu070483@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: 8f4c3ef048e3 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 8f4c3ef048e3cc6df1d1648b431ccb6b383b3bb3 Auto-Submitted: auto-generated The branch stable/13 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=8f4c3ef048e3cc6df1d1648b431ccb6b383b3bb3 commit 8f4c3ef048e3cc6df1d1648b431ccb6b383b3bb3 Author: Olivier Certner AuthorDate: 2023-05-29 14:06:37 +0000 Commit: Olivier Certner CommitDate: 2024-02-01 21:23:30 +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 (cherry picked from commit 92b2c4358f57ef84f161efd8370ba4832bd9261a) Approved by: markj (mentor) --- 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."