Thursday, January 18, 2018

sudo - ubuntu drop to root shell prompt asks for password



I'm using ubuntu 14.04 and I messed visudo and now sudo code is not working.
So, I tried to fix it but because I'm not root user, I can't access to visudo to fix what I messed. so I tried reboot and use advanced ubuntu, but when I access to drop to root shell prompt, it keep asks password and control d is not working either. What should I do? please help.




If your hard drive isn't encrpyted (home folder encryption doesn't matter for this), boot into a live session and manipulate the file from there. Make sure to manipulate the file you find on your internal partition, not the one of the live system.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...