0% found this document useful (0 votes)
29 views

Creating Os Dbusers

This document outlines how to set up operating system-authenticated users in an Oracle database by configuring the database to use Windows authentication. It provides steps to set initialization parameters, create a local Windows user, modify the registry, create an Oracle user mapped to the Windows user, grant privileges, and test login and view the external user mapping. The process allows managing database users and privileges at the Windows level rather than within Oracle.

Uploaded by

bugzbinny
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC or read online on Scribd
0% found this document useful (0 votes)
29 views

Creating Os Dbusers

This document outlines how to set up operating system-authenticated users in an Oracle database by configuring the database to use Windows authentication. It provides steps to set initialization parameters, create a local Windows user, modify the registry, create an Oracle user mapped to the Windows user, grant privileges, and test login and view the external user mapping. The process allows managing database users and privileges at the Windows level rather than within Oracle.

Uploaded by

bugzbinny
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC or read online on Scribd
You are on page 1/ 1

Creating Operating System–Authenticated Users

By using operating system authentication, you can manage the database users and
their privileges at the Windows level.
To set up operating system–authenticated users, perform the following steps:
1. Set the os_authent_prefix initialization parameter.
os_authent_prefix = “”
2. Shut down and restart the instance.
3. Set the sqlnet.authentication_services parameter in the sqlnet.ora file to NTS.
4. Create a local Windows user named winuser.
5. Enter regedt32 and add the entry:
hklm/software/oracle/home0/osauth_prefix_domain = False
The default value is True.
6. Connect to SQL*Plus.
7. Create an Oracle database user named winuser:
SQL> CREATE USER winuser IDENTIFIED EXTERNALLY;
SQL> GRANT create session TO winuser;
8. Connect to Windows as winuser, and then connect to SQL*Plus.
DOS> sqlplus /
SQL> SHOW USER
SQL> SELECT username, password FROM user_users;

You might also like