Searched refs:pwent (Results 1 - 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/users/ |
H A D | users.c | 512 * void adddisp(pwent) 513 * struct passwd *pwent 516 * description referenced by 'pwent' to the list if information 523 * pwent Points to the (struct passwd) structure that 534 adddisp(struct passwd *pwent) argument 549 if ((compare = strcmp(current->loginID, pwent->pw_name)) >= 0) 565 strcpy(allocstr((unsigned int)strlen(pwent->pw_name)+1), 566 pwent->pw_name); 567 if (pwent->pw_comment && pwent 652 struct passwd *pwent; /* Ptr to an /etc/passwd entry */ local [all...] |
/illumos-gate/usr/src/cmd/logins/ |
H A D | logins.c | 407 * void adddisp(pwent) 408 * struct passwd *pwent 411 * description referenced by 'pwent' to the list if information 418 * pwent Structure that contains all of the login information 427 adddisp(struct passwd *pwent) argument 440 if ((compare = strcmp(current->loginID, pwent->pw_name)) >= 0) { 450 new->loginID = strdup(pwent->pw_name); 451 if (pwent->pw_comment && pwent->pw_comment[0] != '\0') { 452 new->freefield = strdup(pwent 515 isuidindisp(struct passwd *pwent) argument 795 hasnopasswd(struct passwd *pwent) argument 1255 struct passwd *pwent; /* /etc/passwd entry */ local [all...] |
/illumos-gate/usr/src/cmd/pgrep/ |
H A D | pgrep.c | 365 struct passwd *pwent; local 378 if ((pwent = getpwnam(ptr)) != NULL) 379 idtab_append(idt, pwent->pw_uid);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/ |
H A D | ff.c | 726 struct passwd *pwent; local 738 if ((pwent = getpwuid(uid)) == NULL) { 741 hp->name_string = (char *)strdup(pwent->pw_name);
|
/illumos-gate/usr/src/cmd/sqlite/ |
H A D | shell.c | 1101 struct passwd *pwent; local 1103 if( (pwent=getpwuid(uid)) != NULL) { 1104 home_dir = pwent->pw_dir;
|
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 996 zone_get_user_pw(const char *user_cmd, struct passwd *pwent, char *pwbuf, argument 1023 if (str2passwd(pwline, sizeof (pwline), pwent, pwbuf, pwbuflen) == 0) 1024 return (pwent); 1249 struct passwd pwent; local 1256 * Exec the "user_cmd" brand hook to get a pwent for the 1261 pw = zone_get_user_pw(user_cmd, &pwent, pwbuf, sizeof (pwbuf));
|
/illumos-gate/usr/src/cmd/ls/ |
H A D | ls.c | 2231 struct passwd *pwent; local 2239 if ((pwent = getpwuid(uid)) != NULL) { 2240 SCPYN(&c->name[0], pwent->pw_name);
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 6318 struct passwd *pwent = getpwuid(uid); local 6319 c = hash_insert(uids, pwent ? pwent->pw_name : NULL, uid); 6342 struct passwd *pwent = getpwnam(name); local 6343 c = hash_insert(names, name, pwent ? (int)pwent->pw_uid : -1);
|
Completed in 228 milliseconds