Date: Fri, 21 Jul 2006 19:00:19 GMT From: Luke Kanies <luke@madstop.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/100684: 'pw groupadd' does not accept -o, contrary to man page Message-ID: <200607211900.k6LJ0Jnp032923@www.freebsd.org> Resent-Message-ID: <200607211900.k6LJ0X5Q064709@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100684 >Category: bin >Synopsis: 'pw groupadd' does not accept -o, contrary to man page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 21 19:00:32 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Luke Kanies >Release: 5.4-RELEASE >Organization: Reductive Labs >Environment: FreeBSD freebsd1.madstop.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The man page of 'pw' claims that both useradd and groupadd arguments accept the '-o' option, to override GUI or UID. This works fine with useradd, but not with groupadd. >How-To-Repeat: Try to call 'pw groupadd' with -o: luke@freebsd1(0) $ sudo pw groupadd group2 -g 125 -o pw: illegal option -- o pw: unknown switch luke@freebsd1(64) $ The number in parens, 0 then 64, is $?; thus, pw is exiting with the code 64. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607211900.k6LJ0Jnp032923>