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"
相关推荐
Java与Android技术栈19 小时前
macOS 为 Compose Desktop 构建跨平台图像库:OpenCV + libraw + libheif 实践
人工智能·opencv·macos·计算机视觉
布朗克1681 天前
mac上的app如何自动分类
macos·apple·电脑使用技巧
小白白白又白cdllp1 天前
MAC安装虚拟机
macos
:-)1 天前
mac上通过homebrew安装nvm管理多版本nodejs
linux·macos·编辑器·vim
秃头女孩y1 天前
mac安装nvm执行命令报错-解决方案
macos·node.js·bash
真智AI1 天前
全面安装指南:在Linux、Windows和macOS上部署Apache Cassandra
linux·windows·macos
快乐点吧1 天前
【mac】快捷键使用指南
macos
焦虑的二狗2 天前
Mac下载mysql
数据库·mysql·macos
通域2 天前
Mac (m1) Java 加载本地C共享库函数 .dylib 函数 Unable to load library ‘liblicense‘
java·python·macos
至善迎风2 天前
深入理解 macOS 的 quarantine、xattr 与 Gatekeeper
macos