Purpose
Changes the password of a user.
Syntax and Description
passwd user
Table 10-77 lists the syntax options for the passwd
command.
Table 10-77 Options for the passwd command
Option | Description |
---|---|
|
Name of the user. |
An error is raised if the user does not exist in the Oracle ASM password file. The user is first prompted for the current password, then the new password. The command requires the SYSASM privilege to run.
Examples
The following is an example of the passwd
command that changes the password of the oracle2
user.
Example 10-86 Using the ASMCMD passwd command
ASMCMD [+] > passwd oracle2 Enter old password (optional): Enter new password: ******