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"
相关推荐
javaGHui8 小时前
macOS 上获取调试版
macos
2501_9159184112 小时前
iOS描述文件功能解析
android·macos·ios·小程序·uni-app·cocoa·iphone
2501_915918412 天前
iOS 上架应用市场全流程指南,App Store 审核机制、证书管理与跨平台免 Mac 上传发布方案(含开心上架实战)
android·macos·ios·小程序·uni-app·cocoa·iphone
darkb1rd2 天前
MacCalendar:专为 Mac 用户打造的高效日历工具
macos
神秘剑客_CN2 天前
MacOS学习笔记
笔记·学习·macos
数据饕餮2 天前
faster-whisper热词详解与程序设计
ide·macos·xcode
javaGHui3 天前
mac 安装 jdk17
macos·jdk
___波子 Pro Max.3 天前
Mac电脑解决sudo密码问题方法
macos
2501_938963963 天前
Flutter 3.19 桌面应用开发:适配 Windows/macOS 端窗口大小与菜单栏自定义
windows·flutter·macos
可乐大数据3 天前
macOS 一键免密登录阿里云 ECS:SSH 密钥对认证完整指南
macos·阿里云·ssh