You can apply a password with a maximum of 32 characters for removable media that support this feature.
You will receive a warning message if you attempt to apply a password on media that does not support this feature.
Determine whether you want to enable or disable read protection or write protection and set a password. Select one of the following:
Enable read protection or write protection.
$ rmformat -W enable device-name Please enter password (32 chars maximum): xxx Please reenter password: |
$ rmformat -R enable device-name Please enter password (32 chars maximum): xxx Please reenter password: |
Disable read protection or write protection and remove the password.
$ rmformat -W disable device-name Please enter password (32 chars maximum): xxx |
$ rmformat -R disable device-name Please enter password (32 chars maximum): xxx |
Verify whether the media's read protection or write protection is enabled or disabled.
$ rmformat -p device-name |
This example shows how to enable write protection and set a password on a diskette.
$ rmformat -W enable /dev/rdiskette Please enter password (32 chars maximum): xxx Please reenter password: xxx |
This example shows to disable read protection and remove the password on a diskette.
$ rmformat -R disable /dev/rdiskette Please enter password (32 chars maximum): xxx Please reenter password: xxx |