SQL>select username,account_status,default_tablespace,TEMPORARY_TABLESPACE,created from dba_users d order by d.created desc ;(也可以加where子句)
方法一: password
方法二:alter user xxx identified by xxx
Alter profile default limit PASSWORD_LIFE_TIME UNLIMITED;
SQL>conn qiji/oracle sqlplus qiji/oracle@10.126.29.169:1521/hx ----TNS方式
2.1依照1.1查一下用户状态
DBA给一个用户解锁,上锁,根本不需要知道它的密码。
alter user scott accont lock; ----上锁
alter user scott accont unlock; ----解锁
锁啦,就不让你用了。
原文:https://www.cnblogs.com/miracle2020/p/14037910.html