|SQL*Plus User's Guide and Reference
Part Number A88827-02
Command Reference, 30 of 52
Allows you to change a password without echoing it on an input device.
Refer to the following for a description of the clause or term:
To change the password of another user, you must have been granted the appropriate privilege. For more information about changing your password, see the CONNECT command in this chapter.
Suppose you are logged on as HR/HR, and want to change the password to HRHR
PASSWORD Changing password for HR Old password: HR New password: HRHR Retype new password: HRHR Password changed
Suppose you are logged on as a DBA, and want to change the password for user johnw (currently identified by johnwpass) to johnwnewpass
PASSWORD johnw Changing password for johnw New password: johnwnewpass Retype new password: johnwnewpass Password changed