From nobody Sat Jan 28 12:30:29 2023 X-Original-To: bugs@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 4P3v116gz8z3c8sD 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 4P3v115d6xz3Q94 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=n78Aev/1hrAGs1zH5D1vOBSaUzq/8hHpX+xl+EXhV/I=; b=Fcbj1O8Xf1pkZhiqs+VEE8I7Eyezlp0OijrMPq133nu4C9N723kWJs/+HbR24rLgLtgh7u wmIKHKSUHXUY3P6I6VMgkx33hAE2jrOD6pocotBNnz1Evsj0Vw9N3ruLTtCoczFRtGuSYR 1sS7BrsuO/gGLHFqNb8Um1jgd2NHMKpmXjKmTs0jJLJvI6kmIjnmHBU8qkpdADA9drP2m2 1wJ+lm9yuQzEcaJN83bgDVsYlZZeQaFC7hZN+WG0xOArbgcH97Gr9VDmaHJkr84ZjZym7P 80uj8T/5xaOgb5DeA444/QBnOrD3QUBfDlLOiRyFjglJOlnolRPG873r8hsgiA== 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=MTwFgz994Q1+kjCmTl1ydB4xTgDjNuXh0PYUNV8q55i1rgl56A1ETGnJWKlIHBxkFm2r7f 8c1NCo3xSZ7stPAqO9dSFMSzGVEOMVxmQKr1yHMGBzAtl/OuBy516MihT50XNGKNbw54VI 0kJc1UPGJ4qejzcWpUaNWsRr829rrrVAPQQnG/yDE44Ga3lQBWVgg3zI413rzmC+9KhQu8 r02E7AW0zL1bMY/13Z8HcX5XaktbGki1olnU2PraWiuA4RAWt+Xzuft2iizQi7wNOFsLrI 7/72kisJvq74UiZQrnThgbVDKrEFfIlxbAVmAExRp4IMDcXSIjvjn+0bf8A8Ng== 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 4P3v114kFPzplT 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 30SCUTZ6072168 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 30SCUTCX072167 for bugs@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: bugs@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: AssignedTo 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@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 the assignee for the bug.=