Set the sudoers plugin name in configure so we get the extension right.

This commit is contained in:
Todd C. Miller
2010-03-17 18:48:19 -04:00
parent 81949e89d1
commit 5a2a2d193f
4 changed files with 13 additions and 2 deletions

View File

@@ -60,8 +60,8 @@ sudo_read_conf(const char *conf_file)
if ((fp = fopen(conf_file, "r")) == NULL) {
/* Default values */
info = emalloc(sizeof(*info));
info->symbol_name = "sudoers";
info->path = "sudoers_policy";
info->symbol_name = "sudoers_policy";
info->path = SUDOERS_PLUGIN;
info->prev = info;
info->next = NULL;
tq_append(&pil, info);