>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: _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscr...@freebsd.org"