expiry(1) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | FILES | SEE ALSO | COLOPHON

EXPIRY(1)                     User Commands                     EXPIRY(1)

NAME         top

       expiry - check and enforce password expiration policy

SYNOPSIS         top


       expiry option

DESCRIPTION         top

       The expiry command checks (-c) the current password expiration and
       forces (-f) changes when required. It is callable as a normal user
       command.

OPTIONS         top

       The options which apply to the expiry command are:

       -c, --check
           Check the password expiration of the current user.

       -f, --force
           Force a password change if the current user has an expired
           password.

       -h, --help
           Display help message and exit.

FILES         top

       /etc/passwd
           User account information.

       /etc/shadow
           Secure user account information.

SEE ALSO         top

       passwd(5), shadow(5).

COLOPHON         top

       This page is part of the shadow-utils (utilities for managing
       accounts and shadow password files) project.  Information about
       the project can be found at 
       ⟨https://github.com/shadow-maint/shadow⟩.  If you have a bug report
       for this manual page, send it to
       pkg-shadow-devel@alioth-lists.debian.net.  This page was obtained
       from the tarball shadow-4.19.0.tar fetched from
       ⟨https://github.com/shadow-maint/shadow/releases⟩ on 2026-01-16.
       If you discover any rendering problems in this HTML version of the
       page, or you believe there is a better or more up-to-date source
       for the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to man-pages@man7.org

shadow-utils 4.19.0             01/16/2026                      EXPIRY(1)