ORAPWD. For some operating systems, you can create this file as part of your standard installation.To enable authentication of an administrative user using password file authentication you must do the following:
-
If not already created, create the password file using the
ORAPWDutility:ORAPWD FILE=filename PASSWORD=password ENTRIES=max_users
Note:
REMOTE_LOGIN_PASSWORDFILEis a static initialization parameter and therefore cannot be changed without restarting the database. -
Set the
REMOTE_LOGIN_PASSWORDFILEinitialization parameter toEXCLUSIVE. (This is the default).
SYS (or as another user with the administrative privileges).-
If the user does not already exist in the database, create the user.
-
Grant the
SYSDBAorSYSOPERsystem privilege to the user:GRANT SYSDBA to oe;
This statement adds the user to the password file, thereby enabling connectionASSYSDBA.
No comments:
Post a Comment