Linux

Vmware Workstation 6.5 On Ubuntu 8.10 Modifiers Keys Not Working

This post describes a quick fix to enable arrow, delete, ins, end and other special keyboard keys in a VMWare Workstation 6.5 for linux like the norwegian/norske letters/bokstavene ÆØÅ. Solution #1 echo ‘xkeymap.nokeycodeMap = true’ > ~/.vmware/config This has been tested successfully on Windows hosts. Solution #2 Another solution is to paste the following code […]

Read More
Linux

Force a user to change password upon first login

This is how you can force a Redhat user to change his password upon first login on a Redhat 5 installation. This might work on other versions and distributions… First lock the account to prevent the user from logging in until the change has been made # usermod -L <username> Change the password expiration date […]

Read More
Network

Network upgrade Ubuntu Server 8.04 to 8.10

This post describes how I upgraded my Ubuntu (Hardy Heron) 8.04 server installation to (Intrepid Ibex) 8.10 from the command line. First you’ll need to make sure you are running the latest packages # sudo aptitude update # sudo aptitude safe-upgrade Then you will need to install the Ubuntu upgrade package # sudo aptitude install […]

Read More
Linux

Rename file name suffix to uppercase or lowercase

This is a little oneliner to rename a files suffix from/to uppercase/lowercase. Rename a jpg suffix to JPG in the current folder # find -name “*.jpg” | while read a; do mv “$a” “${a%%.jpg}.JPG” ; done The work JPG can be replaced by any other word :)

Read More
Linux

Howto copy a DVD-9 (dual-layer) movie in linux (fast)

More and more people are getting dual-layer DVD-burners and don’t want to compromise quality by shrinking the movie down to DVD-5 (singel-layer) copies. This howto will show you how to make a 1:1 (unshrinked and unencrypted) ISO-image of an encrypted DVD-9 movie in linux using the commandline. Prerequisites (these are likeley available in your distros […]

Read More