https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250405

            Bug ID: 250405
           Summary: su -c: inaccurate manpage
           Product: Base System
           Version: 12.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: b...@freebsd.org
          Reporter: uzs...@uzsolt.hu

The su(1) writes:
  The options are as    follows:

     -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.


But in the examples:
     su -m operator -c poweroff
            Starts a shell as user operator, and runs the command poweroff.

So the "-c" doesn't specify the login class instead with it can run a command
as an another user.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to