htpasswd(1)

πŸ“¦ version 1.30, in alpine 3.22, alpine 3.23, alpine 3.24

πŸ’– htpasswd(1) β€” manipulate HTTP-server password files πŸ’–

Hiii bestie!! 🌸 You just opened the htpasswd(1) page from the General Commands Manual. It’s giving β€œtiny tool, big password-file energy,” and honestly? Iconic. πŸ’…


✨ NAME ✨

htpasswd β€” manipulate HTTP-server password files.


πŸ¦‹ SYNOPSIS πŸ¦‹

htpasswd [-c] passwordfile username

So you run it with a passwordfile and a username, and you can toss in -c if you’re feeling brand new. πŸŽ€


πŸŽ€ DESCRIPTION πŸŽ€

Okay so htpasswd sets a user's password in an httpd-style password file. That’s the whole assignment. ✨

And the -c flag? It creates a new file. Periodt. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

This one was written by Rob McCool. Then, on 29aug97, Jef Poskanzer modified it to accept new password on stdin, if stdin is a pipe or file. Why? Because that’s necessary for use from CGI. No cap. πŸ’€


This has been htpasswd(1) from the General Commands Manual, dated 05 May 1998. Byeee bestie, go slay those password files! πŸ’–βœ¨

πŸ“¦ where this page comes from