Home>Article>Database> How to change oracle user password

How to change oracle user password

coldplay.xixi
coldplay.xixi Original
2021-03-16 13:52:16 93580browse

How to modify the oracle user password: First connect to the server where the oracle database is located and enter the oracle console; then enter "select username from dba_users" to view the user list; finally enter to modify the user password.

How to change oracle user password

The operating environment of this tutorial: Windows 7 system, Oracle version, DELL G3 computer.

How to modify the oracle user password:

1. Use CRT to connect to the server where the oracle database is located as the user who installed the oracle database. (Take the server as Linux as an example)

How to change oracle user password

##2. Enter the command:

sqlplus /nolog, enter the oracle console, and enterconn / as sysdba;Enter as DBA role.

How to change oracle user password

#3. After the connection is successful, enter "select username from dba_users" to view the user list.

How to change oracle user password

4. If you want to change the password of a certain user, change the user password format to:

alter user 用户名 identified by 新密码;

Taking apps as an example, change the password to 123456. You can enter

alter user apps identified by 123456;

How to change oracle user password

#5. The modification is successful.

How to change oracle user password

## Recommended (free):

oracle

The above is the detailed content of How to change oracle user password. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn