Login gateway using ssgconfig user, shows this Error
Your account has expired; please contact your system administrator User Account expired"
User account has expired
Release :
Component :
User Account is currently expired.
when run :
bash-4.2# chage -l ssgconfig
Last password change : Ago 16, 2022
Password expires : May 21, 2049
Password inactive : never
Account expires : Ago 08 , 2022
Minimum number of days between password change : 1
Maximum number of days between password change : 9999
Number of days of warning before password expires : 7
1. reboot the gateway linux server
2. Press 'e' when loading the grub menu
3. press arrow down and search word linux16, then using right arrow go until UTF-8
4. add and space and write :
audit=1 init=/bin/bash
5. press CTRL-x to save and restart the linux boot
6. will going to
“bash-4.2#” prompt instead of reboot
7. Mount the root file system with the following command:
mount -o remount,rw /
8. run
chage -M 99999 -E -1 username
note: -E -1 (number minus one) will set “Account expires” to never.
this is for lab purposes only, do not use this on a production env. not advised..
9. chage -l ssgconfig
should see something like :
bash-4.2# chage -l ssgconfig
Last password change : Jan 04, 2022
Password expires : May 21, 2049
Password inactive : never
Account expires : never
Minimum number of days between password change : 1
Maximum number of days between password change : 9999
Number of days of warning before password expires : 7
bash-4.2# chage -l root
check for root there is not expiration set , else run same command for root (chage -M 99999 -E -1 username )
9. type : exit
bash-4.2# exit
and press enter to allow the boot/reboot.
10. use ssgconfig password to access the gateway