Oracle command to lock,unlock and change password of a user

Oracle commands

  • to lock and unlock a user
alter user user_name account lock;

alter user user_name account unlock;

  • To change a user's password in Oracle,
alter user user_name identified by new_password;
user_name is the user whose password you wish to change.
new_password is the new password to assign.



user_name must be substituted with the real username.
new_password with the password.

Comments

Popular posts from this blog

CDbConnection failed to open the DB connection mysql 8

Oracle 10g installation steps in CentOS 5

/bin/sh^M: bad interpreter: No such file or directory Linux