Searched refs:pw_name (Results 1 - 25 of 243) sorted by relevance

12345678910

/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dusername.c48 return (pwd->pw_name);
H A Dfullname.c89 if (pwd->pw_name[0]) {
90 VSTRING_ADDCH(result, TOUPPER(pwd->pw_name[0]));
91 vstring_strcat(result, pwd->pw_name + 1);
/netbsd-current/external/gpl2/gettext/dist/djgpp/
H A Dgetpwnam.c24 rv.pw_name = getlogin();
25 if (strcmp(rv.pw_name, name) != 0)
H A Ddjpwd.h27 char * pw_name; /* Username. */ member in struct:passwd
/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Dmypwd.h21 char *pw_name; member in struct:mypasswd
H A Dmypwd.c144 mypwd->pw_name = mystrdup(pwd->pw_name);
157 htable_enter(mypwcache_name, mypwd->pw_name, (void *) mypwd);
253 if (strcmp(last_pwd->pw_name, name) != 0) {
303 htable_delete(mypwcache_name, mypwd->pw_name, (void (*) (void *)) 0);
308 myfree(mypwd->pw_name);
350 argv[i], mypwd[i]->pw_name, mypwd[i]->pw_uid,
360 mypwd[i]->pw_name, mypwd[i]->pw_uid, mypwd[i]->refcount,
/netbsd-current/tools/compat/
H A Dcompat_pwd.h49 char *pw_name; member in struct:passwd
/netbsd-current/usr.bin/mail/
H A Dgetname.c56 return pw->pw_name;
/netbsd-current/lib/librpcsvc/
H A Dyppasswd.x45 string pw_name<>; /* username */
/netbsd-current/usr.bin/skeyinfo/
H A Dskeyinfo.c78 (void) strlcpy(name, pw->pw_name, sizeof(name));
87 printf("%s's ", pw->pw_name);
/netbsd-current/tests/usr.bin/id/
H A Dpwgr.c156 p->pw_name = __UNCONST("root");
160 p->pw_name = __UNCONST("test");
176 p->pw_name = __UNCONST("root");
180 p->pw_name = __UNCONST("test");
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dk_getpwuid.c54 spwd = getspnam (p->pw_name);
H A Dget_default_username.c75 return pwd->pw_name;
/netbsd-current/external/bsd/cron/dist/
H A Dpw_dup.c67 if (pw->pw_name) {
68 nsize = strlen(pw->pw_name) + 1;
109 if (pw->pw_name) {
110 (void)memcpy(cp, pw->pw_name, nsize);
111 newpw->pw_name = cp;
H A Dpopen.c102 warn("setsid() failed for %s", pw->pw_name);
107 pw->pw_name);
112 initgroups(pw->pw_name, pw->pw_gid) < 0) {
114 pw->pw_name);
118 if (setlogin(pw->pw_name) < 0) {
120 pw->pw_name);
130 warn("unable to set uid for %s", pw->pw_name);
/netbsd-current/lib/libc/compat/include/
H A Dpwd.h12 __aconst char *pw_name; /* user name */ member in struct:passwd50
28 q->pw_name = p->pw_name;
43 q->pw_name = p->pw_name;
/netbsd-current/external/bsd/tmux/dist/
H A Dcmd-server-access.c55 cmdq_error(item, "user %s not found", pw->pw_name);
99 pw->pw_name);
117 pw->pw_name);
130 cmdq_error(item, "user %s not found", pw->pw_name);
139 cmdq_error(item, "user %s not found", pw->pw_name);
/netbsd-current/games/canfield/cfscores/
H A Dcfscores.c125 printf("%s has never played canfield.\n", pw->pw_name);
130 printf("* Winnings for %-8s*\n", pw->pw_name);
132 printf("* Losses for %-10s*\n", pw->pw_name);
/netbsd-current/usr.bin/skeyinit/
H A Dskeyinit.c100 (void)strlcpy(me, pp->pw_name, sizeof(me));
154 if (strcmp(pp->pw_name, me) != 0) {
171 rval = skeylookup(&skey, pp->pw_name);
178 exit(skeyzero(&skey, pp->pw_name));
180 printf("[Updating %s]\n", pp->pw_name);
208 printf("[Adding %s]\n", pp->pw_name);
302 } else if (strcmp(passwd, pp->pw_name) == 0) {
344 (void)skeyzero(&skey, pp->pw_name);
346 if (skeylookup(&skey, pp->pw_name) == -1)
370 pp->pw_name,
[all...]
/netbsd-current/usr.bin/id/
H A Did.c150 (void)printf("%s\n", pw->pw_name);
184 (void)printf("uid\t%s\n", pw->pw_name);
192 if (pw == NULL || strcmp(login, pw->pw_name))
195 (void)printf("uid\t%s\n", pw->pw_name);
201 (void)printf("euid\t%s\n", pw->pw_name);
229 (void)printf("(%s)", pw->pw_name);
237 (void)printf("(%s)", pw->pw_name);
267 (void)printf("uid=%u(%s)", id, pw->pw_name);
272 if (getgrouplist(pw->pw_name, pw->pw_gid, glist, &ngroups) == -1) {
274 (void) getgrouplist(pw->pw_name, p
[all...]
/netbsd-current/lib/libcompat/4.4/
H A Dcuserid.c61 (void)strncpy(s, pw->pw_name, L_cuserid);
/netbsd-current/usr.sbin/rpc.yppasswdd/
H A Dyppasswdd_mkpw.c105 argp->newpw.pw_name);
120 if (strncmp(argp->newpw.pw_name, pw.pw_name, MAXLOGNAME) == 0)
157 if (pw_mkdb(pw.pw_name, 0) < 0) {
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/misc/
H A Dcvsuser.c31 pw.pw_name = strcpy (namebuf, name);
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dauth-rhosts.c243 client_user, pw->pw_name)) {
249 client_user, pw->pw_name)) {
262 "no home directory %.200s", pw->pw_name, pw->pw_dir);
264 "no home directory %.200s", pw->pw_name, pw->pw_dir);
271 "bad ownership or modes for home directory.", pw->pw_name);
273 "bad ownership or modes for home directory.", pw->pw_name);
301 "bad modes for %.200s", pw->pw_name, path);
320 client_user, pw->pw_name)) {
327 client_user, pw->pw_name);
H A Dauth-skey.c85 skey_haskey(authctxt->pw->pw_name) == 0 &&
86 skey_passcheck(authctxt->pw->pw_name, responses[0]) != -1)

Completed in 200 milliseconds

12345678910