hdparm –security-set-pass
hdparm –security-unlock
hdparm –security-disable
For example:
hdparm –security-disable xxx /dev/sdb
———-
security_password=”xxx”
/dev/sdb:
Issuing SECURITY_DISABLE command, password=”xxx”, user=user
hdparm –security-set-pass
hdparm –security-unlock
hdparm –security-disable
For example:
hdparm –security-disable xxx /dev/sdb
———-
security_password=”xxx”
/dev/sdb:
Issuing SECURITY_DISABLE command, password=”xxx”, user=user
hdparm as of 6.2 features the PIO data security commands that enable the user to lock and unlock IDE drives. These functions need CONFIG_IDE_TASK_IOCTL to be enabled. Read More...