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"
相关推荐
他们都不看好你,偏偏你最不争气2 小时前
【iOS】AFNetworking
开发语言·macos·ios·objective-c
钟念5 小时前
【打包app】uniapp打包ios端和安卓端app
macos·objective-c·cocoa
森之鸟18 小时前
Mac电脑上如何打印出字体图标
前端·javascript·macos
m_1368721 小时前
Mac M 系列芯片 YOLOv8 部署教程(CPU/Metal 后端一键安装)
yolo·macos
搜狐技术产品小编20231 天前
CAEmitterLayer:iOS 中创建炫酷粒子效果的魔法工具
macos·ios·objective-c·cocoa
未来之窗软件服务2 天前
操作系统应用开发(七)mac苹果模拟器——东方仙盟练气期
macos·仙盟创梦ide·东方仙盟·系统模拟器
liliangcsdn2 天前
Mac本地docker安装Kibana+ElasticSearch
elasticsearch·macos·docker
千寻简2 天前
远程连接Mac操作ClaudeCode一直提示登录Invalid API key · Please run /login
macos
小朋友,你是否有很多问号?2 天前
Mac安装hadoop
hadoop·macos
脚踏实地的大梦想家2 天前
【Docker】P2 Docker环境构建准备:MacOS 与 Linux
linux·macos·docker