环境:
[oracle@sinosoft admin]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 16 14:46:47 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
....
[oracle@sinosoft ~]$ sqlplus lottery/lottery -- 普通用户没问题
SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 16 14:53:27 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
----检查
[root@sinosoft ~]# id oracle
uid=501(oracle) gid=1302(oinstall) 组=1302(oinstall)
[root@sinosoft ~]# usermod -g oinstall -G dba,oper,asmdba,asmadmin oracle
[root@sinosoft ~]# id oracle
uid=501(oracle) gid=1302(oinstall) 组=1302(oinstall),1200(asmadmin),1201(asmdba),1300(dba),1301(oper)
[root@sinosoft ~]# su - oracle
[oracle@sinosoft ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 16 14:52:32 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
【源于本人笔记】 若有书写错误,表达错误,请指正...
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28602568/viewspace-1375239/
,如需转载,请注明出处,否则将追究法律责任。