Ubuntu is a one of linux distribute that is now very popular for developer. In addition, it is free and easy to use. This article show the way to enable root account. Indeed, the root account wasn't enabled by default system because its password is not set. Basically, the root account was used with administrative by the sudo command look better but if you would like to used root account itself as install package, configuration server...etc. Below show some step to configuration.
1. The root account with sudo
ubuntu@ubuntu:~$ sudo - [sudo] password for ubuntu: # Enter your password
root@ubuntu:/home/ubuntu# # Account was switch from ubuntu to root |
2. Switch to root account with standard su command to set root account's password
ubuntu@ubuntu:~$ [sudo] password for ubuntu: # input self password
New password: # set root password
Retype new password: # confirm
passwd: password updated successfully ubuntu@ubuntu:~$ su - Password: # input root password
root@ubuntu:~# # just switched |
0 Comments