文档详情

创建Oracle密码文件的命令创建Oracle密码文件的命令.doc

发布:2016-12-29约7.02千字共7页下载文档
文本预览下载声明
创建Oracle密码文件的命令 orapwd file= password= entries=最大数目 这里的file命名规则在unix/linux下orapwORACLE_SID,在windows下为 pwdSID.ora 具体资料看下面的描述 1. unix 环境: Administrators 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一定是要用 orapwSID,没有例外。 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的设置, 缺省的值是 pwd
显示全部
相似文档