|
发表于 2010-5-19 16:11:57
|
显示全部楼层
Post by ltkun;1075282
The root account is disabled when you first install Ubuntu. The first user created during the installation has administrative rights on the system, and can run programs as root with sudo, using only their normal user password. For example: sudo apt-get update.
If you wish to use the root account in more traditional UNIX fashion, you can set the root password by typing sudo passwd root. This will allow you to use su or login as root on the console.
If you need a shell with root privileges, run sudo -s.
All uses of sudo will require the user's password.
楼主应该换一个标题,否则大家都以为你是在提问。其实这段英文说得很清楚了,建议置顶。我刚才别的发行版换过来,第一个面临的问题就是这个问题。不过我清楚sudo的规则,看了看配置文件,也没有造成什么困扰,但是初学者就不一定了 |
|