为什么Fedora 10不允许root用户登录GUI?

原文链接: http://www.cnblogs.com/jimmynl/archive/2008/12/10/1352078.html

   偶然发现在Fedora 10的GUI登录窗口,用root登录的时候,都会提示说“unable to authenticate user”。切到CLI界面可以正常登录,Terminal也可以登录。或者用putty也可以登上去。在Fedora的wiki上发现了这么一段话:

------------------------------------------------------------------------------

Fedora is a multi-user operating system. Multiple users, each with different access privileges, can be logged into the computer at the same time.

During installation, you provided a password for the system administrator account, sometimes called the superuser. The username for this account is root.

After installation, Fedora asked you to set up a normal user account. Use that account, or another normal account, for daily use of the system. and the root account for administrative and maintenance tasks.

This design has many benefits:

  • Limited privileges reduce the possibility of doing significant damage to the entire system.
  • Each user account has individual settings.
  • Each user account maintains its data separate and private from others.
  • A problem in one user account does not put the entire system at risk.
Do not login as root
Do not use the root account for routine purposes. A normal user account can run all desktop applications, and greatly increases your security and safety. Applications that require root privileges prompt you for the root password when they start, so you need not login as root to use them.

 翻译过来就是:

Fedora是一个多用户的操作系统。不同的用户,各自拥有不同的权限,可以在同一时间登录计算机。

在安装过程中,你为系统管理员账户,有时也叫做超级用户,提供了一个密码。这个帐户的用户名是root。

安装完成后,Fedora会要求你设置一个普通用户账户。这个账户或者其他普通账户,用于计算机的日常使用,root账户用于管理和维护工作。

这样的设计有很多好处:

*被限制的权限减少了对整个系统大规模破坏的可能性

*每个用户账户拥有个人的设置

*每个用户账户各自维护自己的数据并不对其他账户公开

*一个用户帐户的问题不会使整个系统处于危险之中

!不要用root登录

不要拿root账户用于一般的目的。普通账户可以运行所有的桌面程序,并且可以大幅提升你的保密性和安全性。需要root权限的程序在启动会提示你输入root密码,所以你不需要用root身份登录来使用他们。

------------------------------------------------------------------------------

  似乎是因为root的权限太大了,才故意把root的GUI登录禁用的吧。网上也可以找到能够让root登录GUI的方法,为了安全考虑,还是没有去试了。  


转载于:https://www.cnblogs.com/jimmynl/archive/2008/12/10/1352078.html

猜你喜欢

转载自blog.csdn.net/weixin_30214509/article/details/94973567