Quote:
I could add the file to the bottom of /etc/rc.local file.
|
No... you add the filename and path to that file. Not the whole file!
And take it out of all those rcX.d directories... it don't belong there.
You gotta boot to a rescue image from the grub menu. If that dosn't work, use the live CD.
Note: you shouldn't use a root account in ubuntu anyway.
(Surely the root login gets as far as the password too?)