From nobody Sat Jan 28 12:30:29 2023 X-Original-To: doc@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 4P3v114mQfz3c8sC for ; Sat, 28 Jan 2023 12:30:29 +0000 (UTC) (envelope-from bugzilla-noreply@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 4P3v113l4qz3QLR for ; Sat, 28 Jan 2023 12:30:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674909029; 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: in-reply-to:in-reply-to:references:references; bh=QJbzJiWtcN29B1LQZsAmhEPmwMn25jBstljUEALQAeo=; b=f90Qajq8rM3kOuvjJFJvxBIKyaWTfEvB3NvIqn9+Vt02tOBsLryRYSW9x5imPEoRdoPH7T OPIvXrw3IMDtzke+Gavaw/EPzm5hJYaUD81b2PCaBF+mePiBZYAHGg/HBCDZ2J4hxtfXI8 +1FVkXReG4+xGMVKqk+Lq9lRkWfwpnqManXQVgXrrjVPKsDscvbwXVIsgynghULCvI/aIm NBjqJ4JbhabOKVvJHmyJrlS6pmbL13PkMG/HCl4rb4dnEJPxHSwJO1XWEfYMUBC0AWPbu/ U5C1oZPj95XpwACRS4P65iNP0PUD+BI943pQ6pLWmj2Qyu6BBWCXj4TNVEgdog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674909029; a=rsa-sha256; cv=none; b=CXKSn8RFmYaKKY/ypdK/CreDWHU2bAck4hAjhBBT0q9XTyL4R2Zh/Ms9C5B7/XKjJn/VSr D/VC6ZK5s1u8marACjni1a3Lf8rDwYwpKQV33p1MBN8smpl5/cBDAIIY71FB9Ld35NtWg/ FcVpa5kZPaJ57i+MN569D3cMV/aqOLGL92Z5Kx+O+GHkfVsTzY76yVIUHcjFIDvPUrd9nq OEwDGcCFPV5ddd92F4GwwjUbaa2JoHfH4KNIquq3ZSr5oCV3hVadBav1d9lHc5hn9fWkZC DJfl//+6Tod1yswaLQGzd4Kd6wlnyFVIGIxArkFmqMDtCROBpy3pKql3PGfLYg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4P3v112NlgzpXY for ; Sat, 28 Jan 2023 12:30:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 30SCUTfk072158 for ; Sat, 28 Jan 2023 12:30:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30SCUTv3072157 for doc@FreeBSD.org; Sat, 28 Jan 2023 12:30:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 269193] pw(8) usermod: numeric ID (uid) in lieu of name for option -n Date: Sat, 28 Jan 2023 12:30:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: component see_also version bug_file_loc cc product short_desc bug_status bug_severity flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269193 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- Component|misc |Manual Pages See Also| |https://reviews.freebsd.org | |/D2700 Version|CURRENT |Latest URL| |https://cgit.freebsd.org/sr | |c/tree/usr.sbin/pw/ CC| |doc@FreeBSD.org, | |dteske@FreeBSD.org Product|Base System |Documentation Summary|manpage for pw seems |pw(8) usermod: numeric ID |unclear for usermod and the |(uid) in lieu of name for |use of -n name |option -n Status|New |Open Severity|Affects Only Me |Affects Some People Flags| |maintainer-feedback?(dteske | |@FreeBSD.org) --- Comment #1 from Graham Perrin --- > =E2=80=A6 [-n] =E2=80=A6 Required =E2=80=A6 can be a uid. =E2=80=A6 (In reply to Dennis Clarke from comment #0) I have the same interpretation of what's in the manual page.=20 root@mowa219-gjp4-8570p-freebsd:~ # pw usermod -n 1002 -s sh pw: no such user `1002' root@mowa219-gjp4-8570p-freebsd:~ # pw usermod -s sh -n 1002 pw: no such user `1002' root@mowa219-gjp4-8570p-freebsd:~ # pw usermod -u 1002 -s sh root@mowa219-gjp4-8570p-freebsd:~ # pw usermod -s tcsh -n grahamperrin root@mowa219-gjp4-8570p-freebsd:~ # uname -KU 1400078 1400078 root@mowa219-gjp4-8570p-freebsd:~ # tail -n 2 /var/log/userlog 2023-01-28 11:43:28 [root:usermod] grahamperrin(1002):grahamperrin(1002):Gr= aham Perrin:/home/grahamperrin:/bin/sh 2023-01-28 11:43:50 [root:usermod] grahamperrin(1002):grahamperrin(1002):Gr= aham Perrin:/home/grahamperrin:/bin/tcsh root@mowa219-gjp4-8570p-freebsd:~ #=20 dteske@ please are we misinterpreting? Or has there been a change in behavi= our of the command? --=20 You are receiving this mail because: You are on the CC list for the bug.=