Lines Matching defs:password

34 #include "ask-password-api.h"
179 * with a normal password request */
196 /* No password, because UI not shown */
310 log_error("Invalid password file %s", filename);
328 "Please enter password with the systemd-tty-ask-password-agent tool!",
354 char *password = NULL;
367 r = ask_password_tty(message, NULL, not_after, echo ? ASK_PASSWORD_ECHO : 0, filename, &password);
375 r = strv_push(&passwords, password);
378 string_free_erase(password);
386 return log_error_errno(r, "Failed to query password: %m");
407 if (asprintf(&p, "/run/systemd/ask-password-block/%u:%u", major(devnr), minor(devnr)) < 0)
439 * password entry are not printed over password prompts
446 if (asprintf(&p, "/run/systemd/ask-password-block/%u:%u", major(st.st_rdev), minor(st.st_rdev)) < 0) {
466 d = opendir("/run/systemd/ask-password");
471 return log_error_errno(errno, "Failed to open /run/systemd/ask-password: %m");
490 p = strappend("/run/systemd/ask-password/", de->d_name);
519 (void) mkdir_p_label("/run/systemd/ask-password", 0755);
525 if (inotify_add_watch(notify, "/run/systemd/ask-password", IN_CLOSE_WRITE|IN_MOVED_TO) < 0)
526 return log_error_errno(errno, "Failed to add /run/systemd/ask-password to directory watch: %m");
544 log_error_errno(r, "Failed to show password: %m");
565 "Process system password requests.\n\n"
568 " --list Show pending password requests\n"
569 " --query Process pending password requests\n"
570 " --watch Continuously process password requests\n"
571 " --wall Continuously forward password requests to wall\n"