Quick Search:
 
 Oracle PL/SQL: USERS: CREATE USER w/ authentication Jump to:  
Category: >> Oracle PL/SQL >> USERS: CREATE USER w/ authentication  

<< lastnext >>

Snippet Name: USERS: CREATE USER w/ authentication

Description: This example shows the CREATE USER syntax to have the user authentication done automatically by the OS on the client PC.

Please note that automatic logins are not secure. The Oracle configuration file can be altered at will by any user. If you allow automatic logins, Oracle recommends that you disable ops$ logins in the listener.ora file.

Also see:
» USER: connection information
» USER: User Information 2
» USER idle time
» USER Information
» USER active connected users
» USER memory use
» USER: Connected Users
» USER: drop user
» USER: misc queries and commands
» USER system authentication
» USER lock account
» USER password expiration
» USER profile
» USER tablespace quota
» USER temp tablespace
» USER tablespace
» USER password
» USERS: view specific user info
» USERS: view currently connected users
» USERS: view all active users
» USERS: Drop users
» USERS: Lock and Unlock accounts
» USERS: Proxy Users
» USERS: Grant tablespace access
» USERS: Alter a user
» USERS: Creating Users
» CREATE USER
» Drop User example
» Create User example
» Create User

Comment: (none)

Language: PL/SQL
Highlight Mode: PLSQL
Last Modified: March 09th, 2009

CREATE USER <machine_name\user_name> IDENTIFIED EXTERNALLY;
 
-- in this example, "STELLAR" is the name of the client PC. 
CREATE USER "STELLAR\MIKE"  IDENTIFIED EXTERNALLY;
 
-- grant the CREATE SESSION privilege to the user
GRANT CREATE SESSION TO "STELLAR\MIKE";
 
-- create a user account on the client PC named "MIKE". 
-- Login to Windows as "MIKE" and start sqlplus. The 
-- database should connect automatically without any 
-- username or password prompts.
 
 


 
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org