文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机软件及应用 > 创建Oracle密码文件的命令
侵权投诉

创建Oracle密码文件的命令

创建Oracle密码文件的命令

orapwd file=<> password=<> entries=最大数目

这里的file命名规则在unix/linux下orapw<ORACLE_SID>,在windows下为 pwd<SID>.ora

具体资料看下面的描述

1. unix 环境:

Administrator's Reference 10g Release 2 (10.2) for UNIX-Based Operating Systems.

1. Log in as the Oracle software owner. (以Oracle管理员身份登入)

2. Use the orapwd utility to create the password file as follows(使用orapwd功能创建密码文件):

$ $ORACLE_HOME/bin/orapwd file=filename password=password entries=max_users

filename The name of the file in which password information is written(filename指密码信息保存文件的文件名)

The name of the file must be orapwsid, and you must supply the full path name. Its contents are encrypted. Typically,the password file is created in the $ORACLE_HOME/dbs directory.(文件名必须为orapwsid,并需要提供完整路径,内容是加密的,通常情况下,密码文件被创建在$ORACLE_HOME/dbs路径下。)

请注意,unix环境中,password file一定是要用 orapw<SID>,没有例外。

2. windows 环境:

Platform. Guide 10g Release 2 (10.2) for Microsoft Windows (32-Bit)

To create and populate a password file:

(1). Create a password file with the Password Utility:

C:> orapwd FILE=pwdsid.ora PASSWORD=password ENTRIES=max_users

where

| FILE specifies the password filename.

| SID identifies the database instance.

| PASSWORD sets the password for account SYS.

| ENTRIES sets maximum number of entries in password file. This corresponds to maximum number of distinct users allowed to connect to the database simultaneously with either the SYSDBA or the SYSOPER DBA privilege.

(2). Set initialization parameter file parameter REMOTE_LOGIN_PASSWORDFILE to exclusive,shared,or none.

In search of the password file,Oracle Database looks in the registry for the value of parameter ORA_SID_PWFILE. If no value is specified, then it looks in the registry for the

value of parameter ORA_PWFILE, which points to a file containing usernames,

passwords, and privileges. If that is not set, then it uses the default:

ORACLE_BASEORACLE_HOMEDATABASEPWDsid.ORA.

The default value is shared.

请注意,windows环境中,很大的部分是基于registry中变量ora_sid_pwfile 或者 ora_pwfile

第1页

你可能喜欢

  • oracle命令
  • oracle论文
  • oracle选择题
  • oracle数据库基础
  • oracle数据库学习
  • oracle大数据

热门文档

相关文档

  • Oracle密码文件管理

    Oracle密码文件管理_调查/报告_表格/模板_应用文书。Oracle 密码文件管理数据库... 使用工具 ORAPWD.EXE 手工创建密码文件,命令格式如下: C:\ >ORAPWDFILE=< ...

  • 怎样使用orapwd新建口令文件

    怎样使用 orapwd 新建口令文件 orapwd 是 oracle 提供的创建口令文件的命令,如果口令文件不见了可以用这个 命令重新创建。下面是 orapwd 命令的一些解释。 D:\...

  • Oracle 密码文件的使用和维护

    Oracle 密码文件的使用和维护黄老师2013.7 目录 1 概要 2 密码文件的创建 3 参数REMOTE_LOGIN_PASSWORDFILE 4 密码文件中增加\删除用户 5 使用密码文件登陆 6 ...

  • Oracle数据库密码文件

    Oracle数据库密码文件_IT/计算机_专业资料。在Oracle数据库系统中,用户如果要以...在此之后,管理员也可以根据需要,使用工具ORAPWD.EXE手工创建密码文件,命令格式...

  • Oracle 默认密码及修改密码

    又或者删除旧的密码文件,然后新建一个,如 orapwd file=d:\oracle\database\pw...在此之后,管理员也可以根据需要,使用工具 ORAPWD.EXE 手工创建密码文件,命令格式...

  • oracle命令

    oracle命令_计算机软件及应用_IT/计算机_专业资料。基础的oracle命令和实例...(2)确定认证方式密码文件认证或系统认证(3)手动建立一个pfile并放置到$ORACLE_...

  • Oracle LISTENER监听文件参数详解及Lsnrctl命令综述

    Oracle LISTENER监听文件参数详解及Lsnrctl命令综述_IT/计算机_专业资料。对理解... Oracle 监听器 Listener... 10页 1下载券 创建Oracle密码文件的命... 7页...

  • Oracle手动创建数据库步骤说明

    主要使用分步骤的命令来创建 Oracle 数据库,而不是用 Oracle 的默认安装或者 ...ORACLE_SID:全部都是 orcl SYS 和 SYSTEM 等用户的密码:oracle 1:创建文件夹...

  • oracle命令大全

    1.create user username identified by password;//建用户名和密码 oracle ,...如何在 PL/SQL 中读写文件? UTL_FILE 包允许用户通过 PL/SQL 读写操作系统...

  • ORACLE用户认证和密码

    重建口令文件系统命令 : 命令格式: 命令格式: C:\>orapwd file=%ORACLE_HOME%\database\pw<ORACLE_SID>.ORA */口令文件路径 口令文件路径 Password=*** */密...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email