跳到正文

Privileges 版本记录

SAP SE · 一款用于申请临时管理员权限的 macOS 应用,支持设置权限有效期并提供命令行工具。

Cask安全与隐私 2,123
主页
安装命令
brew install --cask privileges
近 30 天安装
50
App榜第 1397
近一年安装
1,351
365 天累计
最新版本
2.6.0
下载大小
15MB
pkg
更新节奏
不定期
近 30 天 0 个版本
  1. 2.6.0

    最新

    OpenNavo 编辑 Homebrew 收录

    新增使用政策确认、扩展的权限变更审计和由应用触发的自动续期;修复两个应用问题、更新本地化文本,并将最低 macOS 版本提高至 12.0。

    功能
    首次申请前可要求用户确认使用政策。使用 PrivilegesCLI --history 查看符合条件的 30 天审计日志。指定应用运行且权限即将到期时自动续期。使用 ActionExecutableChecksum 验证 RenewalCustomAction。
    变更
    macOS 14 及更高版本记录管理员组成员变动,包括外部操作。修复请求对话框打开时无法通过“文件”或 Command-Q 退出的问题。修复启用系统扩展时可在应用包内创建文件的问题。最低支持的 macOS 版本现为 12.0。

    Privileges 2.6.0 支持要求用户在首次申请管理员权限前确认使用政策。将 Policy.txt、Policy.rtf 或 Policy.rtfd 放入 /Library/Application Support/Privileges/,或配置 UsagePolicy。政策文件最大支持 5 MB。

    ActionExecutableChecksum 可验证通过 RenewalCustomAction 运行的脚本或二进制文件的完整性。此版本还修复了 2.5.3 引入的问题:指定 PostChangeExecutablePath 和 PostChangeExecutableChecksum 时,RenewalCustomAction 无法运行。在 macOS 14 及更高版本中,系统扩展会记录管理员组成员的添加和移除,包括由 Privileges 以外方式发起的更改。PrivilegesCLI --history 可显示过去 30 天内与审计相关的条目,但仅限 Privileges 2.6.0 或更新版本创建的日志。若要获取更详细的报告,建议启用 Privileges System Extension,并配合使用 --json 参数。

    新增的 AutoRenewalProcessPaths 设置会在指定应用运行且权限即将到期时自动续期,并独立于 AllowPrivilegeRenewal 工作。现在可将应用或脚本拖到设置弹出按钮上,以配置变更后操作。本版支持通过即将推出的 Patcher 应用自动更新,修正本地化文本,并修复两个应用问题。最低 macOS 版本:12.0。

    官方发行说明

  2. 2.5.3

    补丁

    OpenNavo 编辑 Homebrew 收录

    新增严格原因预设和用于验证变更后可执行文件的 SHA-256 校验,并增加日志,修复键盘导航、macOS 26 对话框及部分更新失败问题。

    管理
    新增 ReasonStrictPresetList,可强制用户从定义的原因选项中选择。新增 PostChangeExecutableChecksum,用于 SHA-256 校验。
    修复
    增加罕见组成员资格变更失败情况的日志。修复键盘导航和 macOS 26 对话框图标问题。修复系统扩展启用时某些情况下的应用更新失败。

    Privileges 2.5.3 新增两个管理键。将 ReasonStrictPresetList 设为 true 后,ReasonPresetList 将按定义使用,不会添加额外的“Other…”选项。与 ReasonRequired 配合使用时,管理员可以要求用户从列出的值中选择。PostChangeExecutableChecksum 与 PostChangeExecutablePath 配合,用预期的 SHA-256 校验和验证脚本或二进制文件;只有校验和匹配时才会执行文件。校验不匹配时,启动会静默失败,仅记录校验和不匹配的日志。

    此版本还为罕见的组成员资格无法变更情况增加日志,并修复键盘导航问题、macOS 26 中请求或撤销管理员权限的对话框不显示应用图标的问题,以及系统扩展启用时某些情况下应用更新失败的问题。

    来源:Privileges 2.5.3 发布说明

  3. 2.5.2

    补丁

    OpenNavo 编辑 Homebrew 收录

    新增用于将用户排除在自动撤销权限之外的管理键,并为 PrivilegesDaemon 配备独立日志子系统。

    管理
    新增三个用于排除自动撤销对象的键。权限变更日志现在会写入持久日志存储。

    Privileges 2.5.2 新增三个用于将用户排除在自动撤销权限之外的管理键:RevokeAfterTimeChangeExcludedUsers、RevokeOnScreenLockExcludedUsers 和 AutomaticRevocationExcludedUsers。前两个键分别适用于已启用的系统时间变更或屏幕锁定撤销功能。AutomaticRevocationExcludedUsers 可将用户排除在所有自动撤销之外,并优先于其他排除键进行评估;用户若列在该键中,其他排除键便不会再被评估。对于支持在配置描述文件中使用变量的客户端管理系统,此处可使用 $USERNAME 等变量。

    PrivilegesDaemon 现在使用自己的日志子系统。要查看权限变更日志,请运行 log show --predicate 'subsystem == "corp.sap.privileges.daemon" AND category == "privchange"'。安装包还会确保这些日志写入持久日志存储,因此其可用时间比以前的 Privileges 版本更长。

    官方发行说明

  4. 2.5.1

    展开

    GitHub Release Homebrew 收录

    What's new?

    • Added a new configuration key RevokePrivilegesOnScreenLock which ensures that admin rights are revoked whenever the screen is locked.
    • Fixed an issue where syslog messages used the computer name instead of the local host name, which could break syslog RFC compliance.
    • Fixed an incorrect behavior of the Run after privilege change popup button in the Privileges Settings window.
  5. 2.5.0

    展开

    GitHub Release Homebrew 收录

    What's new?

    This release of Privileges introduces a powerful system extension, designed to prevent unauthorized modifications, deactivation, or uninstallation of Privileges and its components. This is a major step forward in making Privileges even more secure.

    You can enable or disable the system extension either by using the new -e or --extension argument in PrivilegesCLI or by a configuration profile using the new EnableSystemExtension key. Once enabled, it prevents Privileges from being renamed, copied, or deleted. It also prevents the unloading of the Privileges launchd plists with the commands launchctl unload or launchctl bootout.

  6. 2.4.2

    展开

    GitHub Release Homebrew 收录

    What's new?

    • In addition to the RequireBiometricAuthentication option introduced in Privileges 2.4.0, the new BiometricsFallbackType option now allows you to configure how to handle cases where biometric authentication is unavailable. By default, users are prompted to enter their username and password if biometric authentication is not configured or is unavailable. However, this may not be the desired behavior in all environments. It can be changed as follows:

      • 0: If biometric authentication is unavailable or not configured, the user will be prompted to enter their username and password. (default)

      • 1: If biometric authentication is unavailable, the user will be prompted to enter their username and password. If biometric authentication is available but has not been configured, authentication will fail.

      • 2: If biometric authentication is unavailable or not configured, authentication will fail.

    • The app now includes icons for macOS 26. Unfortunately, there is currently no supported way to use the new icons in a Dock Tile plugin. Therefore, we have built a workaround that enables the use of the new icons. However, there is currently a bug in the Dock that causes programmatically set icons to display incorrectly under certain conditions. This is particularly noticeable in the Tinted/Light and Clear/Light appearance modes. We have opened a support ticket with Apple regarding this issue.

  7. 2.4.1

    展开

    GitHub Release Homebrew 收录

    What's new?

    • After careful consideration, we have decided to add an optional timer to the Privileges status menu. While we still recommend leaving it disabled for efficiency reasons, you can now enable it in the app's settings and using the key ShowRemainingTimeInMenuBar in a configuration profile.

    • As requested in issue 237, we changed the behavior of the Dock Tile and the status item. Rather than disabling the Request Privileges menu entry when the user is required to provide a reason for becoming an admin, we now launch the Privileges app, which improves the user experience.

    • The new version better addresses the very rare case where Privileges is unable to identify the current console user. This only occurs with corrupt user accounts, and is now properly handled and logged.

    • We added another three new preference keys ForceUpdatePrebootVolume, RenewalNotificationInterval and RevokePrivilegesAfterSystemTimeChange:

      • When ForceUpdatePrebootVolume is set to true, the PrivilegesDaemon runs the command /usr/sbin/diskutil apfs updatePreboot / whenever a user's privileges change. You should normally never have to enable this function because the preboot volume is updated automatically after a while. However, we implemented this feature because it seems to be needed in some environments.
      • RevokePrivilegesAfterSystemTimeChange makes sure the user's administrator privileges are revoked if the system time did change. This feature should prevent users from extending their admin time by adjusting the time on their Mac. If you enable this feature, please be aware that users with admin rights can extend or retain their admin rights in various other ways. Therefore, this feature offers no protection against users misusing their admin rights.
      • RenewalNotificationInterval allows you to specify when Privileges should notify your users to renew their administrator privileges. By default, Privileges notifies users one minute before their admin rights expire but now you can change this interval to whatever works best for you.


      You can find more information about the new keys in our wiki.

    • Besides of this we fixed some minor issues and added some additional logging.

  8. 2.4.0

    展开

    GitHub Release Homebrew 收录

    What's new?

    • If you've configured Privileges with a maximum expiration interval, there is now a new key MaxIntervalInitial that allows you to define the initial interval to use. So you could now define a maximum interval of 60 minutes and set the initial interval to 10 minutes. This will only work as long as the user has not selected an expiration interval. So it's good for the initial setup of a Mac.

    • Unsent syslog or webhook events can now be queued. So if a user does not have an internet connection, these events are not lost as in previous versions of Privileges, but are queued. To enable event queueing, set the new QueueUnsentEvents key to true. Additionally, you can configure the maximum number of events that should be queued by using the QueuedEventsMax key. Here's how event queueing works:

      • If an event (syslog or webhook) cannot be sent, it will be stored locally in /Library/Application Support/Privileges/QueuedEvents.plist.
      • The app attempts to send unsent events at the next privilege change, as well as at various intervals. Retries will occur after approximately 5, 15, 30, and 60 minutes, followed by retries every other hour.
      • If, due to configuration changes, webhook and syslog events are mixed in the event queue, only the events that match the currently configured logging type are resent. Events of a different logging type are discarded.
      • We make sure that the events are sent in the correct order. So the current event will be sent after the queued events.
      • Webhook events have a new delayed key, that is set to true for queued events. This makes it relatively easy for the receiver to identify these events.
      • Events that still could not be sent are returned to the event queue. If the number of unsent events is greater than QueuedEventsMax, the oldest events are discarded. Setting QueuedEventsMax to 0 means that an unlimited number of events will be queued (not recommended).
    • A new configuration key RequireBiometricAuthentication has been added. If RequireAuthentication is enabled, this new key can be used to force biometric authentication. If Touch ID is configured, the user can only authenticate using Touch ID and cannot use a username and password as a fallback. If the machine does not support biometric authentication or is not configured for it, the user will still be asked for a username and password.

    • Fixed an issue where a misconfiguration of the RevokeAtLoginExcludedUsers could cause unwanted application behavior.

    • We also optimized the mTLS code to improve its handling of certain certificates.

  9. 2.3.0

    展开

    GitHub Release Homebrew 收录

    What's new?

    • mTLS is now supported for webhooks. So if you configure your web server to require a client certificate, Privileges will present it if it's found in one of the keychains. **Please make sure PrivilegesAgent has access to the corresponding private key to avoid being prompted for access.**If you want to learn more about mTLS, I highly recommend our colleague Henry Stamerjohann's session "What about mutual TLS?" from the 2021 MacSysadmin conference.

    • Managed settings are now clearly marked as managed as you know it from System Settings.

    • For those who don't like notifications, a new management key RenewalCustomAction has been added, that allows you to run a script or binary before administrator privileges expire. So you can inform your users with a dialog or whatever works best in your environment. Please see the Wiki for detailed information about the new key.

    • Privileges now notices when privileges are changed by another process. To do this, it includes a new daemon called PrivilegesWatcher. The daemon is started whenever the file /var/db/dslocal/nodes/Default/groups/admin.plist is changed. It notifies the PrivilegesAgent of the change, and the agent then determines whether the change was expected or not. Unexpected changes are logged and the UI of all Privileges components are updated to reflect the change. The log message will look like this:

 SAPCorp: Administrator privileges for user xxxx have been changed by another process


    • Added some code to verify group membership after changing it.

    • PrivilegesCLI got a new command line argument -v or --version which displays version information.

    • The syslog code has been rewritten and improved. Now syslog messages can also be sent using octet counting (instead of just non-transparent framing). In addition to this you can now include structured data elements in your syslog message. To configure all this, we introduced the new management keys MessageFormat and StructuredData. Please see the Wiki for detailed information about these new keys.

    • Created a new and improved dynamic JSON Schema manifest for Jamf Pro.

    • Fixed some minor issues.

  10. 2.2.0

    展开

    GitHub Release Homebrew 收录

    What's new?

    • If you require your users to provide a reason for requesting administrator privileges, you can now pass the reason to PrivilegesCLI as an argument (using --reason or -n).

    • Smartcard/PIV token support can now be enabled using the new EnableSmartCardSupport key. So if your users need to authenticate in order to get admin rights, they can now do so using their paired token. Just set EnableSmartCardSupport to true.

    • Fixed an issue where the Dock Tile and Status Item would allow users to renew their privileges even if they had set the expiration interval to Never.

    • Fixed an issue where the Status Item did not disappear if it was enabled using a configuration profile and the configuration profile was removed.

    • The installer package is provided for the first time in two different versions. One containing launch constraints, and one without launch constraints. This is due to some reports we got about issues running the app in macOS 13, als macOS erroneously reports a launch constraint violation. So if you have problems running the regular version of Privileges on macOS 13, please use the noLC package. Nevertheless, we recommend using the version with launch constraints whenever possible.

  11. 2.1.0

    展开

    GitHub Release Homebrew 收录

    New in Privileges 2.1

    • For those of you who don't want to have Privileges in your Dock, this version comes with a status item that can be displayed in the menu bar. It provides the same functionality as the Dock Tile plugin. To see the remaining time you have admin rights, just move the mouse over the status item.

    • You can now renew expiring administrator privileges. You can either wait for the notification that appears one minute before administrator privileges expire, or you can renew administrator privileges at any time using the Privileges app, the Dock tile, the status item, or PrivilegesCLI as follows:
    1. Make sure privilege renewal is enabled in the app's settings.

    2. Privileges app: Run the app while you have administrator privileges. If the Revoke Privileges dialog appears, simply hold down the Option key and the Revoke Privileges button will change to Renew Privileges. Press the button while still holding the Option key to renew privileges.

    3. Dock Tile and the new Status Item: Right-click the Dock tile while you have administrator privileges. When the menu appears, hold down the Option key and the menu item Revoke Privileges will change to Renew Privileges. To renew privileges, click the menu item while still holding the Option key.

    4. PrivilegesCLI: As long as you have administrator privileges, run PrivilegesCLI with the -a or --add argument, and your privileges will be renewed.

    • Specific users can now be excluded from having administrator privileges revoked at login using a configuration profile.

    • The help button (?) can now be hidden or can be configured to open a custom url. So you can now direct your users to an internal support page instead of our GitHub page.

    • Custom data can now be passed to a webhook. Include information such as the machine's serial number, computer name, or any other information that is relevant to your environment.

    • To make integration with some 3rd party solutions easier, we have added an event field to the webhook's JSON.

    • If your environment requires people to enter a reason to become an admin, and you have configured an executable to run when privileges change, the reason can now be passed to that executable as argument $3.

    • Introduced the new management keys: AllowPrivilegeRenewal, HelpButtonCustomURL, HideHelpButton, HideSettingsFromStatusItem, PassReasonToExecutable, RenewalFollowsAuthSetting, RevokeAtLoginExcludedUsers, ShowInMenuBar, WebhookCustomData. See the wiki or the sample profile in the app's Resources folder for details.

    • The app's settings window has been redesigned.

    • Especially for our friends and colleagues in Bulgaria, we have added a Bulgarian localization.

    • Made some changes in order to comply with the European Accessibility Act.

    • Fixed an issue that caused admin accounts to lose their admin privileges under certain circumstances.

    • If the Privileges app is open and privileges are changed while the app is still open (expired or changed using PrivilegesCLI), this is now properly reflected in the app.

    • Implemented a workaround for issue #128.

  12. 2.0.0

    展开

    GitHub Release Homebrew 收录

    Changes

    • Privileges now uses a unified expiration interval. So whether you request privileges using the application, the Dock Tile, or the command-line tool, they all have the same expiration interval, and administrator privileges expire after the time you configured.
    • Touch ID is now also available in the command line tool. This makes using it more convenient, even in environments with complex password requirements.
    • Administrator privileges can now be automatically revoked at login, so users can always be sure to start as a standard user.
    • An application or a script can be executed whenever privileges change. This allows you to create custom workflows that fit perfectly in your environment.
    • Privileges can now call a webhook whenever privileges change. This allows administrators to set up complex workflows and seamlessly integrate Privileges into their existing landscape.
    • AppleScript can now be used to get information about the status of the current user's privileges. Especially for scripts, this new feature makes it easier than ever to determine if a user has administrator privileges and when they expire.
    • Privileges now comes as a signed and notarized macOS installer package to make the deployment of the app easier than ever before.
    • Localized in 40 languages, to make it even more useful for a wider audience.
    • Stunning new app icon.

    Privileges 2.0.0 runs on macOS 11 or newer.

  13. 1.5.3

    展开

    GitHub Release

    Changes

    • Added support for the following keys associated with the ReasonRequired key:

      • ReasonMaxLength
      • ReasonPresetList

    For more details, please see the Managing Privileges documentation in the wiki.

    The following issues were addressed as part of this release:

    Privileges 1.5.3 has been tested and verified to run on the following OS versions:

    • macOS 10.12.6
    • macOS 10.13.6
    • macOS 10.14.6
    • macOS 10.15.7
    • macOS 11.6.7
    • macOS 12.4
    • macOS 13 beta 1

    Note: Xcode 13.2 or later is required to build Privileges 1.5.3 from source.

  14. 1.5.2

    展开

    GitHub Release

    Changes

    • Added support for macOS Big Sur
    • Added support for the DockToggleMaxTimeout key,

    Privileges 1.5.2 has been tested and verified to run on the following OS versions:

    • macOS 10.12.6
    • macOS 10.13.6
    • macOS 10.14.6
    • macOS 10.15.7
    • macOS 11.0.1

    Note: Xcode 12.2 or later is required to build Privileges 1.5.2 from source.

  15. 1.5.1

    展开

    GitHub Release

    • Fixed an issue where an unauthorized application could talk to the Privilege Helper tool (also partly addressed in 1.5.0.)
    • Fixed an issue where an unauthorized application could elevate privileges beyond what Privileges has been designed for (also addressed in 1.5.0.)
    • Further improved XPC security to make sure an unauthorized application cannot talk to the Privilege Helper tool.
    • Fixed an issue introduced in version 1.5.0 where the Dock Tile did not behave as expected if the key RequireAuthentication has been used.

    Privileges 1.5.1 has been tested and verified to run on the following OS versions:

    • macOS 10.12.6
    • macOS 10.13.6
    • macOS 10.14.6
    • macOS 10.15.3

    We would like to acknowledge the assistance of Csaba Fitzl (@theevilbit) with identifying vulnerabilities in previous versions of Privileges and verifying that they are resolved.

  16. 1.5.0

    展开

    GitHub Release

    Changes

    • The Privileges app is now sandboxed.
    • Added VoiceOver support to make the app accessible to people with visual impairments.
    • Added a managed preference key RequireAuthentication which makes Privileges require user authentication (password or TouchID) before granting admin rights.
    • Added the managed preference keys LimitToUser and LimitToGroup which allows to limit the usage of Privileges to a certain user or user group.
    • Added the managed preference keys ReasonRequired and ReasonMinLength. You may use these keys to ask the user for a reason for becoming an admin user (and specify a minimum number of characters the user must enter.)
    • Added a managed preference key RemoteLogging which allows to configure a remote syslog server, Privileges should send a log message to, whenever a user changes admin rights. No local forwarder needed.
    • Added a new argument --status to PrivilegesCLI what makes the tool return if the current user has admin rights or not.
    • Updated the icons to fit the Catalina icon appearance.
    • Privileges is now completely localized (even the menus and the preferences window).
    • Fixed an issue which allowed a user to bypass managed preference restrictions by running an older version of Privileges or PrivilegesCLI.
    • Fixed an issue that occurred if EnforcePrivileges has been set to none and made the app not work as expected.
    • Fixed an issue where an unauthorized application could talk to the Privilege Helper tool.
    • Fixed an issue where an unauthorized application could elevate privileges beyond what Privileges has been designed for.

    Privileges 1.5.0 has been tested and verified to run on the following OS versions:

    • macOS 10.12.6
    • macOS 10.13.6
    • macOS 10.14.6
    • macOS 10.15.3
  17. 1.0.5

    展开

    GitHub Release

    Privileges 1.0.5 has been tested and verified to run on the following OS versions:

    • macOS 10.12.6
    • macOS 10.13.6
    • macOS 10.14.6
    • macOS 10.15.1

    The new management options for Privileges 1.0.5 and later have also been tested and verified to work on the OS versions listed above.

  18. 1.0.3

    展开

    GitHub Release

    First release of Privileges.app as an open-source application.

    Privileges 1.0.3 has been tested and verified to run on the following OS versions:

    macOS 10.12.6 macOS 10.13.5 macOS 10.13.6 macOS 10.14.0 beta 2