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
[Post Views: 1838]
Brijesh Gogia
You can connect with me on LinkedIn.
Latest posts by Brijesh Gogia (see all)
- Physical and Logical Block Corruption in Oracle Database - March 10, 2018
- Performance Tuning Basics 15 : AWR Report Analysis - February 6, 2018
- Oracle Enterprise Manager (OEM) 13c – Part 3 : New Features in OEM 13c (13.2) - February 6, 2018
Be First to Comment