Setting up a root account and password is one of the most important steps during your installation. Your root account is similar to the administrator account used on Microsoft Windows machines. The root account is used to install packages, upgrade RPMs, and perform most system maintenance. Logging in as root gives you complete control over your system.
Note
根用户(又称超级用户)对整个系统有完全的控制权;因此,最好只有在执行系统维护或管理时使用根用户登录。
请只有在进行系统管理时才使用根帐号。创建一个非根帐号来做日常工作。若你需要快速解决某个问题时,用 su -
命令暂时登录为根用户。遵循这些最基本的原则将会减少你因键入错误或不正确的命令而损害系统的机会。
Note
要变成根用户,在终端机窗口的 shell 提示下键入 su -
,并按 回车 键,然后输入根密码并按 回车 键。
The installation program prompts you to set a root password[] for your system. You cannot proceed to the next stage of the installation process without entering a root password.
根口令必须至少包括六个字符;你键入的口令不会在屏幕上显示。你必须把口令输入两次;如果两个口令不匹配,安装程序将会请你重新输入口令。
你应该把根口令设为你可以记住但又不容易被别人猜到的组合。你的名字、电话号码、 qwerty、 password、 root、 123456、以及 anteater 都是典型的坏口令。好口令混合使用数字、大小写字母,并且不包含任何词典中的现成词汇。例如:Aard387vark 或 420BMttNT。请记住,口令是区分大小写的。如果你笔录下你的口令,请将之保存在一个安全的地方。然而,我们建议你不要笔录任何你创建的口令。
Note
不要使用本指南中提供的任何示范口令。使用其中任何一个,都可以被视为安全风险。
Note
在完成安装后,你如果想修改根密码,可以使用「根密码工具」。
在 shell 提示下键入 system-config-rootpassword
命令来启动「根密码工具」。如果您不是根用户,它会提示您输入根密码后再继续。
在Root密码中输入root
密码。为安全起见Fedora将字符显示为星号。Confirm中再次输入密码以保证输入无误。设置好root密码后,选择下一步继续。