From nobody Thu Feb 1 21:31:14 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 4TQsXg0X3lz58hvD; Thu, 1 Feb 2024 21:31:15 +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 4TQsXf69dkz4bhD; Thu, 1 Feb 2024 21:31:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706823074; 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=YAIkZaad4vMZyhYEVIOSKu0s+YamfhBqTXkRLJ4ptbE=; b=FAQLjhy9QSMqpJbfMBrak8m+9ipoEvXyxdEkLti6GDlG2aodSseelk/fgkszfW546gmyaQ uTCUSosgXjlQwYp7nWpCrE93i2J+VgZPb6VhrfgvLsegi+hEcAArKvlOSchBMxO/cXHPCb kBpsIASBQNYckqnxRgO/hQQD3Z32cPaqLLG/VV0r5iE7Ym+jtCGF3O34WsTtOvw7xK4PjW 4m+ZrXbGfRJYuxu6qWqwVxPi1gh836sEijYc9WN+m6mrRXc3L5j1fPlX1juZdDNJePdYza d1NFl9n29YNEMOQmANqxwGFARGxfGQuYim7P9zcd9y/uc/gxX1ygxoKUanG95Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706823074; 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=YAIkZaad4vMZyhYEVIOSKu0s+YamfhBqTXkRLJ4ptbE=; b=q83fBmEE3FxFCvG29GmLc4MrajyFkI87hINHw0MuN6S7IpTM6c7lZSClOgIYYbtD1sQaPJ pMVwESdVJZwEwALLHDJIH4d5hYWcvJv+65aDbWwaYUW+k1dnnldF1t419/Bros3y48APny 0fG8Du9ZKO0uyofKS3NF9u8dDv3pW4ZTkkLV31eNiqqf7MVwkljc+QiCcQ9hfRxGyzrP+y WGW+Wvqf3boZj7AaPKH8vZn/sCMnbGynpzn3MAJWQ5piyKBk2mWl76ZipMXN6BDgx0Uzpr zIqKjfN3Ho8tAPVhKDbIfw1U0jL6YOhErEdHzE7j2CX1BYvn++iIG8wNmcvixg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706823074; a=rsa-sha256; cv=none; b=T+RF0yMfjnAaT0FznIS4Ij2BFcbMMmgC29bejBadreUE/nRmCQ+RKiMhdm59kn76Fam8wH gxDUNA3zm7C3NZmmWbvGBHkOGAugggHpS9ym1kuyUNjG4fZOz4dWCNj1k2Q4Itwj4fGz6T yG9v24yilsRHEhormHnkUilOv3y7/Y0FC6wWwj50yvcqoacAmMd+zgFnhyveTzmJoZ2dks OJ16QjSIpaSvsJlhF4tUkw1VMNps8ohFZJTbm0oyrlqH2xzh/CAMk5gBw5vqJv/+gO1DrS xG7CJN9jOTeA4HVVtnwc8V6JpJMYDe+IPpl91fOdsxecVpsX8gHqPmcAJ5SFBQ== 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 4TQsXf5H41z1Hby; Thu, 1 Feb 2024 21:31:14 +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 411LVEI1080712; Thu, 1 Feb 2024 21:31:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 411LVEFc080709; Thu, 1 Feb 2024 21:31:14 GMT (envelope-from git) Date: Thu, 1 Feb 2024 21:31:14 GMT Message-Id: <202402012131.411LVEFc080709@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: 63c3be3b4f4b - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 63c3be3b4f4b8383916816c4f756e593474a02b1 Auto-Submitted: auto-generated The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=63c3be3b4f4b8383916816c4f756e593474a02b1 commit 63c3be3b4f4b8383916816c4f756e593474a02b1 Author: Olivier Certner AuthorDate: 2023-05-29 14:06:37 +0000 Commit: Olivier Certner CommitDate: 2024-02-01 21:29:26 +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."