Lines Matching defs:user
45 #include "user-util.h"
95 const char *id, *user, *seat, *object;
126 while ((r = sd_bus_message_read(reply, "(susso)", &id, &uid, &user, &seat, &object)) > 0) {
127 printf("%10s %10u %-16s %-16s\n", id, (unsigned) uid, user, seat);
142 const char *user, *object;
173 while ((r = sd_bus_message_read(reply, "(uso)", &uid, &user, &object)) > 0) {
174 printf("%10u %-16s\n", (unsigned) uid, user);
503 printf("\t Remote: user %s\n", i.remote_user);
725 log_error("Invalid user ID: " UID_FMT, uid);
925 return print_user_status_info(bus, "/org/freedesktop/login1/user/self", &new_line);
936 return log_error_errno(r, "Failed to look up user %s: %m", argv[i]);
947 log_error("Failed to get user: %s", bus_error_message(&error, r));
1130 return log_error_errno(r, "Failed to look up user %s: %m", argv[i]);
1165 return log_error_errno(r, "Failed to look up user %s: %m", argv[i]);
1176 log_error("Could not terminate user: %s", bus_error_message(&error, -r));
1202 return log_error_errno(r, "Failed to look up user %s: %m", argv[i]);
1213 log_error("Could not kill user: %s", bus_error_message(&error, -r));
1360 " user-status [USER...] Show user status\n"
1361 " show-user [USER...] Show properties of users or the manager\n"
1364 " terminate-user USER... Terminate all sessions of one or more users\n"
1365 " kill-user USER... Send signal to processes of a user\n\n"
1427 /* If the user asked for a particular
1516 { "user-status", VERB_ANY, VERB_ANY, 0, show_user },
1517 { "show-user", VERB_ANY, VERB_ANY, 0, show_user },
1520 { "terminate-user", 2, VERB_ANY, 0, terminate_user },
1521 { "kill-user", 2, VERB_ANY, 0, kill_user },