Thursday, May 18, 2023

Your account has expired; please contact your system administrator : Linux OS

Re-Enable user In Linux : Your account has expired; please contact your system administrator


[atharv@0.0.0.0~]$

[atharv@0.0.0.0~]$ su - atharv

Password:

Your account has expired; please contact your system administrator

su: User account has expired

[atharv@0.0.0.0~]$




Login as root user :


[root@0.0.0.0home]# chage -l atharv
Last password change                                    : May 18, 2023
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : May 18, 2023
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7
[root@0.0.0.0home]#
[root@0.0.0.0home]#




[root@0.0.0.0home]#
[root@0.0.0.0home]#
[root@0.0.0.0home]# chage --expiredate 2023-05-19 atharv
[root@0.0.0.0home]#
[root@0.0.0.0home]#
[root@0.0.0.0home]# chage --list atharv
Last password change                                    : May 18, 2023
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : May 19, 2023
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7
[root@0.0.0.0home]#

No comments:

Post a Comment

About the Author : Anurag Pandey | Database cloud Architect | Oracle | SQL Server | PostgreSQL | AI and Data Platform Enthusiast

Anurag Pandey is a Database Architect with expertise in Oracle, PostgreSQL, SQL Server, Linux, and enterprise database platforms and specializes in database architecture, performance tuning, high availability, disaster recovery, cloud modernization, and operational excellence. With extensive experience in enterprise-scale environments, Anurag is passionate about leveraging AI, automation, and modern data platforms to improve reliability, scalability, and business outcomes. He actively contributes to technical communities through knowledge sharing, architecture guidance, and thought leadership in database and data engineering domains.

Follow more articles at

Visit Blog

Wish you happy diwali 2026