惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
F
Fortinet All Blogs
J
Java Code Geeks
Y
Y Combinator Blog
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
M
MIT News - Artificial intelligence
腾讯CDC
Last Week in AI
Last Week in AI
The Cloudflare Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Proofpoint News Feed
博客园 - 叶小钗
Recent Announcements
Recent Announcements
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
人人都是产品经理
人人都是产品经理
L
LangChain Blog
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

博客园 - 北溟鱼逍遥游

datepart in ssis [error] option strict on disallow late binding [SSIS 2005]SSIS Error The AcquireConnection method call to the connection manager failed with error code 0xC0202009 [SSIS 2005]the script task can not run this edition of integration service 团队的脊梁 求:C# 中nowarn 的 attribute msn group 转 大师 Proj summary Thinking snippets SQL server 2005 Enterprise Edition can't support AMD sepron 2500+ Can't found the specified domain: Web access LDAP Server - 北溟鱼逍遥游 Singleton C++/STL 笔记 经典:自己收藏 Understand office model Close window without alert DataGrid Item auto-generate serial number 给软件开发经理的建议
Mac再建管理员帐户
北溟鱼逍遥游 · 2018-06-24 · via 博客园 - 北溟鱼逍遥游

在Mac上添加用户没有成功, 把原来的管理员的用户群组修改后, 账户类型成为普通用户.

百度如何重新添加管理员: Mac上修改用户名后,无法用管理员账号和密码登录.

按照超过方法下去, 出现问题:

1, Command + S之后, 命令行谈话一线转到登录.

重复几次后居然登录后进入命令行页面, 但是里面的字超级小(4K屏幕的原因?).

2, /sbin/mount -uaw 回车 rm var/db/.applesetupdone 回车 reboot 回车

提示没有找到文件

随机应变, 使用命令 ls var/db/ 列出问题见名

发现最像的文件是var/db/.applediagnosticssetupdone

果(bu)断(xiang)修(zhao)改(ke)为(fu):

/sbin/mount -uaw 回车

rm var/db/.applediagnosticssetupdone 回车

reboot 回车

系统居然进去了重新安装的页面.

安装完毕后, 设定管理员账户.

再进入控制面板, 把普通用户再改为管理员.