Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Renaming Oracle Instance Name Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • Exadata Basics Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • Korn Shell Arithmatic Linux/Unix
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • age_alert.ksh aging out alert.log Linux/Unix
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • JSON/XML Types in Oracle Oracle
  • Recovering lost SYS password Oracle
  • Find Plan Hash value fphv.sql Oracle
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle

Creating never expiring DB user accounts in Oracle

Posted on 14-Sep-202314-Sep-2023 By Admin No Comments on Creating never expiring DB user accounts in Oracle

DB Users are required to reset the password periodically for better security. For some service accounts,  we need to make sure the password does not expire and does not impact the application.

For this purpose, we need to update that user’s Profile. Each Profile has multiple security settings that controls Password_life_time, password_reuse_time, password_reuse_max  settings. These are settings that control the behavior of Password.

    • PASSWORD_REUSE_TIME

The number of days passed before reusing the old password. 

    • PASSWORD_REUSE_MAX

The number of password changes before reusing the old password. 

To make DB User password never expire:

alter profile default 
limit
password_reuse_time unlimited
password_reuse_max unlimited
PASSWORD_LIFE_TIME UNLIMITED;

 

 

Oracle, SQL scripts

Post navigation

Previous Post: Convert multiple rows to single column
Next Post: Read CSV File using Python

Related Posts

  • Building Our Own Namespaces with “Create Context” Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Exadata Basics Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • RAC 11g with vmware Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Important Solaris Commands Linux/Unix
  • Roles and Stored Procs II Oracle
  • RAC with RHEL4 and 11g Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • RAC 11g with vmware Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • normal maintenance for exp-imp and renaming table Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme