Drive-Trust-Alliance / sedutil

DTA sedutil Self encrypting drive software
603 stars 233 forks source link

removed #418

Closed sedut-pank closed 1 year ago

sedut-pank commented 1 year ago

removed

JaBoMa commented 1 year ago

Well, the use of the characters "%" and "$" in the password, which have special functions in the command interpreter, was not very reasonable. What can I advice? Next try with double quote separated password?

What version of the rescue system image do you use?

Anyway, before executing the disableLockingRange command, I advise you to execute the following commands:

sedutil-cli --setLockingRange 0 RW <_YourAdmin1password_> <_YourDevice_> sedutil-cli --setMBREnable OFF <_YourAdmin1password_> <_YourDevice_>

This will help confirm if the system has a password issue.

gohrner commented 1 year ago

Well, the use of the characters "%" and "$" in the password, which have special functions in the command interpreter, was not very reasonable.

If quoted with apostrophs as in the second pasted command line:

sedutil-cli --disableLockingRange 0 'STARS%%$$' /dev/sda

this should not hurt - special meaning should be disabled. (The first command line will definitely fail, though - $$ is substituted by the shell's pid number, totally changing the password of course...)

It's extremely important to actually use apostrophs for escaping, not (similarily looking) French accent characters!

Different keyboard layout might be an issue, but I think both PBA and rescure system normally use English layout?

gohrner commented 1 year ago

@sedut-pank: You changed the issue description to "removed", but didn't close this issue - if it's obsolete, if would be good to close / cancel it, if you can.

JaBoMa commented 1 year ago

It would be better, for future searches for solutions to other users' problems, to restore the "removed" content describing the problem from this thread. If it is possible yet, of course.