Ubuntu 12.04 does not allow root login by default. When you reach the login screen, you'll only see options for regular users and guest access. Once you log in as a normal user, you may need to make some system-level changes. To gain root privileges, open a terminal and type `sudo -s`. You'll be prompted to enter your current user's password, after which you'll switch to root mode.
Next, edit the LightDM configuration file using `vi /etc/lightdm/lightdm.conf`. Add or modify the following lines:
```
greeter-show-manual-login=true
allow-guest=false
```
Your updated configuration should look like this:
```
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
greeter-show-manual-login=true # Allows manual login with username and password
allow-guest=false # Disables guest login
```
After making these changes, you can enable the root account by running `sudo passwd root` and setting a new password for the root user. Once done, restart your Ubuntu system. Upon rebooting, you should see a "Login" option on the graphical interface, allowing you to log in as root.
It's important to note that the default root password in Ubuntu is randomly generated each time the system boots. If you want to set a custom root password, you can do so using the command `sudo passwd root`. After entering your current user’s password, you’ll be asked to set and confirm the new root password.
Once the password is successfully changed, you can switch to the root account by typing `su root` and entering the new password. This method gives you full administrative control over the system.
Additionally, if you're logged in as an administrator (the first user created during installation), you have the ability to change the root password without needing any prior setup. Just run `sudo passwd root`, enter your current user password, and then follow the prompts to set a new one.
You can also manage user accounts and groups through the system settings. If you want to log in as root regularly, you can adjust the login screen settings to enable it. Keep in mind that using the root account comes with risks, so it's generally recommended to use sudo for administrative tasks instead.
Fttx Telecom,Fiber Alignment,Tumtec Fusion Splicer,Core Alignment Technology
Guangdong Tumtec Communication Technology Co., Ltd , https://www.gdtumtec.com