Searched refs:pwd (Results 76 - 100 of 460) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/local/
H A Dlocal.h55 #define SET_USER_ATTR(usr_attr, pwd, level) { \
56 usr_attr.uid = pwd->pw_uid; usr_attr.gid = pwd->pw_gid; \
57 usr_attr.home = pwd->pw_dir; usr_attr.logname = pwd->pw_name; \
58 usr_attr.shell = pwd->pw_shell; \
61 myname, level, pwd->pw_name); \
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/
H A Dmail_params.c157 #include <pwd.h>
355 struct passwd *pwd; local
357 if ((pwd = getpwnam(var_default_privs)) == 0)
361 if ((var_default_uid = pwd->pw_uid) == 0)
365 if ((var_default_gid = pwd->pw_gid) == 0)
375 struct passwd *pwd; local
377 if ((pwd = getpwnam(var_mail_owner)) == 0)
381 if ((var_owner_uid = pwd->pw_uid) == 0)
385 if ((var_owner_gid = pwd->pw_gid) == 0)
396 if ((pwd
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/kcm/
H A Dclient.c38 #include <pwd.h>
170 struct passwd *pwd = getpwuid(uid); local
171 if (pwd != NULL) {
172 gid_t gid = pwd->pw_gid;
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-run/
H A Duser.cpp33 #include <pwd.h>
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-run/
H A Duser.cpp33 #include <pwd.h>
/netbsd-6-1-5-RELEASE/external/bsd/cron/dist/
H A Dstructs.h26 struct passwd *pwd; member in struct:_entry
/netbsd-6-1-5-RELEASE/external/bsd/openpam/dist/lib/
H A Dopenpam_restore_cred.c48 #include <pwd.h>
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dcmd-lock-server.c21 #include <pwd.h>
/netbsd-6-1-5-RELEASE/lib/libutil/
H A Dlogin_cap.c56 #include <pwd.h>
145 login_getpwclass(const struct passwd *pwd) argument
148 /* pwd may be NULL */
150 return login_getclass(pwd ? pwd->pw_class : NULL);
559 setusercontext(login_cap_t *lc, struct passwd *pwd, uid_t uid, u_int flags) argument
571 flc = lc = login_getclass(pwd ? pwd->pw_class : NULL);
574 * Without the pwd entry being passed we cannot set either
577 if (pwd
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/
H A Dshell.c55 #include <pwd.h>
/netbsd-6-1-5-RELEASE/usr.bin/skeyinfo/
H A Dskeyinfo.c39 #include <pwd.h>
/netbsd-6-1-5-RELEASE/usr.sbin/sup/source/
H A Dsupcdefs.h63 #include <pwd.h>
H A Dsupfilesrv.c219 #include <pwd.h>
1632 struct passwd *pwd; local
1647 pwd = getpwuid(fileuid);
1648 if (pwd == NULL) {
1674 pwd = getpwnam(nbuf);
1675 if (pwd == NULL) {
1688 if (ka_UserAuthenticate(pwd->pw_name, "", 0,
1700 if (getuid() == pwd->pw_uid)
1702 if (strcmp(pwd->pw_name, DEFUSER) == 0)
1710 if (okaccess(pwd
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/librewrite/
H A Dxmap.c27 #include <pwd.h>
264 struct passwd *pwd; local
270 pwd = getpwnam( key->bv_val );
271 if ( pwd == NULL ) {
282 if ( pwd->pw_gecos != NULL && pwd->pw_gecos[0] != '\0' ) {
283 int l = strlen( pwd->pw_gecos );
285 val->bv_val = strdup( pwd->pw_gecos );
/netbsd-6-1-5-RELEASE/share/examples/refuse/ian/libfetch/
H A Dftp.c232 _ftp_pwd(conn_t *conn, char *pwd, size_t pwdlen) argument
244 for (q = 0, dst = pwd; src < end && pwdlen--; ++src) {
258 DEBUG(fprintf(stderr, "pwd: [%s]\n", pwd));
271 char pwd[PATH_MAX]; local
278 (e = _ftp_pwd(conn, pwd, sizeof(pwd))) != FTP_OK) {
283 len = strlen(pwd);
287 if (pwd[i] != file[i])
290 DEBUG(fprintf(stderr, "have: [%.*s|%s]\n", i, pwd, pw
910 const char *user, *pwd, *logname; local
[all...]
H A Dhttp.c625 _http_basic_auth(conn_t *conn, const char *hdr, const char *usr, const char *pwd) argument
631 DEBUG(fprintf(stderr, "pwd: [%s]\n", pwd));
632 if (asprintf(&upw, "%s:%s", usr, pwd) == -1)
651 char *user, *pwd, *str; local
662 pwd = strchr(str, ':');
663 *pwd++ = '\0';
664 r = _http_basic_auth(conn, hdr, user, pwd);
893 if (*purl->user || *purl->pwd)
895 purl->user, purl->pwd);
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/isa/
H A Dwss.c410 int pwd; local
415 pwd = M_PASSWD_928;
418 pwd = M_PASSWD_929;
421 pwd = M_PASSWD_931;
426 bus_space_write_1(sc->sc_iot, sc->mad_ioh, MC_PASSWD_REG, pwd);
434 int pwd; local
439 pwd = M_PASSWD_928;
442 pwd = M_PASSWD_929;
445 pwd = M_PASSWD_931;
450 bus_space_write_1(sc->sc_iot, sc->mad_ioh, MC_PASSWD_REG, pwd);
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/quota/
H A Dquota.c66 #include <pwd.h>
218 struct passwd *pwd = getpwuid(uid); local
221 if (pwd == NULL)
224 name = pwd->pw_name;
238 struct passwd *pwd = getpwnam(name); local
240 if (pwd == NULL) {
244 if (pwd->pw_uid != myuid && myuid != 0) {
245 warnx("%s (uid %d): permission denied", name, pwd->pw_uid);
248 showquotas(QUOTA_IDTYPE_USER, "user", pwd->pw_uid, name);
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tcsd/
H A Dsvrside.c23 #include <pwd.h>
223 struct passwd *pwd; local
283 pwd = getpwnam(TSS_USER_NAME);
284 if (pwd == NULL) {
293 setuid(pwd->pw_uid);
/netbsd-6-1-5-RELEASE/dist/smbfs/mount_smbfs/
H A Dmount_smbfs.c47 #include <pwd.h>
130 struct passwd *pwd; local
132 pwd = isdigit((unsigned char)optarg[0]) ?
134 if (pwd == NULL)
136 mdatap->uid = pwd->pw_uid;
/netbsd-6-1-5-RELEASE/sbin/dump/
H A Ddumprmt.c59 #include <pwd.h>
113 static struct passwd *pwd = NULL; local
121 pwd = getpwuid(getuid());
122 if (pwd == NULL)
125 if ((name = strdup(pwd->pw_name)) == NULL)
/netbsd-6-1-5-RELEASE/external/bsd/fetch/dist/libfetch/
H A Dhttp.c655 http_basic_auth(conn_t *conn, const char *hdr, const char *usr, const char *pwd) argument
660 if (asprintf(&upw, "%s:%s", usr, pwd) == -1)
679 char *user, *pwd, *str; local
690 pwd = strchr(str, ':');
691 *pwd++ = '\0';
692 r = http_basic_auth(conn, hdr, user, pwd);
914 if (*purl->user || *purl->pwd)
916 purl->user, purl->pwd);
922 if (need_auth || *url->user || *url->pwd) {
923 if (*url->user || *url->pwd)
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/tests/
H A Drun_make_tests.pl131 chop ($__pwd = `pwd`);
143 $pwd = &get_this_pwd;
210 # prepend pwd if this is a relative path (ie, does not
216 $mkpath = "$pwd$pathsep$make_path";
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Disakmp_xauth.c48 #include <pwd.h>
230 outlet = &xst->authdata.generic.pwd;
255 (xst->authdata.generic.pwd != NULL)) {
259 char *pwd = xst->authdata.generic.pwd; local
264 "Got username \"%s\", password \"%s\"\n", usr, pwd);
278 res = privsep_xauth_login_system(usr, pwd);
282 res = xauth_login_radius(iph1, usr, pwd);
288 iph1->remote, usr, pwd);
293 res = xauth_login_ldap(iph1, usr, pwd);
1475 vchar_t *pwd = NULL; local
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/kpasswd/
H A Dkpasswd_locl.h61 #include <pwd.h>

Completed in 383 milliseconds

1234567891011>>