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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

su<br />

Exit Values<br />

Messages<br />

Limits<br />

Portability<br />

0 The command completed successfully<br />

1 The user is not authorized to obtain superuser authority<br />

2 Failure due to any of the following:<br />

v Unable to execute the shell<br />

v The OMVS segment of the user’s profile cannot be found<br />

v Unable to set up the superuser environment<br />

3 Failure due to any of the following:<br />

v Incorrect command syntax<br />

Possible error messages include:<br />

User not authorized to obtain superuser authority<br />

The user ID issuing the su command does not have the proper<br />

authorization to switch to superuser. Verify authorization with the system<br />

programmer.<br />

Unable to set up the user environment. Processing terminates.<br />

The environment variables required by the shell have not been set up.<br />

Processing terminates. Contact the system programmer.<br />

Unable to open the message catalog.<br />

The message catalog cannot be opened. Processing continues with the<br />

default messages being used. Verify that the message catalog exists in the<br />

file system. Contact the system programmer.<br />

Unable to execute the shell.<br />

The initial program (shell) was not run. Verify that the initial program (shell)<br />

exists on this system and that the user has permission to execute it.<br />

The RACF profile for this user does not contain an OMVS segment.<br />

During su command processing, the OMVS segment of the user’s TSO/E<br />

profile could not be obtained. Contact the system programmer.<br />

<strong>Command</strong> loaded from an unauthorized library. Processing terminates.<br />

The su command must reside in an authorized library in order to check the<br />

password of a specified user ID. Contact the system programmer.<br />

User not authorized to switch to -"%s-".-n"<br />

The setuid to the specified user’s UID failed because the user is not<br />

authorized. Contact the system programmer.<br />

Unable to switch to -"%s-", due to an error in the OMVS segment of the RACF<br />

profile.-n"<br />

The setuid to the specified user’s UID failed. Processing terminates.<br />

Contact the system administrator.<br />

User is not a surrogate of –″%s–″.–n″<br />

User not defined to have appropriate permission to the SURROGAT class<br />

profile for the new user. Either no password was entered or the –s option<br />

was used. Processing terminates. Contact the system administrator.<br />

Only users who have RACF access permission to the superuser class can use su<br />

without specifying the user ID.<br />

None. This command is an extension that comes with z/<strong>OS</strong> <strong>UNIX</strong> services.<br />

610 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

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

Saved successfully!

Ooh no, something went wrong!