Searched refs:pw (Results 226 - 250 of 291) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/nvi/ex/
H A Dex_argv.c319 struct passwd *pw; local
333 while ((pw = getpwent()) != NULL) {
334 len = strlen(pw->pw_name);
336 (nlen > len || memcmp(np, pw->pw_name, nlen)))
340 CHAR2INT(sp, pw->pw_name, len + 1, uname, ulen);
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dconfig_file.c2278 struct sae_password_entry *pw; local
2281 pw = os_zalloc(sizeof(*pw));
2282 if (!pw)
2284 os_memset(pw->peer_addr, 0xff, ETH_ALEN); /* default to wildcard */
2290 if (hwaddr_aton(pos2, pw->peer_addr) < 0)
2300 pw->vlan_id = atoi(pos2);
2308 pw->identifier = os_strdup(pos2);
2309 if (!pw->identifier)
2314 pw
[all...]
/freebsd-11-stable/contrib/sendmail/mail.local/
H A Dmail.local.c208 struct passwd *pw; local
212 char *mbdbname = "pw";
407 (pw = getpwnam(from)) == NULL ||
408 pw->pw_uid != uid))
409 from = (pw = getpwuid(uid)) != NULL ? pw->pw_name : "???";
/freebsd-11-stable/contrib/sendmail/src/
H A Dconf.c279 struct passwd *pw; local
295 if (((pw = sm_getpwnam("mailnull")) != NULL && pw->pw_uid != 0) ||
296 ((pw = sm_getpwnam("sendmail")) != NULL && pw->pw_uid != 0) ||
297 ((pw = sm_getpwnam("daemon")) != NULL && pw->pw_uid != 0))
299 DefUid = pw->pw_uid; /* option u */
300 DefGid = pw->pw_gid; /* option g */
301 DefUser = newstr(pw
1189 register struct passwd *pw; local
[all...]
/freebsd-11-stable/usr.sbin/lpr/lpr/
H A Dlpr.c134 struct passwd *pw; local
296 if ((pw = getpwuid(userid)) == NULL)
298 lpr_username = pw->pw_name;
/freebsd-11-stable/bin/pkill/
H A Dpkill.c677 struct passwd *pw; local
741 if ((pw = getpwnam(sp)) == NULL)
743 li->li_number = pw->pw_uid;
/freebsd-11-stable/contrib/wpa/src/common/
H A Dcommon_module_tests.c261 const char *pw = "mekmitasdigoat"; local
346 sae_prepare_commit(addr1, addr2, (const u8 *) pw, os_strlen(pw),
/freebsd-11-stable/contrib/mtree/
H A Dcreate.c119 struct passwd *pw; local
120 user = (pw = getpwuid(getuid())) != NULL ? pw->pw_name :
/freebsd-11-stable/contrib/groff/src/devices/grolbp/
H A Dlbp.cpp146 lbp_printer::lbp_printer(int ps, double pw, double pl) argument
172 paperwidth = int(pw * font::res + 0.5);
/freebsd-11-stable/crypto/openssh/regress/unittests/sshkey/
H A Dmktestdata.sh95 rm -f pw *.pub *.bn.* *.param.* *.fp *.fp.bb
192 echo "$PW" > pw
/freebsd-11-stable/contrib/wpa/hs20/client/
H A Dosu_client.c140 char *url, *user = NULL, *pw = NULL; local
192 pw = xml_node_get_base64_text(ctx->xml, node, NULL);
193 if (pw == NULL) {
197 wpa_printf(MSG_INFO, "estPassword: %s", pw);
205 est_simple_enroll(ctx, url, user, pw) < 0)
212 xml_node_get_text_free(ctx->xml, pw);
741 const char *alt_loc, char **user, char **pw)
753 *pw = xml_node_get_base64_text(ctx->xml, node, NULL);
767 free(*pw);
768 *pw
740 get_user_pw(struct hs20_osu_client *ctx, xml_node_t *pps, const char *alt_loc, char **user, char **pw) argument
1402 char *pw, *hex, *pos, *end; local
[all...]
H A Dest.c677 const char *user, const char *pw)
724 ctx->ca_fname, user, pw, client_cert, client_key,
676 est_simple_enroll(struct hs20_osu_client *ctx, const char *url, const char *user, const char *pw) argument
/freebsd-11-stable/contrib/opie/
H A Dftpcmd.y103 extern struct passwd *pw;
389 cwd(pw->pw_dir);
945 (pw ? pw -> pw_name : "unknown"), timeout, ctime(&now));
/freebsd-11-stable/crypto/openssh/
H A Dauth-pam.c279 if (setreuid(sshpam_authctxt->pw->pw_uid, -1) == -1)
790 (sshpam_authctxt->pw->pw_uid == 0 &&
868 (sshpam_authctxt->pw->pw_uid != 0 ||
1221 if (!authctxt->valid || (authctxt->pw->pw_uid == 0 &&
H A Dsftp-server.c58 static struct passwd *pw = NULL; variable in typeref:struct:passwd
1416 client_addr, pw->pw_name);
1477 if (pw != NULL && client_addr != NULL) {
1480 pw->pw_name, client_addr);
1516 pw = pwcopy(user_pw);
1610 pw->pw_name, client_addr);
/freebsd-11-stable/usr.sbin/adduser/
H A Drmuser.sh38 PWCMD="${PWCMD:-/usr/sbin/pw}"
166 # of the pw(8) command to remove a user from the system. The pw(8)
318 userrec=`pw 2>/dev/null usershow -n $_user`
/freebsd-11-stable/usr.sbin/
H A DMakefile66 pw \
/freebsd-11-stable/sbin/dhclient/
H A Ddhclient.c355 struct passwd *pw; local
456 if ((pw = getpwnam("_dhcp")) == NULL) {
458 if ((pw = getpwnam("nobody")) == NULL)
512 if (setgroups(1, &pw->pw_gid) ||
513 setegid(pw->pw_gid) || setgid(pw->pw_gid) ||
514 seteuid(pw->pw_uid) || setuid(pw->pw_uid))
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A DMakefile.am384 data/pkinit-pw.key \
420 data/test-pw.key \
/freebsd-11-stable/bin/sh/
H A Dexpand.c361 struct passwd *pw; local
390 pw = getpwnam(user);
391 home = pw != NULL ? pw->pw_dir : NULL;
/freebsd-11-stable/crypto/openssh/regress/
H A Dnetcat.c1434 static char pw[256]; local
1438 if (readpassphrase(prompt, pw, sizeof(pw), RPP_REQUIRE_TTY) == NULL)
1440 return (pw);
/freebsd-11-stable/usr.bin/top/
H A Dmachine.c333 struct passwd *pw; local
351 while ((pw = getpwent()) != NULL) {
352 if (strlen(pw->pw_name) > namelength)
353 namelength = strlen(pw->pw_name);
/freebsd-11-stable/contrib/blacklist/bin/
H A Dconf.c352 struct passwd *pw; local
354 if ((pw = getpwnam(p)) != NULL) {
355 c->c_uid = (int)pw->pw_uid;
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dftpcmd.y367 const char *path = pw->pw_dir;
1113 (pw ? pw -> pw_name : "unknown"), ftpd_timeout);
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dconfig_file.c442 struct passwd *pw = getpwuid(getuid()); local
443 if(pw != NULL)
444 home = pw->pw_dir;

Completed in 292 milliseconds

1234567891011>>