为什么我用orapwd创建的密码权限不足??

[复制链接]
查看11 | 回复9 | 2006-11-3 01:02:53 | 显示全部楼层 |阅读模式
OS: Windows 2000 server
oracle: oracle815
orapwd file=filepath password=oracle
查看用户组:没有ORA_DBA组
在oraclehome\network\admin\目录下,没有sqlnet.ora
问题是:为什么我使用internal/oracle@sid和sys/oracle@sid都不能连接到数据库呢??
请高手指点一二,谢谢!!
回复

使用道具 举报

千问 | 2006-11-3 01:02:53 | 显示全部楼层
Up
回复

使用道具 举报

千问 | 2006-11-3 01:02:53 | 显示全部楼层
You should login as sysdba
回复

使用道具 举报

千问 | 2006-11-3 01:02:53 | 显示全部楼层
最初由 remen 发布
[B]You should login as sysdba [/B]

报错误权限不足!
是不是815有别的什么机关啊??谢谢
回复

使用道具 举报

千问 | 2006-11-3 01:02:53 | 显示全部楼层
只有DBA用戶才能使用orapwd。
大概是passwd文件懷了吧
回复

使用道具 举报

千问 | 2006-11-3 01:02:53 | 显示全部楼层
确认密码文件没有写错格式?
回复

使用道具 举报

千问 | 2006-11-3 01:02:53 | 显示全部楼层
最初由 Lareine 发布
[B]只有DBA用戶才能使用orapwd。
大概是passwd文件懷了吧 [/B]

哦??我用的是系统管理员用户,是不是因为我的系统上没有ORA_DBA这个组的原因呢??如果是这个原因,我怎样才能加上这个组呢??谢谢
回复

使用道具 举报

千问 | 2006-11-3 01:02:53 | 显示全部楼层
最初由 orablue 发布
[B]确认密码文件没有写错格式? [/B]

确认没有写错格式,密码文件已经创建了.
回复

使用道具 举报

千问 | 2006-11-3 01:02:53 | 显示全部楼层
应该是没有加到DBA组中吧
回复

使用道具 举报

千问 | 2006-11-3 01:02:53 | 显示全部楼层
最初由 gufengge 发布
[B]
哦??我用的是系统管理员用户,是不是因为我的系统上没有ORA_DBA这个组的原因呢??如果是这个原因,我怎样才能加上这个组呢??谢谢 [/B]

[php]
C:\>net user mis
User name
mis
Full Name
Comment
User's comment
Country code
000 (System Default)
Account active
Yes
Account expires
Never
Password last set
2007/3/27 下午 02:09
Password expires
2007/5/9 下午 12:57
Password changeable
2007/3/27 下午 02:09
Password required
Yes
User may change password Yes
Workstations allowed All
Logon script
User profile
Home directory
Last logon
2007/4/27 下午 01:59
Logon hours allowed
All
Local Group Memberships*Users
Global Group memberships *None
The command completed successfully.

C:\>net localgroup ora_dba mis /add
The command completed successfully.

C:\>net user mis
User name
mis
Full Name
Comment
User's comment
Country code
000 (System Default)
Account active
Yes
Account expires
Never
Password last set
2007/3/27 下午 02:09
Password expires
2007/5/9 下午 12:57
Password changeable
2007/3/27 下午 02:09
Password required
Yes
User may change password Yes
Workstations allowed All
Logon script
User profile
Home directory
Last logon
2007/4/27 下午 01:59
Logon hours allowed
All
Local Group Memberships*ORA_DBA
*Users
Global Group memberships *None
The command completed successfully.
----
[/php]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行