Lines Matching defs:user
33 "[+NAME?id - return user identity]"
34 "[+DESCRIPTION?If no \auser\a operand is specified \bid\b writes user and "
35 "group IDs and the corresponding user and group names of the "
40 "the user and group IDs and any supplementary group IDs of the "
41 "selected user will be written to standard output.]"
48 "[u:user?Writes only the user ID.]"
53 "\n[user]\n"
211 uid_t user;
252 user = strtol(name, &s, 0);
253 if (*s || !(pw = getpwuid(user)))
257 user = pw->pw_uid;
278 user = (flags & R_FLAG) ? getuid() : geteuid();
284 name = (pw = getpwuid(user)) ? pw->pw_name : (char*)0;
299 putid(sp, flags, "uid", name, user);
331 if ((euid = geteuid()) != user)
362 else sfprintf(sp, "%u\n", user);