Date: Wed, 4 Dec 2013 05:06:36 GMT From: Ryan Gerstenkorn <ryan_gerstenkorn@fastmail.fm> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/184487: su(1) incorrect description for -c flag Message-ID: <201312040506.rB456aDJ048705@oldred.freebsd.org> Resent-Message-ID: <201312040510.rB45A0Nq016362@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312040506.rB456aDJ048705>