Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Very clear article about oracle dataguard Oracle
  • USE_NL and INDEX hints example Oracle
  • S3 Basic info AWS
  • create trigger syntax Oracle
  • AWR license Oracle
  • online_ts_bkup.sql Oracle
  • Pending Distributed Transations Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • cif crons Linux/Unix
  • oracle fast start failover best practice Oracle
  • xargs use Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress

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

  • Check Oracle installed products using one command Oracle
  • sqlnet.ora paramters Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle
  • find_cons.sql Oracle
  • How to find password change date for user Oracle
  • Finding locked objects 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
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • restarting network in linux Linux/Unix
  • Optimizer_Index init.ora parameter explaination. Oracle
  • Index Range Scan Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • How to see which patches are applied. Oracle
  • nfs mount command Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme