CoderZone.org

Category: >> Oracle PL/SQL >> USER password expiration Bookmark and Share

<< lastnext >>

Snippet Name: USER password expiration

Description: Expire the password on creation of user. This forces the user to create a new password before they can login.

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 profile
» USER tablespace quota
» USER temp tablespace
» USER tablespace
» USER password
» USERS: view specific user info
» USERS: view currently connected us...
» 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: CREATE USER w/ authenticati...
» USERS: Creating Users
» CREATE USER
» Drop User example
» Create User example
» Create User

Comment: (none)

Author: CoderZone
Language: PL/SQL
Highlight Mode: PLSQL
Last Modified: March 10th, 2009

CREATE USER psoug1
IDENTIFIED BY password123
DEFAULT TABLESPACE data
TEMPORARY TABLESPACE temp
QUOTA UNLIMITED ON data
PASSWORD EXPIRE;
 
SELECT username, expiry_date, account_status
FROM dba_users;
 
There haven't been any comments added for this snippet yet. You may add one if you like.  Add a comment 
© coderzone.org | users online: 10