Searched refs:pwbuf (Results 1 - 11 of 11) sorted by relevance

/freebsd-9.3-release/usr.sbin/pw/
H A Dpw_nis.c43 char pwbuf[PWBUFSZ]; local
50 *pwbuf = '\0';
52 fmtpwentry(pwbuf, pwd, PWF_MASTER);
53 return fileupdate(path, 0600, pwbuf, pfx, l, mode) != 0;
H A Dpwupd.c155 char pwbuf[PWBUFSZ]; local
165 *pwbuf = '\0';
167 fmtpwentry(pwbuf, pwd, PWF_PASSWD);
171 rc = fileupdate(getpwpath(_PASSWD), 0644, pwbuf, pfx, l, mode);
178 fmtpwentry(pwbuf, pwd, PWF_MASTER);
179 rc = fileupdate(getpwpath(_MASTERPASSWD), 0600, pwbuf, pfx, l, mode);
H A Dpw_user.c1045 char pwbuf[32]; local
1051 pwbuf[i] = chars[arc4random_uniform(sizeof(chars)-1)];
1052 pwbuf[i] = '\0';
1061 printf("%s\n", pwbuf);
1074 strlcpy(pwbuf, user, sizeof(pwbuf));
1077 return pw_pwcrypt(pwbuf);
/freebsd-9.3-release/crypto/heimdal/kadmin/
H A Dcpw.c87 char pwbuf[128]; local
96 ret = UI_UTIL_read_pw_string(pwbuf, sizeof(pwbuf), prompt, 1);
101 password = pwbuf;
105 memset(pwbuf, 0, sizeof(pwbuf));
H A Dank.c86 char pwbuf[1024]; local
121 random_password (pwbuf, sizeof(pwbuf));
122 password = pwbuf;
124 random_password (pwbuf, sizeof(pwbuf));
125 password = pwbuf;
133 ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), prompt, 1);
140 password = pwbuf;
[all...]
H A Dinit.c53 char pwbuf[512]; local
55 random_password(pwbuf, sizeof(pwbuf));
56 password = pwbuf;
/freebsd-9.3-release/crypto/heimdal/kpasswd/
H A Dkpasswd.c64 char pwbuf[BUFSIZ]; local
84 ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), msg, 1);
92 ret = krb5_set_password_using_ccache (context, id, pwbuf,
/freebsd-9.3-release/usr.sbin/rpc.yppasswdd/
H A Dyppasswdd_server.c321 char pwbuf[YPMAXRECORD]; local
391 snprintf(pwbuf, sizeof pwbuf, ":%d:%d:", pw->pw_uid,
393 if (!strstr(data.data, pwbuf)) {
403 snprintf(pwbuf, sizeof pwbuf, formats[i],
409 snprintf(pwbuf, sizeof pwbuf, formats[i],
423 data.data = pwbuf;
424 data.size = strlen(pwbuf);
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dkuserok.c218 char pwbuf[2048]; local
221 if(getpwnam_r(luser, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0)
/freebsd-9.3-release/crypto/heimdal/lib/auth/sia/
H A Dsia.c111 char pwbuf[1024]; local
128 if(getpwnam_r(name, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0 || pwd == NULL){
/freebsd-9.3-release/lib/libedit/
H A Dreadline.c1683 char pwbuf[1024]; local
1694 while (getpwent_r(&pwres, pwbuf, sizeof(pwbuf), &pwd) == 0

Completed in 216 milliseconds