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.

passwd — Change user passwords<br />

Format<br />

Description<br />

Examples<br />

Exit Values<br />

passwd [–u userid]<br />

passwd changes the login password for the user ID specified. If userid is omitted,<br />

the login name associated with the current terminal is used. You are prompted for<br />

the new password, which may be truncated to the length defined as the maximum<br />

length for the passwords.<br />

Users can change the password for another user if they know the user ID and<br />

current password.<br />

1. To change your password, issue:<br />

passwd<br />

You will be prompted for the old password and the new password.<br />

2. To change the password for user ID Steve, issue:<br />

passwd -u steve<br />

You will be prompted for the old password and the new password.<br />

0 The password was changed.<br />

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

v The user specified does not exist.<br />

v The current password is incorrect.<br />

v The new password does not meet the installation-exit requirements.<br />

2 The new password was not entered the same way twice.<br />

3 The password is too long.<br />

4 Error obtaining user login name.<br />

paste — Merge corresponding or subsequent lines of a file<br />

Format<br />

Description<br />

paste [–s ] [–d list] file ...<br />

passwd<br />

paste concatenates lines of all the specified input files onto the standard output. If<br />

you specify – (dash) instead of a file, paste uses the standard input. Normally, an<br />

output line consists of the corresponding lines from all the input files. paste<br />

replaces the newline character at the end of each input line (except the one from<br />

the last file on the command line) with a tab character, or characters specified by<br />

the –d option.<br />

Chapter 2. Shell command descriptions 467

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

Saved successfully!

Ooh no, something went wrong!