git: 569f0eb3f259 - stable/13 - login.conf(5): Document umask's special value 'inherit'

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Thu, 01 Feb 2024 21:26:06 UTC
The branch stable/13 has been updated by olce:

URL: https://cgit.FreeBSD.org/src/commit/?id=569f0eb3f259d9870429c8b014154dea728e5f00

commit 569f0eb3f259d9870429c8b014154dea728e5f00
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2023-06-21 08:42:44 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2024-02-01 21:23:17 +0000

    login.conf(5): Document umask's special value 'inherit'
    
    Reviewed by:            emaste
    Approved by:            emaste (mentor)
    MFC after:              3 days
    Sponsored by:           Kumacom SAS
    Differential Revision:  https://reviews.freebsd.org/D40688
    
    (cherry picked from commit ea9bd448102b938ccb8d4b484684a6ba2d934931)
    
    Approved by:            markj (mentor)
---
 lib/libutil/login.conf.5 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5
index 7449c11f2ba5..b2478bb7a88c 100644
--- a/lib/libutil/login.conf.5
+++ b/lib/libutil/login.conf.5
@@ -255,6 +255,9 @@ from other means.
 .It "timezone	string		Default value of $TZ environment variable."
 .It "umask	number		Initial umask. Should always have a leading 0 to"
 ensure octal interpretation.
+Special value
+.Ql inherit
+explicitly indicates not to change the umask.
 .It "welcome	file	/etc/motd	File containing welcome message."
 .El
 .Sh AUTHENTICATION