MAC显示解锁记录(show last times the screen was unlocked in mac os)

(Test on mac os 13)

A.显示所有用户(show all users)

终端输入以下命令(Enter the following commands in the terminal)

bash 复制代码
log show --style syslog --predicate 'process == "loginwindow"' --debug --info | grep "LUIAuthenticationServiceProvider deactivateWithContext:]_block_invoke" | grep "LocalAuthentication.AuthenticationHintsProvider self.userName"

B.显示特定用户(show specific user )

终端输入以下命令,将"YourUserName"替换为需要查找的用户名(Enter the following commands in the terminal,change "YourUserName" to ther user name you want)

bash 复制代码
log show --style syslog --predicate 'process == "loginwindow"' --debug --info | grep "LUIAuthenticationServiceProvider deactivateWithContext:]_block_invoke" | grep "LocalAuthentication.AuthenticationHintsProvider self.userName YourUserName"
相关推荐
pe7er1 天前
macOS 应用无法打开(权限问题)解决方案
macos·mac
harmful_sheep4 天前
mac生效的终端查看
macos
iOS门童4 天前
macOS 应用"已损坏"无法打开?一文搞懂 Gatekeeper 与解决方案
macos
NPE~5 天前
[工具分享]Maccy —— 优雅的 macOS 剪贴板历史管理工具
macos·教程·工具·实用工具
差不多程序员5 天前
Mac安装OpenClaw-cn保姆级教程
macos
dzl843945 天前
mac 安装python
开发语言·python·macos
Bruce_Liuxiaowei5 天前
在 macOS 上通过 Docker 本地安装 OpenClaw 完整教程
macos·docker·容器·openclaw
阿捏利5 天前
详解Mach-O(十五)Mach-O __DATA_CONST
macos·ios·c/c++·mach-o
ShikiSuen5 天前
macOS 的 CpLk 中英切换卡顿的元凶在 InputMethodKit 本身
macos
xiayutian_c5 天前
如虎添翼-MacOS
macos