Searched refs:pwent (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/users/
H A Dusers.c512 * 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 Dlogins.c407 * 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 Dpgrep.c365 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 Dff.c726 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 Dshell.c1101 struct passwd *pwent; local
1103 if( (pwent=getpwuid(uid)) != NULL) {
1104 home_dir = pwent->pw_dir;
/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c996 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 Dls.c2231 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 Dtar.c6318 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