From nobody Thu Oct 26 16:15:49 2023 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 4SGW9x56f3z4y0sn; Thu, 26 Oct 2023 16:15:49 +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 4SGW9x4g1qz4PDx; Thu, 26 Oct 2023 16:15:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698336949; 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=t78F7AXUNAPWBSrzL98hi3oaPxYY0EJYGOEpoMi1hJ4=; b=GJOzJaP5kkDSd32mEYXDBl3fN5vTPLdbju09l0M1E4fk6bnRqNzqbPF63XK1n4+9twvwCz Qnp+S5K12LA8wzNmKqxuLUqSEjnAn2DhRgNTi7AT/gGY5QUd10bxLL3FNI2/ZBQKJxeXpa 56lvo8rRHHq34xUvkUd459xAGu0fcUIBwp2gzOXaE0lph0Pim8IyTi1xCOSXMeZRbuLcMs mgaZTp5RPXa/K0n618RaQNJRc9gq5j5axD7+RssdEb1DHZarhKCoqsC5K9XjbfaDeb/j/q etPsiUMTo10Jg2ZVFt9jQ/d8rmn7asoWHdrY90Dcd89mBICDFZ44dYgapbyBNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698336949; 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=t78F7AXUNAPWBSrzL98hi3oaPxYY0EJYGOEpoMi1hJ4=; b=nv3A061VA6mr1YVePUZGAfjrrZOJuIlALynKCGhGLV7ixVjRlTJ+f/RsLRaKWeheGSbUKq +SOm6S4JibdAxAztZv6hDuictHAvSraGArdva0Q5UxsJSLz0O346LGH0gbWW//qymBDHse jUx/4Cr7lbYMIkkzlsJQ0ChKQTB7htXcw4wBNC8SxyTZI4WLjYXfaXCV9/W4B2y2wxyUkK Tqk1TEMu/hsLng84bNyt9sJe3YgJXmChYjqqstPP2ekyd0APi5swgtlW+lRVJuCmcTLpHl 8PMeihbKu8OvJNMlu/kXHhK0ZkRliSqEWdBliGyOeEnIIIa+tvM7jQEH6+zV9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698336949; a=rsa-sha256; cv=none; b=M6BGAktws3ob9cHJ3lQPnuU/81XMfjOSMwQVrGn2AzkER3sut0OtD157FvIwIYHRh3SWGl TWAe7lqnaOIpxOQR9cWkHVMnmWeRxu5KZLdDCo+kplQXliskrO0KDvXxhDrr84SqsrYDGT G1pApTc6blEfNpEphWTT0FziCH1yrtUOBgHznyaZA6yrDgWzfcxjHzCfOXvG1tLWkvP3Mv hsL+VAPxjlOKhF8ec9iWEbN5bODranXuuauiNc2B3EzOoUgicknpRh4wBg0s0Hu6zV0kEZ fSAgCPOC96+RDtkMOTYf7XqwHhOYU3RIivFka+9ij/+HEYZtVVfYTuALkb4mWQ== 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 4SGW9x3jghzdYb; Thu, 26 Oct 2023 16:15:49 +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 39QGFnis056021; Thu, 26 Oct 2023 16:15:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39QGFn6g056018; Thu, 26 Oct 2023 16:15:49 GMT (envelope-from git) Date: Thu, 26 Oct 2023 16:15:49 GMT Message-Id: <202310261615.39QGFn6g056018@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 860b8fec5374 - main - ttys: Document insecure flag 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 860b8fec5374e3d88950ff4160cd04c53c9d571c Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=860b8fec5374e3d88950ff4160cd04c53c9d571c commit 860b8fec5374e3d88950ff4160cd04c53c9d571c Author: Warner Losh AuthorDate: 2023-10-26 16:09:16 +0000 Commit: Warner Losh CommitDate: 2023-10-26 16:12:57 +0000 ttys: Document insecure flag Both the secure and insecure flag is documented in init(8). the secure flag is documented here; however, the insecure flag is not. Nor is the nuance that a line missing the 'secure' flag is also considered insecure. Document both here. Sponsored by: Netflix --- libexec/getty/ttys.5 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libexec/getty/ttys.5 b/libexec/getty/ttys.5 index f0173e0f4516..132b921084d8 100644 --- a/libexec/getty/ttys.5 +++ b/libexec/getty/ttys.5 @@ -111,8 +111,9 @@ path. Otherwise, it is considered a path relative to .Pa /dev . The flag ``secure'' (if the console is enabled) allows users with a -uid of 0 to login on -this line. +uid of 0 to login on this line. +The flag ``insecure'' as well as the absence of the ``secure'' flag +disallows users with uid of 0 to login on this line. The flag ``dialup'' indicates that a tty entry describes a dialin line, and ``network'' is obsolete and does nothing. Either of these strings may also be specified in the terminal type