if you loose access to sudo and you don't have the root acount enabled to correct it
do the following easy steps
restart with a live cd in the disk tray and make sure the bios is set to boot from the cd (you can ofcourse but from usb and other ways too but that's not the point here)
if the live cd is xubuntu mounting the disk is just right click on the drive and hit
mount
navigate to /usr/bin/ through terminal
and when you are in execute
sudo chown root:root sudo
sudo chmod 4711 sudo
and you are done
restart and put boot options in bios back to normal
No comments:
Post a Comment
Γράψτε εδώ τα σχόλια σας!!!