When i tried to login as oracle user in one of our servers, i got a response that password has expired and needs to be changed.
Used passwd command to change the password, but when i checked the expiry date it shows as it will expire in another 90 days.
**************************************** Step By Step Procedure ******************************************************
#########################################
# 1) Check Present Values
#########################################
[oracle@host01 ~]$ sudo su -
[root@host01 ~]#
[root@host01 ~]# chage -l oracle
Last password change : Feb 18, 2014
Password expires : May 19, 2014
Password inactive : never
Account expires : never
Minimum number of days between password change : 15
Maximum number of days between password change : 90
Number of days of warning before password expires : 7
[root@host01 ~]#
=====================================================================================================================
#########################################
# 2) Modify the Expiry Date
#########################################
[root@host01 ~]# chage -M 99999 oracle
[root@host01 ~]#
=====================================================================================================================
#########################################
# 3) View the Changes
#########################################
[root@host01 ~]# chage -l oracle
Last password change : Feb 18, 2014
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 15
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7
[root@host01 ~]#
=====================================================================================================================
Comments Are Always welcome
=====================================================================================================================