Markus Robert Kessler
2022-09-04 06:41:45 UTC
On Sat, 03 Sep 2022 14:45:20 -0400, Markus Robert Kessler
https://sourceforge.net/p/hdparm/support-requests/7/
Regards, Dave Hodgins
Hi,Hi all,
I just tried to prepare an external harddisk by setting a password to
make it safe for travelling.
All other harddisks like (older) Samsung, Western Digital, Hitachi etc.
accept locking / unlocking via password through hdparm commands via USB
$ hdparm --user-master u --security-set-pass 'newpass' /dev/sdb
security_password: "newpass"
Issuing SECURITY_SET_PASS command, password="newpass", user=user,
mode=high The running kernel lacks CONFIG_IDE_TASK_IOCTL support for
this device.
SECURITY_SET_PASS: Invalid argument
B.t.w., I cannot even remove or overwrite the manufacturer's secret
master password. So, this is a severe security risk since someone could
know it and unlock those drives.
Has anyone already managed to lock / unlock such a drive?
Any idea how to proceed?
Are you using a usb connection?I just tried to prepare an external harddisk by setting a password to
make it safe for travelling.
All other harddisks like (older) Samsung, Western Digital, Hitachi etc.
accept locking / unlocking via password through hdparm commands via USB
$ hdparm --user-master u --security-set-pass 'newpass' /dev/sdb
security_password: "newpass"
Issuing SECURITY_SET_PASS command, password="newpass", user=user,
mode=high The running kernel lacks CONFIG_IDE_TASK_IOCTL support for
this device.
SECURITY_SET_PASS: Invalid argument
B.t.w., I cannot even remove or overwrite the manufacturer's secret
master password. So, this is a severe security risk since someone could
know it and unlock those drives.
Has anyone already managed to lock / unlock such a drive?
Any idea how to proceed?
https://sourceforge.net/p/hdparm/support-requests/7/
Regards, Dave Hodgins
and, sorry if confusing with new "fork" of this thread :-)
@ Dave:
Thanks for that link. It looks to me as if there has to be a special
kernel, capable of executing this "CONFIG_IDE_TASK_IOCTL" command?
In the document above, it seems, that no one cares about the request for
implementing, or taking this functionality back into the kernel again.
This is somehow puzzling me, because in the past, say, 4-6 years, I had a
similar issue with mechanical disks, but with nowadays' kernels most of
the drives can be accessed without any trouble.
Has anyone already tried to activate mentioned method in the kernel
sources?
I'd just be happy if it was possible to deactivate or overwrite the
master password, so that I can, at least, use it as an internal drive in
a different notebook.
Thanks a lot,
best regards,
Markus
--
Please reply to group only.
For private email please use http://www.dipl-ing-kessler.de/email.htm
Please reply to group only.
For private email please use http://www.dipl-ing-kessler.de/email.htm