Skip to content

Instantly share code, notes, and snippets.

@mulander
Created June 6, 2017 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mulander/05fd26d789ea778d9b1c0c451bdeec01 to your computer and use it in GitHub Desktop.
Save mulander/05fd26d789ea778d9b1c0c451bdeec01 to your computer and use it in GitHub Desktop.
[mulander@napalm httpd]$ ag htpasswd
httpd.conf.5
175:.It Oo Ic no Oc Ic authenticate Oo Ar realm Oc Ic with Pa htpasswd
179:.Pa htpasswd .
690:.Xr htpasswd 1 ,
parse.y
828: /* New htpasswd, get new Id */
851: if (strlcpy($$.auth_htpasswd, $3,
852: sizeof($$.auth_htpasswd)) >=
853: sizeof($$.auth_htpasswd)) {
862: if (strlcpy($$.auth_htpasswd, $2,
863: sizeof($$.auth_htpasswd)) >=
864: sizeof($$.auth_htpasswd)) {
config.c
716: auth->auth_htpasswd, auth->auth_id, ps->ps_title[id]);
738: __func__, auth.auth_htpasswd, auth.auth_id);
744: auth.auth_htpasswd, auth.auth_id);
server_http.c
157: if ((fp = fopen(auth->auth_htpasswd, "r")) == NULL)
httpd.c
1284: if (strcmp(entry->auth_htpasswd, auth->auth_htpasswd) == 0)
httpd.h
446: char auth_htpasswd[PATH_MAX];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment