Searched refs:pwd (Results 1 - 25 of 192) sorted by relevance

12345678

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dpwd.pl0 ;# pwd.pl - keeps track of current working directory in PWD environment var
12 ;# $RCSfile: pwd.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:24:11 $
14 ;# $Log: pwd.pl,v $
17 ;# require "pwd.pl";
22 package pwd; package
29 chop($ENV{'PWD'} = `pwd`);
33 chop($ENV{'PWD'} = `pwd`);
/osnet-11/usr/src/lib/libpkg/common/
H A Dncgrpw.c35 #include <pwd.h>
184 struct passwd *pwd; local
205 if ((pwd = clpwnam(nam)) != NULL ||
206 (pwd = getpwnam(nam)) != NULL) {
208 if (dup_pw_ent(pwd))
213 pwd = (struct passwd *)NULL;
236 (void) memmove(itemp->data, pwd,
246 return (pwd);
340 struct passwd *pwd; local
362 if ((pwd
498 dup_pw_ent(struct passwd *pwd) argument
[all...]
/osnet-11/usr/src/lib/passwdutil/
H A Dnis_attr.c30 #include <pwd.h>
78 struct passwd *pwd; member in struct:__anon2797
107 nis_to_pwd(char *nis, struct passwd *pwd) argument
109 pwd->pw_name = strsep(&nis, ":");
110 pwd->pw_passwd = strsep(&nis, ":");
111 pwd->pw_uid = atoi(strsep(&nis, ":"));
112 pwd->pw_gid = atoi(strsep(&nis, ":"));
113 pwd->pw_gecos = strsep(&nis, ":");
114 pwd->pw_dir = strsep(&nis, ":");
115 pwd
[all...]
H A Dnss_attr.c28 #include <pwd.h>
65 struct passwd *pwd; member in struct:pwbuf
112 if (pwbuf->pwd == NULL)
113 pwbuf->pwd = (struct passwd *)
115 if (pwbuf->pwd == NULL) {
140 if (pwbuf->pwd)
141 free(pwbuf->pwd);
158 if (pwbuf->pwd) {
163 if (getpwnam_r(name, pwbuf->pwd, pwbuf->pwd_scratch,
184 struct passwd pwd; local
[all...]
H A Dldap_attr.c38 #include <pwd.h>
100 struct passwd *pwd; member in struct:__anon2796
153 if (p->pwd)
154 free_pwd(p->pwd);
299 pw = ldapbuf->pwd;
428 res = dup_pw(&ldapbuf->pwd, getpwnam_from(name, rep, REP_LDAP));
555 char *pwd, *val; local
594 ldapbuf->pwd);
607 pwd = crypt(p->data.val_s, salt);
613 strlen(pwd)
1052 ldap_replaceattr(const char *dn, ns_ldap_attr_t **attrs, const char *binddn, const char *pwd, int *pwd_status, int flags) argument
[all...]
/osnet-11/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c57 #include <pwd.h>
376 proc_maps(char *domain, struct passwd_entry *pwd) argument
385 ans = proc_map_list(map_list, domain, pwd, FALSE);
405 ans = proc_map_list(map_list, domain, pwd, TRUE);
427 struct passwd_entry *pwd, bool_t adjunct_flag)
437 if ((adjunct_flag) && (!pwd->adjunct)) {
468 if (0 != (ans = update_single_map(map_name, pwd, adjunct_flag)))
529 update_single_map(char *map_name, struct passwd_entry *pwd, bool_t adjunct_flag) argument
537 data.dptr = pwd->adjunct_str;
539 data.dptr = pwd
426 proc_map_list(char **map_list, char *domain, struct passwd_entry *pwd, bool_t adjunct_flag) argument
797 decode_pwd_entry(datum *data, struct passwd_entry *pwd, bool_t adjunct) argument
933 free_pwd_entry(struct passwd_entry *pwd) argument
976 create_pwd_str(struct passwd_entry *pwd, bool_t adjunct) argument
1126 put_new_info(struct passwd_entry *pwd, char *domain) argument
[all...]
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dcuserid.c36 #include <pwd.h>
48 struct passwd pwd; local
64 } else if ((pw = getpwuid_r(getuid(), &pwd, buffer, BUFSIZ)) != NULL) {
/osnet-11/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c58 char *pwd; local
97 res = pam_get_item(pamh, PAM_AUTHTOK, (void **)&pwd);
100 if (pwd != NULL) {
112 dgettext(TEXT_DOMAIN, "New Password: "), &pwd);
117 if (pwd == NULL) {
126 (void) memset(pwd, 0, strlen(pwd));
127 free(pwd);
150 char *pwd; local
166 "Re-enter new Password: "), &pwd);
[all...]
/osnet-11/usr/src/lib/pam_modules/rhosts_auth/
H A Drhosts_auth.c32 #include <pwd.h>
55 struct passwd pwd; local
89 if (getpwnam_r(lusername, &pwd, pwd_buffer, sizeof (pwd_buffer))
93 if (pwd.pw_uid == 0)
/osnet-11/usr/src/lib/pam_modules/sample/
H A Dsample_password.c36 #include <pwd.h>
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkuserok.c40 #include <pwd.h>
85 struct passwd *pwd)
161 "FILE:/tmp/krb5cc_%d", pwd->pw_uid);
186 "/tmp/krb5cc_%d", pwd->pw_uid);
187 if (safechown(ccache_name_buf, pwd->pw_uid,
188 pwd->pw_gid, -1) == -1) {
265 struct passwd *pwd; local
281 if (k5_getpwnam_r(luser, &pwx, pwbuf, sizeof(pwbuf), &pwd) != 0)
283 result = snprintf(pbuf, sizeof(pbuf), "%s/.k5login", pwd->pw_dir);
300 if (krb5_move_ccache(context, principal, pwd))
84 krb5_move_ccache(krb5_context kcontext, krb5_principal client, struct passwd *pwd) argument
[all...]
/osnet-11/usr/src/lib/libsec/common/
H A Dllib-lsec32 #include <pwd.h>
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetuserattrnam.c31 #include <pwd.h>
146 struct passwd pwd; local
149 if (getpwuid_r(u, &pwd, buf, NSS_BUFLEN_PASSWD) == NULL) {
153 return (getuserattrnam(pwd.pw_name, key, where, deflt));
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dstandalone.c117 char *pwd; local
137 if ((pwd = strdup(passwdBuf)) == NULL) {
143 return (pwd);
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_service_stash.c233 dec_password(struct data pwd, struct data *ret) argument
241 if (pwd.len == 0) {
248 if (pwd.len >= strlen("{HEX}") &&
249 strncmp((char *)pwd.value, "{HEX}", strlen("{HEX}")) == 0) {
251 if ((pwd.len - strlen("{HEX}")) % 2 != 0) {
257 ret->value = (unsigned char *)malloc((pwd.len - strlen("{HEX}")) / 2 + 1);
263 ret->len = (pwd.len - strlen("{HEX}")) / 2;
265 for (i = strlen("{HEX}"), j = 0; i < pwd.len; i += 2, j++) {
268 if (isxdigit(pwd.value[i]) == 0 || isxdigit(pwd
[all...]
/osnet-11/usr/src/lib/libbsm/common/
H A Daudit_rexecd.c37 #include <pwd.h>
142 struct passwd *pwd; local
166 pwd = getpwnam(user);
167 if (pwd == NULL) {
171 uid = pwd->pw_uid;
172 gid = pwd->pw_gid;
253 struct passwd *pwd; local
277 pwd = getpwnam(user);
278 if (pwd == NULL) {
282 uid = pwd
[all...]
H A Daudit_rshd.c90 #include <pwd.h>
107 struct passwd *pwd; local
114 pwd = getpwnam(locuser);
115 if (pwd == NULL) {
119 uid = pwd->pw_uid;
120 gid = pwd->pw_gid;
206 struct passwd *pwd; local
208 pwd = getpwnam(locuser);
209 if (pwd == NULL)
212 uid = pwd
[all...]
H A Daudit_private.h42 #include <pwd.h>
/osnet-11/usr/src/lib/pam_modules/unix_session/
H A Dunix_session.c39 #include <pwd.h>
93 struct passwd pwd; local
127 if (getpwnam_r(user, &pwd, buffer, sizeof (buffer)) == NULL) {
136 offset = (offset_t)pwd.pw_uid *
142 "too large", pwd.pw_uid);
183 "lastlog: uid %d: %m", pwd.pw_uid);
186 "lastlog: uid %d: %m", pwd.pw_uid);
/osnet-11/usr/src/lib/pam_modules/roles/
H A Droles.c26 #include <pwd.h>
32 #include <pwd.h>
58 struct passwd *pw_entry, pwd; local
100 if ((pw_entry = getpwnam_r(username, &pwd, buf, sizeof (buf))) == NULL)
102 if ((pw_entry = getpwuid_r(pw_entry->pw_uid, &pwd, buf,
146 if ((pw_entry = getpwuid_r(uid, &pwd, buf,
/osnet-11/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c26 #include <pwd.h>
156 create_varuser(struct passwd *pwd) argument
160 (void) asprintf(&userdir, "/var/user/%s", pwd->pw_name);
182 if (chown(userdir, pwd->pw_uid, pwd->pw_gid) != 0 && errno != EROFS)
230 struct passwd pwd; local
304 if (getpwnam_r(user, &pwd, pwbuf, sizeof (pwbuf)) == NULL) {
374 if (adt_set_user(ah, pwd.pw_uid, pwd.pw_gid,
375 pwd
[all...]
/osnet-11/usr/src/lib/libnsl/nss/
H A Dgethostby_door.c29 #include <pwd.h>
H A Dgetipnodeby_door.c29 #include <pwd.h>
/osnet-11/usr/src/cmd/sendmail/include/sm/
H A Dmbdb.h17 #include <pwd.h>
/osnet-11/usr/src/lib/pam_modules/dial_auth/
H A Ddial_auth.c29 #include <pwd.h>
62 struct passwd pwd; local
98 if (getpwnam_r(user, &pwd, pwd_buffer, sizeof (pwd_buffer)) == NULL)
138 if (pwd.pw_shell != NULL && strcmp(pwd.pw_shell, line) == 0)

Completed in 94 milliseconds

12345678