Bug 184487

Summary: su(1) incorrect description for -c flag
Product: Documentation Reporter: Ryan Gerstenkorn <ryan_gerstenkorn>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ryan Gerstenkorn 2013-12-04 05:10:00 UTC
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.
Comment 1 Ryan Gerstenkorn 2013-12-04 05:26:18 UTC
Ok nevermind, I was confused, this can be closed.
Comment 2 Glen Barber freebsd_committer freebsd_triage 2013-12-04 05:31:23 UTC
State Changed
From-To: open->closed

Closed at submitters request.