Searched refs:username (Results 1 - 6 of 6) sorted by relevance

/systemd/src/shared/
H A Dutmp-wtmp.h40 const char *username,
67 const char *username,
65 utmp_wall( const char *message, const char *username, const char *origin_tty, bool (*match_tty)(const char *tty, void *userdata), void *userdata) argument
H A Dutmp-wtmp.c381 const char *username,
394 if (!username) {
409 un ?: username, hn,
379 utmp_wall( const char *message, const char *username, const char *origin_tty, bool (*match_tty)(const char *tty, void *userdata), void *userdata) argument
/systemd/src/basic/
H A Duser-util.c101 const char **username,
109 assert(username);
110 assert(*username);
115 if (streq(*username, "root") || streq(*username, "0")) {
116 *username = "root";
133 if (parse_uid(*username, &u) >= 0) {
141 * pick the real username from /etc/passwd. */
143 *username = p->pw_name;
146 p = getpwnam(*username);
100 get_user_creds( const char **username, uid_t *uid, gid_t *gid, const char **home, const char **shell) argument
[all...]
H A Duser-util.h40 int get_user_creds(const char **username, uid_t *uid, gid_t *gid, const char **home, const char **shell);
/systemd/src/login/
H A Dpam_systemd.c95 const char *username = NULL; local
103 r = pam_get_user(handle, &username, NULL);
109 if (isempty(username)) {
114 pw = pam_modutil_getpwnam(handle, username);
121 *ret_username = username;
224 *username, *id, *object_path, *runtime_path, local
254 r = get_user_data(handle, &username, &pw);
/systemd/src/core/
H A Dexecute.c675 static int enforce_groups(const ExecContext *context, const char *username, gid_t gid) { argument
684 if (context->group || username) {
686 if (username && gid != 0) {
687 if (initgroups(username, gid) < 0)
1251 const char *username,
1304 if (username) {
1305 x = strappend("LOGNAME=", username);
1310 x = strappend("USER=", username);
1453 const char *username = NULL, *home = NULL, *shell = NULL, *wd; local
1527 username
1246 build_environment( const ExecContext *c, const ExecParameters *p, unsigned n_fds, const char *home, const char *username, const char *shell, char ***ret) argument
[all...]

Completed in 35 milliseconds