From owner-freebsd-doc@FreeBSD.ORG Wed Dec 4 05:10:00 2013 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6B62D80 for ; Wed, 4 Dec 2013 05:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 88B9610FD for ; Wed, 4 Dec 2013 05:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB45A0sm016363 for ; Wed, 4 Dec 2013 05:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB45A0Nq016362; Wed, 4 Dec 2013 05:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 4 Dec 2013 05:10:00 GMT Resent-Message-Id: <201312040510.rB45A0Nq016362@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, Ryan Gerstenkorn Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3F66BD3 for ; Wed, 4 Dec 2013 05:06:36 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9164E10D8 for ; Wed, 4 Dec 2013 05:06:36 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rB456aYB048720 for ; Wed, 4 Dec 2013 05:06:36 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rB456aDJ048705; Wed, 4 Dec 2013 05:06:36 GMT (envelope-from nobody) Message-Id: <201312040506.rB456aDJ048705@oldred.freebsd.org> Date: Wed, 4 Dec 2013 05:06:36 GMT From: Ryan Gerstenkorn To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: docs/184487: su(1) incorrect description for -c flag X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2013 05:10:00 -0000 >Number: 184487 >Category: docs >Synopsis: su(1) incorrect description for -c flag >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: Wed Dec 04 05:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ryan Gerstenkorn >Release: 9-STABLE >Organization: >Environment: FreeBSD FreeBSD92 9.2-STABLE FreeBSD 9.2-STABLE #2: Tue Dec 3 15:48:43 PST 2013 root@FreeBSD92:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The man page for su(1) says the following: "-c class Use the settings of the specified login class. The login class must be defined in login.conf(5). Only allowed for the super- user." However su actually treats the argument to -c as a command and runs it as the target user. The actual behavior is describe correctly in the EXAMPLES section. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: