[root@xd1dbadm01 ~]# chage -l oracle
Last password change : Nov 08, 2021
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : -1
Number of days of warning before password expires : 7
担心GRID也有类似情况,把GRID也一起修改
# chage -d 18939 -E -1 -m 0 -M -1 grid
[root@xd1dbadm01 ~]# chage -l grid
Last password change : Nov 08, 2021
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : -1
Number of days of warning before password expires : 7