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"
相关推荐
❀͜͡傀儡师1 小时前
macOS/Linux Gemini CLI安装指南
linux·运维·macos
liangshanbo12151 天前
[特殊字符] Yazi 终极指南:从安装到精通 (macOS 专属)
macos
袁庭新1 天前
M系列芯片Mac上通过Homebrew一键安装/卸载Nginx并上线项目全指南
运维·nginx·macos·袁庭新·袁庭新ai
北冥有鱼被烹1 天前
【vibo经验记录】Mac 配置 Claude Code + 远程 Ollama 完全指南
macos·claude code·openclaw
无巧不成书02181 天前
FFmpeg 保姆级安装教程!Windows/macOS/Linux全平台覆盖,
windows·macos·ffmpeg
I'm Jie1 天前
MacOS 国内镜像一键安装 Homebrew
git·macos·homebrew
lucky_syq1 天前
Mac电脑部署OpenClaw保姆级教程(2026最新版)
人工智能·macos·开源·电脑·openclaw
todoitbo1 天前
用虚拟局域网打通 Win/Mac/Linux 三端:跨设备协作的实用方案
linux·运维·macos
姓王名礼2 天前
一份 Windows/macOS/Linux 完整安装 + 运行 + 对接 WebUI 的步骤
linux·windows·macos
zhensherlock2 天前
Protocol Launcher 系列:App Store 精准引流与应用推广
javascript·macos·ios·typescript·iphone·mac·ipad