Many times proper functioning of application demands that the account/password of the OS (Linux/UNIX) user which owns the application should not expire.
chage is the OS command by which we can control the number of days between password changes and the date of the last password change.
The chage command is restricted to the root user, except for the -l option, which may be used by an unprivileged user to determine when the password or account is due to expire.
Let us make password of ‘oracle’ OS user account as non-expiry.
1) CHECK THE CURRENT STATUS OF USER
2) CHANGE AND MAKE IT NON-EXPIRY
# chage -m -1 -M -1 -I -1 -E -1 oracle
Where:
[-m mindays]
[-M maxdays]
[-d lastday]
[-I inactive]
[-E expiredate]
[-W warndays]
3) VERIFY
[root@rclnperp20 ~]# chage -l oracle
- Oracle Multitenant DB 4 : Parameters/SGA/PGA management in CDB-PDB - July 18, 2020
- Details of running concurrent requests in Oracle EBS - May 26, 2020
- Oracle Multitenant DB 3 : Data Dictionary Architecture in CDB-PDB - March 20, 2020