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"
相关推荐
REDcker6 分钟前
macOS 挂载 Linux 远程目录详解
linux·运维·macos
2601_961593429 分钟前
Mac 上搭建Linux环境吗?VMware + CentOS Stream 9 镜像快速部署
linux·运维·ide·macos·centos
陪我去看海2 小时前
受够了 AI 写完代码留下一堆端口?我做了一个端口管理App!
前端·macos·vibecoding
发光的沙子4 小时前
FPGA----配置根文件系统ip和mac地址
网络协议·tcp/ip·macos
2601_961593426 小时前
Mac 虚拟机跑 Linux 选哪个?CentOS 8 稳定版适配方案
linux·macos·centos
IT·陈寒6 小时前
macOS 安装 Claude Code 全流程
人工智能·macos·策略模式
七牛云行业应用7 小时前
Codex 桌面端一直 Reconnecting 5/5?根因分析与逐步修复指南(macOS/Windows)
windows·macos
七牛云行业应用7 小时前
Codex Desktop 怎么安装:Windows、macOS 全平台完整教程
人工智能·windows·macos
1024小神1 天前
Mac 副屏快速左 50% 分屏
macos