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.
Modified files: Index: src/usr.bin/su/su.1 diff -u src/usr.bin/su/su.1:1.54 src/usr.bin/su/su.1:1.55 --- src/usr.bin/su/su.1:1.54 Sun Sep 1 19:12:16 2019 +++ src/usr.bin/su/su.1 Fri Mar 24 14:34:17 2023 @@ -26,7 +26,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)su.1 8.2 (Berkeley) 4/18/94 -.\" $NetBSD: su.1,v 1.54 2019/09/01 19:12:16 wiz Exp $ +.\" $NetBSD: su.1,v 1.55 2023/03/24 14:34:17 kre Exp $ .\" .Dd September 1, 2019 .Dt SU 1 @@ -72,6 +72,14 @@ is omitted and is provided (form two above), then .Ar login is assumed to be the current username. +If neither +.Ar login +nor +.Ar group +is provided, +.Dq root +is used for +.Ar login . .Pp When executed by a user, the .Ar login