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

推荐订阅源

Google DeepMind News
Google DeepMind News
C
Check Point Blog
J
Java Code Geeks
腾讯CDC
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
大猫的无限游戏
大猫的无限游戏
Engineering at Meta
Engineering at Meta
罗磊的独立博客
Last Week in AI
Last Week in AI
B
Blog
IT之家
IT之家
S
SegmentFault 最新的问题
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
博客园 - 聂微东
U
Unit 42
有赞技术团队
有赞技术团队
Y
Y Combinator Blog
MyScale Blog
MyScale Blog

cywhat's blog

Mac修改brew源 Java编译出现java.lang.ExceptionInInitializerError Linux生成自定义名称的ssh证书 Jmeter进行分布式压测 Python创建并上传自己的pip依赖包 Django操作异步任务 Linux卸载RabbitMQ Linux安装RabbitMQ ValueError:invalid UnorderedObjectListWarning:Pagination May Yield Inconsistent Results With an Unordered Object_list Jenkins端口修改之后没有生效 Linux忘记mysql密码解决办法 Pkg_resources.DistributionNotFound:The Supervisor==3.4 Failing Package Is: Mysql Community Libs Compat 5.7.37 1.el7 2022收一收 搭建IOS和Android性能监控工具 Jenkins添加html报告并发送到邮箱 Jenkins插件无法安装解决 Jenkins报错 Bash:newman:command Not Found Linux安装newman生成postman脚本报告 MoudleNotFoundError: No module named 'xxx' Failed to Extract Shortcode:template for Shortcode Admonition Not Found Zsh Problem Compinit503 No Such File or Directory Usr Local Share Zsh Site Django删除表重建 Python如何让字典保持有序存储 魔戒使用教程 Python获取当前位置所在行数以及函数名 Django的csrf防御机制 Django连接Mysql配置 Mac安装mysql5.7
Mac出现xxx@bogon
cywhat · 2023-04-04 · via cywhat's blog

   约 119 字  预计阅读 1 分钟    次阅读     条评论

目录

1、问题

1
chaoyang@bogon.(none)'  # 用户名被篡改成了bogon

2、解决

1、修改电脑名称

1
sudo scutil --set ComputerName 你想要的计算机名称

2、修改本地主机名

1
sudo scutil --set LocalHostName 你想要的计算机名称

3、修改主机hostname

1
sudo scutil --set HostName 你想要的计算机名称

4、重启

3、检查

1
2
3
scutil --get ComputerName

scutil --get HostName

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏