Sunday, 18 July 2010

Rollback to previous package version after upgrade

Say that you find that an app. no longer works due to a problem with an upgraded package. As long as the previous version of the package is still in the cache, you can roll back.

The following will show all the versions of the package in the cache
Code:   
apt-cache show [package name] | fgrep Version:
   
The following will install (roll back) an older version of the package
Code:   
apt-get install [package name]=[version]
  

Another way may be possible via Synaptic.

Open Synaptic and find your package then, right click on it and there should be some menu option like "force downgrade".

Spotify for Linux

Spotify is a proprietary peer-to-peer music streaming service and application software from a Swedish based company. It allows instant listening to specific tracks or albums, with virtually no buffering delay.

Finally, they are developing a linux desktop version, packaging the first release as Debian Squeeze/Ubuntu 10.04 package.

http://www.spotify.com/int/blog/archives/2010/07/12/linux/

Sadly on Kubuntu KDE 9.10 I get a 'Segmentation fault' so, I must upgrade to 10.04 soon.

How to prevent Windows Server from storing weak LM hashes

How to prevent Windows Server from storing a LAN manager hash of your password.

Instead of storing your user account password in clear-text, Windows generates and stores user account passwords by using two different password representations, generally known as "hashes." When you set or change the password for a user account to a password that contains fewer than 15 characters, Windows generates both a LAN Manager hash (LM hash) and a Windows NT hash (NT hash) of the password. These hashes are stored in the local Security Accounts Manager (SAM) database or in Active Directory.

The LM hash is relatively weak compared to the NT hash, and it is therefore prone to fast brute force attack. Therefore, you may want to prevent Windows from storing an LM hash of your password. The Microsoft support article describes how to do this so that Windows only stores the stronger NT hash of your password.

http://support.microsoft.com/kb/299656


Categories: How-To, Microsoft, OS
Tags: Microsoft, Server, 2000, 2003, weak, password, authentication, NT hash, SAM