无法在Yosemite中创建隐藏用户


1

我目前正在尝试在Yosemite上创建一个隐藏用户。

我试过按照教程 这个网站 但是当我运行命令时 sudo dscl . append /Groups/<real_name> GroupMembership <user_name> 我收到此错误: /System/Library/LaunchDaemons/com.apple.DirectoryServicesLocal.plist: No such file or directory

我也完成了命令 sudo dscl . create /Users/hiddenuser IsHidden 1 如下图所示: 如何添加隐藏用户 ,但我得到了同样的错误。

我该如何解决这个问题?它就像跑步一样简单 sudo touch /System/Library/LaunchDaemons/com.apple.DirectoryServicesLocal.plist 还是比那更复杂?

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.