I want to configure Password Expiration Waring to 5 days for linux server 6, below is the default check for 7 days warning where do i have to change the value for 5 days warning.
(concatenation " : " of (“file content test”; pathname of item 0 of it; item 2 of it; item 1 of it; "instance " & (it as string) of item 3 of it)) of ((it, (if exists it then concatenation “,” of substrings separated by “<!comma>” of it else it) of tuple string items (1 - 1) of concatenation ", " of substrings separated by “<!plural>” of concatenation “<!comma>” of substrings separated by “,” of concatenation “<!plural>” of (if exist matches (regex “<!comma>|<!plural>”) of it then error “Delimiter in string: <!comma>|<!plural>” else it) of lines whose (exist matches (regex “^\sPASS_WARN_AGE\s+([789]|[1-9][0-9]+)\s(\s+#.)?$") of it) of it, "^\sPASS_WARN_AGE\s+([789]|[1-9][0-9]+)\s*(\s+#.*)?$”, 1) of it) of files “/etc/login.defs”