NetBSD Problem Report #57287

From www@netbsd.org  Fri Mar 24 04:08:13 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B7C1F1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 24 Mar 2023 04:08:13 +0000 (UTC)
Message-Id: <20230324040812.EB8671A923C@mollari.NetBSD.org>
Date: Fri, 24 Mar 2023 04:08:12 +0000 (UTC)
From: nan@chinadtrace.org
Reply-To: nan@chinadtrace.org
To: gnats-bugs@NetBSD.org
Subject: A minor suggestion of su(1) manual
X-Send-Pr-Version: www-1.0

>Number:         57287
>Category:       misc
>Synopsis:       A minor suggestion of su(1) manual
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 24 04:10:00 +0000 2023
>Closed-Date:    Fri Mar 24 15:51:30 +0000 2023
>Last-Modified:  Fri Mar 24 15:51:30 +0000 2023
>Originator:     Nan Xiao
>Release:        
>Organization:
>Environment:
>Description:
Hi NetBSD community,

Greetings from me!

Maybe a nitpick, but I think for su(1) manual: https://man.netbsd.org/su.1, we should mention it explicitly: "If both
login and group are not specified, “root” is used."

If you think no need, just reject this issue, thanks! I posted this suggestion in netbsd-docs mailing list originally: https://mail-index.netbsd.org/netbsd-docs/2023/03/18/msg000643.html, but no one replied, so I reposted it here, sorry.

Best Regards
Nan Xiao
>How-To-Repeat:
N/A
>Fix:
N/A

>Release-Note:

>Audit-Trail:
From: "Robert Elz" <kre@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/57287 CVS commit: src/usr.bin/su
Date: Fri, 24 Mar 2023 14:34:17 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Fri Mar 24 14:34:17 UTC 2023

 Modified Files:
 	src/usr.bin/su: su.1

 Log Message:
 PR misc/57287 from Nan Xiao

 While it has always been assumed that everyone "just knew" that a simple
 "su' meant "su root" perhaps the man page really should make that explicit.

 Do that (using slightly different wording than suggested in the PR).


 To generate a diff of this commit:
 cvs rdiff -u -r1.54 -r1.55 src/usr.bin/su/su.1

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: kre@NetBSD.org
State-Changed-When: Fri, 24 Mar 2023 15:51:30 +0000
State-Changed-Why:
su(1) man page updated, much as requested.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.