16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Portability<br />

v The command line had an incorrect number of options<br />

P<strong>OS</strong>IX.2 User Portability Extension, X/Open Portability Guide, <strong>UNIX</strong> systems.<br />

Related Information<br />

mailx, mesg, talk, who<br />

writedown — Set or display user’s write-down mode<br />

Format<br />

Description<br />

Options<br />

Usage notes<br />

Exit Values<br />

writedown –a | –d | –i [–p]<br />

writedown –p<br />

writedown sets or displays the user’s write-down mode for the current address<br />

space. Setting or querying the write-down mode is only allowed if multilevel security<br />

is active and the user has ″write-down″ privilege. See z/<strong>OS</strong> Planning for Multilevel<br />

Security and the Common Criteria for more information on multilevel security.<br />

–a Activate write-down mode. This allows the user to write data to a resource<br />

protected by an multilevel security label of lower labeled classification than<br />

the user’s seclabel.<br />

–d Set the write-down mode from the default value in the user’s security<br />

profile.<br />

–i Inactivate write-down mode. This prevents the user from writing data to a<br />

resource protected by a multilevel security seclabel of lower labeled<br />

classification than the user’s seclabel.<br />

–p Print the user’s current write-down mode setting to stdout. The output is<br />

″active″ or ″inactive″. If used with –a, –d, or –i, the new value is displayed.<br />

1. This command is only supported when the user has at least READ access to<br />

the IRR.WRITEDOWN.BYUSER resource in the FACILITY class and SETR<br />

MLS is active.<br />

2. Write-down mode affects the current process’ address space. When the<br />

write-down mode is changed, all processes running in the same address space<br />

will get the new write-down setting, until the shell (where writedown was<br />

invoked) exits.<br />

3. writedown is a built-in shell command in sh and tcsh. It affects the security<br />

setting for commands issued by the current shell, and by child processes, such<br />

as shell scripts.<br />

4. See z/<strong>OS</strong> Planning for Multilevel Security and the Common Criteria for more<br />

information about write-down mode, multilevel security, and seclabels.<br />

The exit values for /bin/sh are as follows:<br />

0 Successful completion<br />

write<br />

Chapter 2. Shell command descriptions 795

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

Saved successfully!

Ooh no, something went wrong!