LSH-PAM-CHECKPW(8)
β¨ LSH-PAM-CHECKPW(8) β¨
okay bestie, pull up a chair because we're talking about lsh-pam-checkpw from the lsh manuals π this is a section 8 page (that's admin/system tools, iykyk) and it's short but it's important, so let's get into it π«Ά
πΈ NAME πΈ
lsh-pam-checkpw β a program that checks a PAM username/password combination π
π SYNOPSIS π
lsh-pam-checkpw username-to-check
π¦ DESCRIPTION π¦
So like, real talk: this manual page only documents the lsh-pam-checkpw command briefly, okay? Not me being lazy β that's literally what the page says π
This page was written for the Debian distribution specifically, because the original program does not have a manual page of its own. Instead, it ships its documentation in the GNU Info format β see below for the deets π
lsh-pam-checkpw is a program that checks whether a username and password combination is valid for login, by doing a PAM lookup. It's designed to be used as a password helper program for lshd(8) β for example:
--password-helper=/usr/sbin/lsh-pam-checkpw
lsh-pam-checkpw takes one required argument, which is the username, and it reads the password from stdin. Then it returns 0 if the password is valid, or 1 otherwise. periodt π―
β οΈ okay this part is IMPORTANT, no cap: the password must be supplied exactly β there must be no newline after the password. So if you're invoking it from a shell, just type "<your-password><CTRL-D>". like literally hit CTRL-D instead of enter or it will not slay ππ
π₯ SEE ALSO π₯
The programs are documented fully by Lsh, available via the Info system πβ¨
π AUTHOR π
This manual page was written by Timshel Knoll <timshel@debian.org>, for the Debian GNU/Linux system (but may be used by others) π
and that's the whole vibe, bestie β lsh-pam-checkpw, page LSH-PAM-CHECKPW(8), dated Jul 05 2002, brought to you by the lsh manuals π thanks for coming to my TED talk, go check your passwords responsibly π
β¨
π¦ where this page comes from
- debian bookworm: lsh-server 2.1-13+b1
- ubuntu jammy: lsh-server 2.1-13
- ubuntu noble: lsh-server 2.1-14build2
- ubuntu resolute: lsh-server 2.1-14build2
- ubuntu stonking: lsh-server 2.1-14build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms