Lines Matching refs:user_name

203                 const char *user_name,  in acquire_existing_password()  argument
213 assert(user_name); in acquire_existing_password()
232 if (is_this_me(user_name) <= 0) in acquire_existing_password()
238 user_name) < 0) in acquire_existing_password()
265 const char *user_name, in acquire_recovery_key() argument
274 assert(user_name); in acquire_recovery_key()
293 if (is_this_me(user_name) <= 0) in acquire_recovery_key()
296 if (asprintf(&question, "Please enter recovery key for user %s:", user_name) < 0) in acquire_recovery_key()
323 const char *user_name, in acquire_token_pin() argument
332 assert(user_name); in acquire_token_pin()
347 if (is_this_me(user_name) <= 0) in acquire_token_pin()
350 if (asprintf(&question, "Please enter security token PIN for user %s:", user_name) < 0) in acquire_token_pin()
378 const char *user_name, in handle_generic_user_record_error() argument
385 assert(user_name); in handle_generic_user_record_error()
390 …currently absent, please plug in the necessary storage device or backing file system.", user_name); in handle_generic_user_record_error()
394 … "Too frequent login attempts for user %s, try again later.", user_name); in handle_generic_user_record_error()
404 user_name, in handle_generic_user_record_error()
419 user_name, in handle_generic_user_record_error()
433 user_name, in handle_generic_user_record_error()
444 user_name, in handle_generic_user_record_error()
489 user_name, in handle_generic_user_record_error()
500 user_name, in handle_generic_user_record_error()
511 user_name, in handle_generic_user_record_error()
517 …return log_error_errno(ret, "Operation on home %s failed: %s", user_name, bus_error_message(error,… in handle_generic_user_record_error()
522 static int acquire_passed_secrets(const char *user_name, UserRecord **ret) { in acquire_passed_secrets() argument
537 user_name, in acquire_passed_secrets()
545 user_name, in acquire_passed_secrets()
552 user_name, in acquire_passed_secrets()
648 …ng rights to acquire privileged fields of user record of '%s', output incomplete.", hr->user_name); in dump_home_record()
1153 const char *user_name, in acquire_new_password() argument
1162 assert(user_name); in acquire_new_password()
1191 if (asprintf(&question, "Please enter new password for user %s:", user_name) < 0) in acquire_new_password()
1207 … if (asprintf(&question, "Please enter new password for user %s (repeat):", user_name) < 0) in acquire_new_password()
1297 … r = acquire_new_password(hr->user_name, hr, /* suggest = */ true, &new_password); in create_home()
1307 hr->user_name, in create_home()
1353 … r = acquire_new_password(hr->user_name, hr, /* suggest = */ false, &new_password); in create_home()
1361 … r = handle_generic_user_record_error(hr->user_name, hr, &error, r, false); in create_home()
1602 r = handle_generic_user_record_error(hr->user_name, hr, &error, r, false); in update_home()
1624 r = sd_bus_message_append(m, "st", hr->user_name, UINT64_MAX); in update_home()
1638 r = handle_generic_user_record_error(hr->user_name, hr, &error, r, false); in update_home()
1660 r = sd_bus_message_append(m, "ss", hr->user_name, "{}"); in update_home()
1673 r = handle_generic_user_record_error(hr->user_name, hr, &error, r, false); in update_home()