红联Linux门户
Linux帮助

Ubunru How do I use the root account?

发布时间:2007-10-13 22:04:22来源:红联作者:patriotism
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.
文章评论

共有 0 条评论