I discovered the hdparm drive locking feature on my WD drives. I can enable a password by using the following command:
Code:
hdparm --user-master u --security-set-pass (your-password-here) /dev/sdx
(replace sdx with your drive letter).
When this is enabled, if you turn off your computer, you cannot load your drives. If anything they can be appear 'dead'. To unlock them, you have to run:
Code:
hdparm --security-unlock (YOUR PASSWORD HERE) /dev/sdx
and in order to permanently unlock them, you have to run that command before running:
Code:
hdparm --security-disable (YOUR PASSWORD HERE) /dev/sdx
I would like to know how 'safe' this is, considering that I have not encrypted the data. It's likely to prevent average-joe from accessing your data if he steals your machine, but would it be able to prevent a private security agency if they were not unable to brute force your password?
Regards,
Stu
Bookmarks