---
title: "ubuntu oracle ORA-01031: insufficient privileges "
author: "backbase"
date: "2010-06-03T10:20:21Z"
tags: []
categories: ["数据库"]
slug: "ubuntu-oracle-ora-01031-insufficient-privileges"
draft: false
lastmod: "2010-06-03T10:20:21Z"
id: 682726
url: "https://backbase.iteye.com/blog/682726"
---

1: 在ubuntu终端中输入 slqplus sytem/password as sysdba 报如下的错误：

 ORA-01031: insufficient privileges，网上google下找到了[http://weiruan85.iteye.com/blog/335344](http://weiruan85.iteye.com/blog/335344)

这位朋友的贴子，但感觉说得不太清楚。但还是明白来这位朋友的意思，还算要感想您。

 

2：自己在这位朋友的基础上补充下："oracle  安装完成后系统有一个ora\_dba组"，应该改成oracle安装后有一个dba的组，

当然可以在终端中用groups oracle查看 oracle用户真实对应的组名称，然后再将当前系统用户添加到oracle用户所在的组中去即可。如 sudo gpasswd -a username dba

 

3：再次输入 sqlplus system/miles123 as sysdba

 

4：输出：

SQL\*Plus: Release 10.2.0.1.0 - Production on Thu Jun 3 09:51:18 2010

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.