oracle 10g默认用户名、密码解锁、修改用户密码
. 安装时选择的自动安装,由于时间久远忘记用户名、密码了,导致现在试了几个默认的用户名密码後(表格中附带默认用户名及密码),都提示无效的用户名、密码,终于在试了下dbsnmp/dbsnmp,提示被锁;
2. 在CMD中启动SQLPLUS;用sqlplus/as sysdba登录,提示
连接到:
Oracle Database
3. 执行ALTER USER DBSNMP ACCOUNT UNLOCK;
4. 从新用SQL/PLUS登录,设置用户名、密码;
注:由于刚才解锁的用户名是DBSNMP,所以这里设置的用户名也是DBSNMP
Oracle
Username |
Password |
Description |
See Also |
CTXSYS |
CTXSYS |
The Oracle Text account |
Oracle Text Reference |
DBSNMP |
DBSNMP |
The account used by the Management Agent component of Oracle Enterprise Manager to monitor and manage the database |
Oracle Enterprise Manager Grid Control Installation and Basic Configuration |
LBACSYS |
LBACSYS |
The Oracle Label Security administrator account |
Oracle Label Security Administrator's Guide |
MDDATA |
MDDATA |
The schema used by Oracle Spatial for storing Geocoder and router data |
Oracle Spatial User's Guide and Reference |
MDSYS |
MDSYS |
The Oracle Spatial and Oracle interMedia Locator administrator account |
Oracle Spatial User's Guide and Reference |
DMSYS |
DMSYS |
The Oracle Data Mining account. |
Oracle Data Mining Administrator's Guide Oracle Data Mining Concepts |
OLAPSYS |
MANAGER |
The account used to create OLAP metadata structures. It owns the OLAP Catalog (CWMLite). |
Oracle OLAP Application Developer's Guide |
ORDPLUGINS |
ORDPLUGINS |
The Oracle interMedia user. Plug-ins supplied by Oracle and third party format plug-ins are installed in this schema. |
Oracle interMedia User's Guide |
ORDSYS |
ORDSYS |
The Oracle interMedia administrator account |
Oracle interMedia User's Guide |
OUTLN |
OUTLN |
The account that supports plan stability. Plan stability enables you to maintain the same execution plans for the same SQL statements. OUTLN acts as a role to centrally manage metadata associated with stored outlines. |
Oracle Database Performance Tuning Guide |
SI_INFORMTN_SCHEMA |
SI_INFORMTN_SCHEMA |
The account that stores the information views for the SQL/MM Still Image Standard |
Oracle interMedia User's Guide |
SYS |
CHANGE_ON_INSTALL |
The account used to perform database administration tasks |
Oracle Database Administrator's Guide |
SYSMAN |
CHANGE_ON_INSTALL |
The account used to perform Oracle Enterprise Manager database administration tasks. Note that SYS and SYSTEM can also perform these tasks. |
Oracle Enterprise Manager Grid Control Installation and Basic Configuration |
SYSTEM |
MANAGER |
Another account used to perform database administration tasks. |
1、使用oracle用户登录,连接数据库
[oracle@wuzj ~]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Feb 26 12:06:29 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected.
//查看用户
SQL> select username,password from dba_users;
//修改用户口令 格式 alter user 用户名 identified by 新密码;
SQL> alter user system identified by manager;
另一种修改值的办法
SQL> alter user system identified by values '2D594E86F93B17A1';
用户已更改。
//在试试这个密码
SQL> connect system/oracle
已连接。
//这个密码就不灵了
SQL> connect system/manager
ERROR:
ORA-01017: invalid username/password; logon denied