HOW TO CHECK ORACLE USERS AND THEIR STATUS:
-------------------------------------------
SQL> SELECT USERNAME,ACCOUNT_STATUS,EXPIRY_DATE from dba_users;
USERNAME ACCOUNT_STATUS EXPIRY_DA
------------------------------ -------------------------------- ---------
OUTLN OPEN 15-MAR-14
PEOPLE OPEN 11-JUL-17
PS OPEN 05-JUN-17
SYS OPEN 15-MAR-14
SYSTEM OPEN 05-JUN-17
SYSADM EXPIRED 12-JUN-17
APPQOSSYS EXPIRED & LOCKED 16-SEP-13
DIP EXPIRED & LOCKED 16-SEP-13
DBSNMP EXPIRED & LOCKED 16-SEP-13
ORACLE_OCM EXPIRED & LOCKED 16-SEP-13
10 rows selected.
CHANGE USER PASSWORD:
---------------------
ALTER USER myuser IDENTIFIED BY new_password;
ALTER USER myuser ACCOUNT LOCK;
ALTER USER myuser ACCOUNT UNLOCK;
ALTER USER myuser PASSWORD EXPIRE;
Please feel free to correct me if there are any errors in the blog. I am writing this blog for my reference and understanding.
Monday, 17 July 2017
Subscribe to:
Post Comments (Atom)
Jenkins Startup and Configuration
Steps to setup jenkins on ubuntu:- -After installation. check the jenkins services running on not on the server. sudo service jenk...
-
Oracle 11g Hidden Database Parameters ============================= [oracle@dev ~]$ sqlplus / as sysdba; SQL*Plus: Release 11.2.0.3.0 Prod...
-
Softwares Required to install WebLogic Server: 1. jdk-8u121-windows-x64.exe (for development) or jrockit-jdk1.6.0_45-R28.2.7-4.1.0-w...
-
Docker Installation on AWS EC2 ``` sudo apt install docker.io sudo systemctl enable --now docker docker -v ``` Other way to Install...
No comments:
Post a Comment