From owner-freebsd-doc@FreeBSD.ORG Fri Oct 14 15:40:04 2011 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90FB1106564A for ; Fri, 14 Oct 2011 15:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5419C8FC0A for ; Fri, 14 Oct 2011 15:40:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9EFe4jv070352 for ; Fri, 14 Oct 2011 15:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9EFe4Ko070351; Fri, 14 Oct 2011 15:40:04 GMT (envelope-from gnats) Resent-Date: Fri, 14 Oct 2011 15:40:04 GMT Resent-Message-Id: <201110141540.p9EFe4Ko070351@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Luchesar V. ILIEV" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51E6A106566C for ; Fri, 14 Oct 2011 15:36:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 414168FC13 for ; Fri, 14 Oct 2011 15:36:56 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9EFatZa032611 for ; Fri, 14 Oct 2011 15:36:55 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p9EFatHd032610; Fri, 14 Oct 2011 15:36:55 GMT (envelope-from nobody) Message-Id: <201110141536.p9EFatHd032610@red.freebsd.org> Date: Fri, 14 Oct 2011 15:36:55 GMT From: "Luchesar V. ILIEV" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/161588: Missing "-l name" option from pw(8) USER section X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2011 15:40:04 -0000 >Number: 161588 >Category: docs >Synopsis: Missing "-l name" option from pw(8) USER section >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 14 15:40:03 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Luchesar V. ILIEV >Release: stable/8, stable/9, head >Organization: i.dea.is >Environment: Irrelevant. >Description: The "-l name" option to "pw usermod" is mentioned in the SYNOPSIS section of usr.sbin/pw/pw.8 man page, but there's no detailed information about it in the USER OPTIONS section -- unlike the respective option to "pw groupmod", which is documented in GROUP OPTIONS. The option itself is working as expected, and usr.sbin/pw/pw.c's short help also lists it. >How-To-Repeat: % man 8 pw >Fix: A basic patch for usr.sbin/pw/pw.8 is attached. Patch attached with submission follows: --- pw.8.orig 2011-09-29 22:07:38.644980000 +0300 +++ pw.8 2011-10-14 01:06:09.154416254 +0300 @@ -714,6 +714,17 @@ system. .Pp The +.Ar usermod +command adds one additional option: +.Bl -tag -width "-G grouplist" +.It Fl l Ar name +This option allows changing of an existing account name to +.Ql \&name . +The new name must not already exist, and any attempt to duplicate an existing account +name will be rejected. +.El +.Pp +The .Ar usershow command allows viewing of an account in one of two formats. By default, the format is identical to the format used in >Release-Note: >Audit-Trail: >Unformatted: