hdparm problem

Rick Stevens ricks at alldigital.com
Fri Mar 20 20:55:36 UTC 2015


On 03/20/2015 01:11 PM, jd1008 wrote:
>
>
> On 03/20/2015 01:32 PM, Rick Stevens wrote:
>> I've never used this stuff, Joanne, but I know people who have, which
>> is why I suggested you have the user password set (the
>> "--set-security-password" command defaults to "--user-master u").
>>
>> You may have to specify "--user-master m --set-security-password
>> thepassword --security-mode h" to actually set it, and if it's already
>> set, I don't know that you can change it. You could try "hdparm
>> --security-help" for details on what it expects.
>>
>> As all of these commands are considered "dangerous", I'd only play with
>> them on a drive you can afford to turn into a doorstop or paperweight
>> if things go wrong.
> It seems that setting the master password is not possible.
> Why is that?
> Could it be that the command itself has been hacked
> NOT to change the master password?
>
> Time to take a look at the source code :)

Yup. I did take a look at the page Chris cited and it does go into
things fairly well and describes the master password issue. Yes, all
examples are in "user" mode, but if it does the job then I don't really
see any need to go deeper (except to satisfy any morbid curiosity
streak you may have).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-   To understand recursion, you must first understand recursion.    -
----------------------------------------------------------------------


More information about the users mailing list