Searched refs:remote_user (Results 1 - 9 of 9) sorted by relevance

/systemd/src/libsystemd/sd-login/
H A Dtest-login.c37 char *seat, *type, *class, *display, *remote_user, *remote_host, *display_session, *cgroup; local
120 remote_user = NULL;
121 r = sd_session_get_remote_user(session, &remote_user);
123 printf("remote_user = %s\n", strna(remote_user));
124 free(remote_user);
H A Dsd-login.c630 _public_ int sd_session_get_remote_user(const char *session, char **remote_user) { argument
631 return session_get_string(session, "REMOTE_USER", remote_user);
/systemd/src/login/
H A Dpam_systemd.c227 *remote_user = NULL, *remote_host = NULL, local
290 pam_get_item(handle, PAM_RUSER, (const void**) &remote_user);
379 "uid="UID_FMT" pid="PID_FMT" service=%s type=%s class=%s desktop=%s seat=%s vtnr=%"PRIu32" tty=%s display=%s remote=%s remote_user=%s remote_host=%s",
384 yes_no(remote), strempty(remote_user), strempty(remote_host));
405 remote_user,
H A Dlogind-session.h85 char *remote_user; member in struct:Session
H A Dloginctl.c291 char *remote_user; member in struct:SessionStatusInfo
325 free(info->remote_user);
426 { "RemoteUser", "s", NULL, offsetof(SessionStatusInfo, remote_user) },
498 if (i.remote_host && i.remote_user)
499 printf("\t Remote: %s@%s\n", i.remote_user, i.remote_host);
502 else if (i.remote_user)
503 printf("\t Remote: user %s\n", i.remote_user);
H A Dlogind-session.c141 free(s->remote_user);
232 if (s->remote_user) {
235 escaped = cescape(s->remote_user);
339 "REMOTE_USER", &s->remote_user,
H A Dlogind-dbus.c576 const char *service, *type, *class, *cseat, *tty, *display, *remote_user, *remote_host, *desktop; local
597 r = sd_bus_message_read(message, "uusssssussbss", &uid, &leader, &service, &type, &class, &desktop, &cseat, &vtnr, &tty, &display, &remote, &remote_user, &remote_host);
790 if (!isempty(remote_user)) {
791 session->remote_user = strdup(remote_user);
792 if (!session->remote_user) {
H A Dlogind-session-dbus.c476 SD_BUS_PROPERTY("RemoteUser", "s", NULL, offsetof(Session, remote_user), SD_BUS_VTABLE_PROPERTY_CONST),
/systemd/src/systemd/
H A Dsd-login.h173 int sd_session_get_remote_user(const char *session, char **remote_user);

Completed in 299 milliseconds