微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

linux – 为什么root用户默认名为root?

这可能看起来像一个愚蠢的问题,但我可以看到这令人困惑.例如:

“转到根目录”

可以解释为:

>转到/
>转到~root(通常是/ root /)

我会认为像super会为更好的管理员用户名做些什么.这样可以避免目录结构的模糊性.

再次:愚蠢的问题,但我真的很好奇.

解决方法

查看有关root的一些信息,请查看 here.

The use of the term root for the all-powerful administrative user may have arisen from the fact that root is the only account having write permissions (i.e.,permission to modify files) in the root directory. The root directory,in turn,takes its name from the fact that the filesystems (i.e.,the entire hierarchy of directories that is used to organize files) in Unix-like operating systems have been designed with a tree-like (although inverted) structure in which all directories branch off from a single directory that is analogous to the root of a tree.

原文地址:https://www.jb51.cc/linux/401580.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐