4 ms·
In the article, I didn’t see any line using a password!
by sinuhe69 4y ago
In the article, I didn’t see any line using a password!
- justsomehnguy 4y ago... # This is getting the drive ID: sudo hdparm --Istdout /dev/sda > sda.ata_identify # converting it to Lenovo format and storing as a variable '$P': P="$(ruby pw.rb sda.ata_identify)" # Unlocking and disabling security on the drive using $P variable in the password argument: sudo hdparm --security-unlock "$P" /dev/sdb sudo hdparm --security-disable "$P" /dev/sdb