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. 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.
Greeter-show-manual-login = true
Allow-guest = false
The entire modified configuration file is
[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:
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.