The Ubuntu repair log finds that the sudo command is useless and the configuration file becomes invalid after being restarted... Various online searches! Solution: restart ---- hold down shift ----- select repair mode -- select rootcommand item ----- enter command mode ------ vi/etc/lightdm/light... the Ubuntu repair log finds that the sudo command is useless and the configuration file becomes invalid after being restarted... Various online searches! Solution: restart ---- hold down shift ----- select repair mode -- select root command item ----- enter command mode ------ vi/etc/lightdm. conf ----- Modified lightdm. conf: [SeatDefaults] user-session = ubuntu greeter-session = unity-greeter # the following two items are manually added greeter-show-manual-login = true # manually enter the user name and password allow-guest = false # Do not allow guest to log on ---- reboot and everything is OK! After restarting, you need to enter the root password to log on. this is LinuxUbuntuAdministrator, that is, the administrator. then, you need to switch sudo to root. haha, sudo can finally be used !!! But I still don't know why my system configuration file is modified. why ??? LightDM is used as the default display manager since Ubuntu11.10, so some methods on the Internet are vim/etc/TPD/custom. conf, which won't work in Ubuntu12.04 !!! In the past, Ubuntu was based on GnomeDM and kde dm. it was LightDM in Ubuntu12.04. it was lightweight !!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service