03.03.2013 Views

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The SET Command <strong>CP</strong>/M 3 User's Guide<br />

Explanation: You can assign one of four modes of password protection to your file.<br />

The protection modes are READ, WRITE, DELETE, and NONE and<br />

are described in the following table.<br />

Table 5-17. Password Protection Modes<br />

Mode Protection<br />

READ The password is required for reading, copying,<br />

writing, deleting, or renaming the file.<br />

WRITE The password is required for writing, deleting, or<br />

renaming the file. You do not need a password to<br />

read the file.<br />

DELETE The password is only required for deleting or renaming<br />

the file. You do not need a password to<br />

read or modify the file.<br />

NONE No password exists for the file. If a password exists,<br />

this modifier can be used to delete the password.<br />

Assign a Default Password<br />

Syntax: SET [DEFAULT = password]<br />

Explanation: The preceding set command assigns a default password for the system<br />

to use during your computer session. The system uses the default password<br />

to access password-protected files if you do not specify a password,,<br />

or if you enter an incorrect password. The system lets you access<br />

the file if the default password matches the password assigned to the<br />

file.<br />

Example: B > SET *.TEX[PASSWORD = SECRET, PROTECT = WRITE]<br />

The preceding command assigns the password SECRET to all the TEX<br />

files on drive B. Each TEX file is given a WRITE protect modc to<br />

prevent unauthorized editing.<br />

5-91

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!