system.shutdown

Authorisation Right in Mac OS X

The system.shutdown authorization right appears in the following versions of Mac OS X.

Mac OS X 10.9 / 10.10 / 10.11 / 10.12

  {
    'class' : 'evaluate-mechanisms',
    'comment' : 'Checked if the foreground console user tries to shut down the system while other users are logged in via fast-user switching.',
    'mechanisms' : [
      'RestartAuthorization:shutdown',
      'builtin:authenticate,privileged',
      'RestartAuthorization:success'
    ],
    'shared' : 'true',
    'tries' : '10000'
  }

Mac OS X 10.6

  {
    'class' : 'evaluate-mechanisms',
    'comment' : 'Checked if the foreground console user tries to shut down the system while other users are logged in via fast-user switching.',
    'mechanisms' : [
      'builtin:smartcard-sniffer,privileged',
      'RestartAuthorization:shutdown',
      'builtin:authenticate,privileged',
      'RestartAuthorization:success'
    ]
  }

Mac OS X 10.7 / 10.8

  {
    'class' : 'evaluate-mechanisms',
    'comment' : 'Checked if the foreground console user tries to shut down the system while other users are logged in via fast-user switching.',
    'mechanisms' : [
      'RestartAuthorization:shutdown',
      'builtin:authenticate,privileged',
      'RestartAuthorization:success'
    ]
  }

See other Mac OS X Authorization Rights.