venture37

security section of cam control(8) in FreeBSD 10-Current

Aug 14th, 2013
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.29 KB | None | 0 0
  1. security Update or report security settings, using an ATA identify
  2. command (0xec). By default, camcontrol will print out the
  3. security support and associated settings of the device. The
  4. security command takes several arguments:
  5.  
  6. -d pwd
  7.  
  8. Disable device security using the given password for the
  9. selected user according to the devices configured security
  10. level.
  11.  
  12. -e pwd
  13.  
  14. Erase the device using the given password for the selected
  15. user.
  16.  
  17. WARNING! WARNING! WARNING!
  18.  
  19. Issuing a secure erase will ERASE ALL user data on the
  20. device and may take several hours to complete.
  21.  
  22. When this command is used against an SSD drive all its
  23. cells will be marked as empty, restoring it to factory
  24. default write performance. For SSD's this action usually
  25. takes just a few seconds.
  26.  
  27. -f
  28.  
  29. Freeze the security configuration of the specified device.
  30.  
  31. After command completion any other commands that update the
  32. device lock mode shall be command aborted. Frozen mode is
  33. disabled by power-off or hardware reset.
  34.  
  35. -h pwd
  36.  
  37. Enhanced erase the device using the given password for the
  38. selected user.
  39.  
  40. WARNING! WARNING! WARNING!
  41.  
  42. Issuing an enhanced secure erase will ERASE ALL user data
  43. on the device and may take several hours to complete.
  44.  
  45. An enhanced erase writes predetermined data patterns to all
  46. user data areas, all previously written user data shall be
  47. overwritten, including sectors that are no longer in use
  48. due to reallocation.
  49.  
  50. -k pwd
  51.  
  52. Unlock the device using the given password for the selected
  53. user according to the devices configured security level.
  54.  
  55. -l high|maximum
  56.  
  57. Specifies which security level to set when issuing a -s pwd
  58. command. The security level determines device behavior when
  59. the master password is used to unlock the device. When the
  60. security level is set to high the device requires the
  61. unlock command and the master password to unlock. When the
  62. security level is set to maximum the device requires a
  63. secure erase with the master password to unlock.
  64.  
  65. This option must be used in conjunction with one of the
  66. security action commands.
  67.  
  68. Defaults to high
  69.  
  70. -q
  71.  
  72. Be quiet, do not print any status messages. This option
  73. will not disable the questions, however. To disable ques-
  74. tions, use the -y argument, below.
  75.  
  76. -s pwd
  77.  
  78. Password the device (enable security) using the given pass-
  79. word for the selected user. This option can be combined
  80. with other options such as -e pwd
  81.  
  82. A master password may be set in a addition to the user
  83. password. The purpose of the master password is to allow an
  84. administrator to establish a password that is kept secret
  85. from the user, and which may be used to unlock the device
  86. if the user password is lost.
  87.  
  88. Note: Setting the master password does not enable device
  89. security.
  90.  
  91. If the master password is set and the drive supports a Mas-
  92. ter Revision Code feature the Master Password Revision Code
  93. will be decremented.
  94.  
  95. -T timeout
  96.  
  97. Overrides the default timeout, specified in seconds, used
  98. for both -e and -h this is useful if your system has prob-
  99. lems processing long timeouts correctly.
  100.  
  101. Usually the timeout is calculated from the information
  102. stored on the drive if present, otherwise it defaults to 2
  103. hours.
  104.  
  105. -U user|master
  106.  
  107. Specifies which user to set / use for the running action
  108. command, valid values are user or master and defaults to
  109. master if not set.
  110.  
  111. This option must be used in conjunction with one of the
  112. security action commands.
  113.  
  114. Defaults to master
  115.  
  116. -y
  117.  
  118. Confirm yes to dangerous options such as -e without prompt-
  119. ing for confirmation.
  120.  
  121. If the password specified for any action commands doesn't
  122. match the configured password for the specified user the com-
  123. mand will fail.
  124.  
  125. The password in all cases is limited to 32 characters, longer
  126. passwords will fail.
Add Comment
Please, Sign In to add comment