LSH-KRB-CHECKPW(8)

πŸ’– LSH-KRB-CHECKPW πŸ’–

okay so bestie, welcome to the lsh-krb-checkpw page from the lsh manuals β€” it's manual section 8, aka the big-girl sysadmin section πŸ’…


✨ NAME ✨

lsh-krb-checkpw β€” a whole program whose entire job is checking whether a Kerberos username + password combo is valid πŸŽ€


🌸 SYNOPSIS 🌸

lsh-krb-checkpw username-to-check

πŸ¦‹ DESCRIPTION πŸ¦‹

So this page is a lil' quick-and-dirty doc for the lsh-krb-checkpw command. And here's the tea: it was written for the Debian distribution specifically because the original program simply does not have a manual page. Not me being dramatic, that's just the facts 😭. Instead, the real documentation lives in GNU Info format β€” more on that down below in SEE ALSO, bestie 🫢

lsh-krb-checkpw is the program that checks whether a username and password combination is valid for login, and it does this by doing a kerberos lookup ✨. It's designed to be used as a password helper program for lshd (8) β€” like, for example:

--password-helper=/usr/sbin/lsh-krb-checkpw

lsh-krb-checkpw takes one required argument, which is the username πŸ‘‘, and then it reads the password from stdin. After that it returns 0 if the password is valid, or 1 otherwise πŸ’€.

⚠️ ok this part is IMPORTANT, do not skip it: the password must be supplied exactly, meaning there must be no newline after the password. So if you're invoking it from a shell, you just type <your-password><CTRL-D> β€” that's your password, then literally press CTRL-D. no enter. no vibes. exact. periodt πŸŽ€

🧚 SEE ALSO 🧚

  • lsh(1)
  • lshd(8)

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 page bestie!! 🌈 this was lsh-krb-checkpw, sitting pretty in the lsh manuals, dated Nov 15 2005 β€” iconic, honestly πŸ‘‘πŸ’– go forth and check those passwords fr fr πŸ“

πŸ“¦ where this page comes from