Comment: Automatic logins by PC, Apple MacIntosh, and OS/2 users are not considered to be secure. A user could edit the Oracle configuration file and change their user ID at will. For security reasons, if users of these systems are logging in over the network, Oracle Corporation strongly recommends you disable the ops$ logins in the listener.ora file.
Language: PL/SQL Highlight Mode: PLSQL Last Modified: March 16th, 2009
Changes TO make FOR external authentication
-- Set the initSID.ora parameters:
os_authent_prefix ="OPS$"-- Generate a new spfile:CREATE spfile FROM pfile='initorabase.ora';-- Add the following to the sqlnet.ora:
sqlnet.authentication_services =(NTS)===================================-- The syntax for CREATE USER where authentication is -- performed by the operating system on the server-- Step 1: Connect as system/manager in SQL*Plus and create -- the Oracle user:CREATEUSER ops$oracle IDENTIFIED EXTERNALLY;SELECT username, password, external_name
GRANT CREATE session TO ops$oracle;-- Step 2: Create a user in the operating system named oracle -- if one does not already exist.-- Step 3: Go to command line (terminal window in UNIX, cmd in -- Windows. Type 'sqlplus' (without the single quotes). You -- should be connected to the database without having to -- enter a username or password.===================================-- The syntax for CREATE USER where authentication is performed -- by the operating system on the client-- Step 1: Connect as system/manager in SQL*Plus and create the -- Oracle user:CREATEUSER"PC100\USER" IDENTIFIED EXTERNALLY;-- where PC100 is the name of the client computer. Then:
GRANT CREATE SESSION TO"PC100\USER";-- 2 - Create a user in Windows named USER.-- 3 - Log on Windows as USER and go to the C:\> command line.-- Type 'sqlplus' (without the single quotes). You should be -- connected to your database without having to enter a -- username or password.
SQL University.net courses meet the most demanding needs of the business world for advanced education
in a cost-effective manner. SQL University.net courses are available immediately for IT professionals
and can be taken without disruption of your workplace schedule or processes.
Compared to traditional travel-based training, SQL University.net saves time and valuable corporate
resources, allowing companies to do more with less. That's our mission, and that's what we deliver.