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...
-
ReactJS Important links: https://github.com/facebook/react https://en.wikipedia.org/wiki/React_(JavaScript_library) https://facebook.gi...
-
PeopleSoft Tables (PeopleTools, HRMS, Benfits, Payroll) PeopleTools Tables Projects * PSPROJECTDEFN — Project header table * PSPROJEC...
No comments:
Post a Comment