在我安装好后root的密码是什么?我怎样使用root帐号?

参与到Ubuntu的翻译中来
回复
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

在我安装好后root的密码是什么?我怎样使用root帐号?

#1

帖子 oneleaf » 2005-03-31 21:55

What's the root password after I install? How do I use the root account?

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.

Some additional information about sudo can be found in the wiki here

http://www.ubuntulinux.org/support/docu ... n/faq/root
上次由 oneleaf 在 2005-04-12 8:54,总共编辑 1 次。
road
帖子: 148
注册时间: 2005-04-01 15:10
来自: 浙江

#2

帖子 road » 2005-04-04 21:55

在我安装好后root的密码是什么?我怎样使用root帐号?
当你第一次安装好Ubuntu后,root帐号不能用。在安装期间创建的第一个用户对系统有管理权,通过“sudo”能象root运行程序.使用时仅需它的普通用户密码。例如:sudo apt-get update

如果你希望像传统 UNIX 样式使用root帐号。你能通过输入“sudo passwd root”。那将使你在控制台上通过“su”或登录成为root.

如果你需要一个有root权限的shell,运行“sudo -s”。

所有用户的“sudo”将需要用户密码。

一些和sudo有关的补充信息在这里
http://www.ubuntulinux.org/support/docu ... n/faq/root
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#3

帖子 millenniumdark » 2006-08-01 4:55

应该已经在wiki上了
回复