EXPIRY(1)
๐ EXPIRY(1) โ like, the password-expiry check thingy
okay bestie, so this is a page from the User Commands manual (section 1, iykyk), and it's literally about finding out whether your password has gone โจstaleโจ โ and then doing something about it. Let's go.
๐ NAME ๐
expiry โ check and enforce password expiration policy ๐ฐ๏ธ
โจ SYNOPSIS โจ
expiry option
๐ธ DESCRIPTION ๐ธ
So the expiry command has basically two moods, and honestly? Relatable.
- It checks (
-c) the current password expiration - and it forces (
-f) changes when required.
That's the whole vibe. And the best part โ it is callable as a normal user command. No sudo drama, no "are you root tho", you can just run it. ๐ซถ
๐ฆ OPTIONS ๐ฆ
The options which apply to the expiry command are:
-c,--checkโ check the password expiration of the current user. Just a little peek, no changes, very low-stakes. ๐-f,--forceโ force a password change if the current user has an expired password. It's giving intervention. ๐ญ-h,--helpโ display help message and exit. The classic "what does this even do" button. ๐
๐ FILES ๐
/etc/passwdโ user account information./etc/shadowโ secure user account information. (Yes, the โจsecureโจ one. Respect her privacy. ๐)
๐ฅ SEE ALSO ๐ฅ
passwd(5), shadow(5) โ go read these next, they're the friends of this page fr fr.
ngl bestie, this one's short and sweet โ but the facts are the facts, so remember:-cchecks,-fforces,-hhelps, and/etc/shadowis where the secrets live. ๐
๐ธ okay that's the whole page!! brought to you by shadow-utils 4.18.0, dated 06/24/2025 โ mwah, slay, periodt, go check your password ๐ ๐
๐ฆ where this page comes from
- alpine 3.24: shadow-doc 4.18.0-r1 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms