Ok I’ve done this three times now and am writing this so that I do not have to go through the same pain again. The problem is when you create an Ubuntu VM and then install something through apt-get 9 times out of ten you just corrupted your sudoers file and now you cannot sudo anymore. So follow these instructions and you can get around the problem:
- Create Ubuntu VM
- Log in via SSH I use Putty
- Change the root password using this command: sudo passwd root
- Now you can fix anything without needing to get to the Recovery Mode
- sudo visudo
- Add this line to your sudoers file:
- <your username>= (ALL:ALL) ALL
- Save file
- Now you should be safe from file corruption if not then repeat steps 4 & 5 to fix again.
I will be posting more about this for I just built a CloudBioLinux VM on Azure and will post about that soon.
Ok yes I have not posted in a long while but this is a perfect thing to post. I happen to connect to work through a secure VPN connection that is supposed to turn off your access to “other” local computers. This mainly means that I cannot use my networked printer or get to my server when I am VPN’ed into work. Well I have found an interesting hitch to this I have been running my internal network via IPv6 for a while and I accidentally hit print and it worked. It took a little while for me to realize what had happened. My new HP LaserJet printer which is IPv6 compatible (and has a IPv6 address) was still being talked to by my windows 7 PC via IPv6 while the IPv4 address was fully inaccessible. Whoa major security hole!!! But who said that Cisco would think someone would have moved their local network off of IPv4 yet (I like living on the bleeding edge of technology). Plus I have found that IPv6 is faster than IPv4. All of the cruft of the old tech has been removed plus Google et al through IPv6 is blazingly fast since no one else is using it yet. If you want to try this go get the gogo6 client at www.freenet6.net and see how everyone will be surfing the net next year.
Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!