This article describes how to set the root permission in ubuntu13.04. For more information, see Ubuntu.
Many of my friends do not know how to set the root permission of Ubuntu 13.04 after installing and upgrading ubuntu 13.04. This article will introduce the steps for setting the root permission in detail today. new friends can take a look ~
Login to 13.04 does not allow root login by default. in the login window, only common users and guests can log on. Therefore, you can only log on to Ubuntu as a normal identity, and then make some modifications, follow these steps to grant the root permission to the attacker:
1. log on as a common user;
2. press Ctrl + Atl + T to open the terminal window;
3. enter sudo-s in the terminal window, enter the logon password of a common user, and press enter to enter the root user permission mode;
4. modify the system configuration file. add vi/etc/lightdm. conf.
Copy codeThe code is as follows:
Greeter-show-manual-login = true
Allow-guest = false
The entire modified configuration file is
Copy codeThe code is as follows:
[SeatDefaults]
Greeter-session = unity-greeter
User-session = ubuntu
Greeter-show-manual-login = true # manually enter the user name and password for logging on to the system
Allow-guest = false # logon from guest is not allowed
5. start the root account:
Copy codeThe code is as follows:
Sudo passwd root
Enter the password of the roott account as prompted.
At last, restart ubuntu and the "login" option will be displayed in the logon window. at this time, we can log on through root.