Operating system user password has expired on the monitoring software can not get the local information space

Resident customer environment, the operating system can not log space is full cause DB, after the investigation found that the problem is the operating system of the local space is full, but no alarm monitoring software!

Software vendors with the staff and found that the operating system user password expires caused the follow-up to the user to configure the operating system never expires!

Environment is Linux!

 

[root@rac1 ~]# useradd test1

[root@rac1 ~]# passwd test1
Changing password for user test1.
New UNIX password: 
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password: 
passwd: all authentication tokens updated successfully.
[root@rac1 ~]# chage -l test1
Change password Last: Mar 28, 2020 
Password the Expires: Mar 28, 2020] [password expiration time
[root @ rac1 ~] # chage -M 99999 test1 password expiration 
or
[root @ rac1 ~] # chage test1 
other is the default, press Enter
Maximum Password Age [90]: = > 99999 input, five nines
Last Password Change (YYYY-MM- DD) [2019-01-01]: => enter the current date 2020-03-31

[root @ Rac1 ~] # the chage - L test1 
Last Change password: Mar 28 , 2020 
Password the Expires: never] [password expiration time - was never confirmed and never expires! 
Password inactive: never dead time [password] 
Account expires: never expires] [Account 
Minimum Number of Days Change password BETWEEN: 0      [changing twice the minimum distance between the code number of days] 
the Maximum Number of Days Change password BETWEEN: 99999 [twice password maximum number of days away from changing the password] 
number the password of days of the before warning the expires: 7      days before the start of the warning [] password expires
 
suggestions:
Operating system and database monitoring software, users are equipped with the user password never expires configuration, otherwise configuration routine inspection and testing, reset the password before it expires!

Guess you like

Origin www.cnblogs.com/lvcha001/p/12603569.html