Chinaunix首页 | 论坛 | 博客
  • 博客访问: 642061
  • 博文数量: 244
  • 博客积分: 9445
  • 博客等级: 中将
  • 技术积分: 2572
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-11 16:39
个人简介

简单点,再简单点

文章分类

全部博文(244)

文章存档

2020年(2)

2019年(1)

2018年(2)

2014年(2)

2013年(4)

2012年(13)

2011年(24)

2010年(12)

2009年(34)

2008年(61)

2007年(51)

2006年(38)

我的朋友

分类: Oracle

2007-01-12 13:51:18

软件环境:    
  1、Windows   NT4.0+ORACLE   8.0.4  
  2、ORACLE安装路径为:C:\ORANT  
   
  实现方法:    
  用法:orapwd   file=   password=   entries=  
   
  参数解释:  
      file   -   name   of   password   file   (mand),  
      password   -   password   for   SYS   and   INTERNAL   (mand),  
      entries   -   maximum   number   of   distinct   DBA   and   OPERs   (opt),  
      There   are   no   spaces   around   the   equal-to   (=)   character.  
   
  1、进入DOS下  
   
  2、默认internal密码文件在c:\orant\database下,是隐藏属性,文件名称与数据库实例名有关  
   
      如默认ORACLE实例名为ORCL,则internal密码文件名为pwdorcl.ora  
   
  3、建立新的internal密码文件,起个新名字为pwdora8.ora  
   
      orapwd80   file=pwdora8.ora   password=B   entries=5     --注:password项一定要用大写,并且不要用单引号  
   
  4、拷贝pwdora8.ora文件到c:\orant\database目录下  
   
  5、运行regedit,修改口令文件指向  
   
  6、找到HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE项  
   
      定位ORA_ORCL_PWFILE子项,改变其值为c:\orant\database\pwdora8.ora  
   
  7、关闭ORACLE数据库,重新启动  
   
  8、进入svrmgr30服务程序,测试internal密码是否更改成功  
阅读(1410) | 评论(0) | 转发(0) |
0

上一篇:索引的用法

下一篇:Oracle RAC 配置和测试

给主人留下些什么吧!~~