How to Resend Otp Again in E Filing
Sometimes when we ssh to Linux box, we get this error "Alarm: Your countersign has expired." You must change your countersign now and login again! Changing password for user ocp. Irresolute password for ocp."
What does "Alarm: Your password has expired." mean?
That means the password for this account expired. We demand to change the password. But it will expire in xc days (default ) over again.
How to fix it?
Nosotros can change the password expires date to never with this command " chage -yard 0 -M 99999 -I -1 -Eastward -1 accountname" then the countersign would never expire.
How to cheque the account status in Linux?
[[email protected] ~]# chage -l ocp
Terminal password modify : Oct 27, 2020
Password expires : January 25, 2021
Countersign inactive : Feb 24, 2021
Account expires : never
Minimum number of days between password change : 7
Maximum number of days between password change : 90
Number of days of alarm earlier password expires : 7
How to alter the account password expire date in Linux?
[[email protected] ~]# chage -1000 0 -1000 99999 -I -1 -E -1 ocp
[[email protected] ~]# chage -l ocp
Concluding password alter : Oct 27, 2020
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password modify : 0
Maximum number of days between countersign modify : 99999
Number of days of warning before password expires : 7
Understanding Chage Command Options
- -m, –mindays MIN_DAYS A value of zero for this field indicates that the user may change his/her password at whatever time.
- -M, –maxdays MAX_DAYS Set the maximum number of days during which a password is valid. When MAX_DAYS plus LAST_DAY is less than the electric current solar day, the user will be required to change his/her countersign earlier being able to use his/her account. This occurrence can be planned for in advance by utilize of the -W pick, which provides the user with advance alert.
- -I, –inactive INACTIVE Passing the number -1 as the INACTIVE volition remove an account's inactivity.
- -Eastward, –expiredate EXPIRE_DATE Passing the number -1 every bit the EXPIRE_DATE will remove an account expiration date.
harringtoninving84.blogspot.com
Source: https://www.howtouselinux.com/post/how-to-fix-warning-your-password-has-expired-in-linux
0 Response to "How to Resend Otp Again in E Filing"
Post a Comment