From nobody Sun Apr 10 22:08:36 2022 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 DCA791AAF987 for ; Sun, 10 Apr 2022 22:08:36 +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 4Kc5jJ4S1sz4Snf for ; Sun, 10 Apr 2022 22:08:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 7948C16A65 for ; Sun, 10 Apr 2022 22:08:36 +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 23AM8aV5054221 for ; Sun, 10 Apr 2022 22:08:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23AM8aQq054220 for bugs@FreeBSD.org; Sun, 10 Apr 2022 22:08:36 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 263188] pw accepts an "illegal option" but completes the command without error Date: Sun, 10 Apr 2022 22:08:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dclarke@blastwave.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649628516; 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=grhQ45J3nAclwfQY8MQbrFj3bWeqeTPxjAXfHRb08Xg=; b=uhGlkiXbb2KMxUFN7rdVxbzsS6W5TomHIia55k6J+BpR4kJpSfmMM7Dx3amyTqpkh3PR9D PdhKCnqcCB5cZo22BMwxFeCGoPd/zGTBAZtmD+X9qozj1QbxbD8FhhJrktpmXNPzqrhJhB MGzWuHX39SnHhwo/Ds5EpHLZ1LeGX82c+gnVRkR/ihof3S9zHUbBYdpLBMWnvblGkRAW4/ shlq35zuy2Eolk7cLo+tmoHC3eJoYX9FvGEDpPrYNa+P99y74nG2j7Q/afIpgHjgcKPF3e O/iwQxEO42qb0Ltcp5uGw2X+ws6y/TPRKTmJD6kY5uF6yvF4Fw2rsLFDRFk18Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649628516; a=rsa-sha256; cv=none; b=gta8xsvrILgtfmhO0zfTmvE6a2PR7Bm7Sb5mI8o4nlI2rQwl7ajpmQ8ScpMQE1yHfwSLrh yDK5YaqsTSCSwyMYHgwIixlrl7Rx4aRZ5xN57vby3p1BbnY2EZt4fi3ovQqzMtCTpCeqNd ajCrcYTmTkRAojkutT833ziZCgAChrjnmAXV6MRM+lRPUS2WpgIxO9njK8Y3q98Di7mTOm xMH41qMOl3rXT/sN2B/cEHuE0naxvio/01zjt+FunMPyJ5A+CPcAJrjtnqg0z7Vnjorm5T ASNu5RtviQlPDge1VxPxB14oVa/QvEM5cuiVpkTzCmW8od1SEFflByDfB4AoDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263188 --- Comment #4 from Dennis Clarke --- https://cgit.freebsd.org/src/tree/usr.sbin/pw/README pw is a command-line driven passwd/group editor utility that provides an easy and safe means of modifying of any/all fields in the system password files, and has an add, modify and delete mode for user and group records. Command line options have been fashioned to be similar to those used by the Sun/shadow commands: useradd, usermod, userdel, groupadd, groupmod, groupdel, but combines all operations within the single command `pw'. User add mode also provides a means of easily setting system useradd defaults (see pw.conf.5), so that adding a user is as easy as issuing the command "pw useradd ". Creation of a unique primary group for each user and automatic membership in secondary groups is fully supported. This program may be FreeBSD specific, but should be trivial to port to other bsd4.4 variants. Author and maintainer: David L. Nugent, $FreeBSD$ --=20 You are receiving this mail because: You are the assignee for the bug.=