可以使用“sudo”更改默认 Shell以后会出现意想不到的问题吗?
我是 Linux 的新用户。我安装了 ZSH 并根据其 GitHub 上的指南将其设为默认 Shell,但我错误地使用了 Sudo。可以吗?或者我是否需要撤消我所做的事情并在用户许可的情况下进行更改?
I'm a new user of Linux. I installed ZSH and made it my default Shell according to the guide on its GitHub but I used Sudo by mistake. Is it OK? or do I need to undo what I've done and just change it with user permission?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能只是将其设置为 root 的默认 shell。如果您这样做的话,不会给您带来任何问题。
You probably just made it the default shell for root. It won't cause you any issues if that is what you did.