Home
last modified time | relevance | path

Searched refs:passwd (Results 1 – 25 of 526) sorted by relevance

12345678910>>...22

/illumos-gate/usr/src/head/
H A Dpwd.h48 struct passwd { struct
73 extern struct passwd *getpwent_r(struct passwd *, char *, int);
74 extern struct passwd *fgetpwent_r(FILE *, struct passwd *, char *, int);
131 size_t, struct passwd **);
133 size_t, struct passwd **);
137 struct passwd **);
139 size_t, struct passwd **);
150 struct passwd **__res) in getpwuid_r()
156 struct passwd **__res) in getpwnam_r()
166 extern struct passwd *getpwuid_r(uid_t, struct passwd *, char *, int);
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetpwnam_r.c55 struct passwd *
59 struct passwd *
67 struct passwd *
87 struct passwd *
100 struct passwd *
134 struct passwd *
180 struct passwd *
199 struct passwd *
244 struct passwd *passwd = (struct passwd *)ent; in str2passwd() local
304 passwd->pw_age = p; in str2passwd()
[all …]
H A Dgetpwnam.c65 b = NSS_XbyY_ALLOC(buffer, sizeof (struct passwd), NSS_BUFLEN_PASSWD); in get_pwbuf()
69 struct passwd *
78 struct passwd *
87 struct passwd *
96 struct passwd *
/illumos-gate/usr/src/test/smbclient-tests/tests/smbfs/xattr/
H A Dtp_xattr_008.ksh78 create_xattr $TMNT/test_file passwd /etc/passwd
90 create_xattr $TMNT/cpio_test passwd /etc/passwd
110 verify_xattr $TMNT/cpio_test passwd /etc/passwd
116 verify_xattr $TMNT/cpio_test passwd /etc/passwd
148 compare_xattrs $TMNT/test_file $TMNT/test_file1 passwd
186 create_xattr $TMNT/mvtest passwd /etc/passwd
188 verify_xattr $TMNT/mvtest2 passwd /etc/passwd
197 create_xattr $TMNT/pax_test passwd /etc/passwd
229 verify_xattr $TMNT/pax_test passwd /etc/passwd
251 create_xattr $TMNT/tar_test passwd /etc/passwd
[all …]
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/
H A DT.redir20 $AWK '{ print >"'$TEMP1'" }' /etc/passwd
21 diff $TEMP1 /etc/passwd || fail 'BAD: T.redir (print >"test.temp.1")'
24 $AWK '{ print >>"'$TEMP1'" }' /etc/passwd
25 diff $TEMP1 /etc/passwd || fail 'BAD: T.redir (print >>"test.temp.1")'
29 NR%2 == 0 { print >"'$TEMP1'" }' /etc/passwd
30 diff $TEMP1 /etc/passwd || fail 'BAD: T.redir (print > and >>"test.temp.1")'
33 $AWK '{ print | "cat > '$TEMP1'" }' /etc/passwd
46 $AWK '{ print >"/dev/stderr" }' /etc/passwd 1> $TEMP1 2> $TEMP2
47 diff $TEMP2 /etc/passwd || fail 'BAD: T.redir (print >"/dev/stderr")'
51 $AWK '{ print >"/dev/stdout" }' /etc/passwd 1> $TEMP1 2> $TEMP2
[all …]
H A DT.getline47 cmp -s /etc/passwd $TEMP1 || fail 'BAD: T.getline (getline <file)'
49 cat /etc/passwd | $AWK '
56 cmp -s /etc/passwd $TEMP1 || fail 'BAD: T.getline (getline <"-")'
64 ' /etc/passwd > $TEMP1
65 cmp -s /etc/passwd $TEMP1 || fail 'BAD: T.getline (getline <arg)'
73 ' /etc/passwd > $TEMP1
74 cmp -s /etc/passwd $TEMP1 || fail 'BAD: T.getline (getline x <arg)'
82 ' /etc/passwd > $TEMP1
83 cmp -s /etc/passwd $TEMP1 || fail 'BAD: T.getline (cat arg | getline)'
91 ' /etc/passwd > $TEMP1
[all …]
H A DT.-f-f33 echo '/a/' | $AWK -f - /etc/passwd > $TEMP1
34 $AWK '/a/' /etc/passwd > $TEMP2
38 cp /etc/passwd $TEMP1
42 $AWK -f $TEMP2 -f $TEMP3 -f $TEMP4 /etc/passwd > $TEMP5
53 $AWK -f $TEMP2 -f $TEMP3 -f $TEMP4 /etc/passwd > $TEMP5 2> $TEMP6
/illumos-gate/usr/src/cmd/ypcmd/net_files/
H A DMakefile87 -@if [ -f $(PWDIR)/security/passwd.adjunct ]; then \
89 passwd.adjunct.time group.adjunct.time; \
91 passwd.adjunct.time group.adjunct.time; \
95 passwd.time: $(PWDIR)/passwd $(PWDIR)/shadow
96 -@if [ -f $(PWDIR)/security/passwd.adjunct ]; then \
106 @touch passwd.time;
290 passwd.adjunct.time: $(PWDIR)/security/passwd.adjunct $(PWDIR)/shadow
297 @chmod 600 $(YPDBDIR)/$(DOM)/passwd.adjunct.byname.dir;
299 @touch passwd.adjunct.time
453 passwd: passwd.time target
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsbind.c56 ldap_simple_bind( LDAP *ld, const char *dn, const char *passwd ) in ldap_simple_bind() argument
66 rc = simple_bind_nolock( ld, dn, passwd, 1 ); in ldap_simple_bind()
73 simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd, in simple_bind_nolock() argument
97 if ( passwd == NULL ) in simple_bind_nolock()
98 passwd = ""; in simple_bind_nolock()
103 bv.bv_val = (char *)passwd; in simple_bind_nolock()
104 bv.bv_len = strlen( passwd ); in simple_bind_nolock()
153 ldap_simple_bind_s( LDAP *ld, const char *dn, const char *passwd ) in ldap_simple_bind_s() argument
162 return( simple_bindifnot_s( ld, dn, passwd )); in ldap_simple_bind_s()
165 if ( (msgid = ldap_simple_bind( ld, dn, passwd )) == -1 ) in ldap_simple_bind_s()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_011_pos.ksh60 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd
71 create_xattr $TESTDIR/cpio.$$ passwd /etc/passwd
97 compare_xattrs $TESTDIR/myfile.$$ $TESTDIR/myfile2.$$ passwd
127 create_xattr $TESTDIR/mvfile.$$ passwd /etc/passwd
129 verify_xattr $TESTDIR/mvfile2.$$ passwd /etc/passwd
135 create_xattr $TESTDIR/pax.$$ passwd /etc/passwd
153 verify_xattr $TESTDIR/pax.$$ passwd /etc/passwd
164 create_xattr $TESTDIR/tar.$$ passwd /etc/passwd
179 verify_xattr tar.$$ passwd /etc/passwd
H A Dxattr_005_pos.ksh57 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd
65 verify_xattr $TESTDIR/clone/myfile.$$ passwd /etc/passwd
68 create_xattr $TESTDIR/clone/myfile.$$ foo /etc/passwd
72 delete_xattr $TESTDIR/myfile.$$ passwd
75 verify_xattr $TESTDIR/clone/myfile.$$ passwd /etc/passwd
76 delete_xattr $TESTDIR/clone/myfile.$$ passwd
H A Dxattr_013_pos.ksh62 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd
81 verify_xattr $TESTDIR/myfile.$$ passwd /etc/passwd
86 create_xattr $TESTDIR/new.$$ passwd /etc/passwd
/illumos-gate/usr/src/lib/passwdutil/
H A Dswitch_utils.c295 struct passwd *passwd = (struct passwd *)ent; in str2passwd() local
323 passwd->pw_passwd = ""; in str2passwd()
324 passwd->pw_age = ""; in str2passwd()
328 passwd->pw_comment = ""; in str2passwd()
329 passwd->pw_gecos = ""; in str2passwd()
330 passwd->pw_dir = ""; in str2passwd()
331 passwd->pw_shell = ""; in str2passwd()
347 passwd->pw_age = p; in str2passwd()
407 passwd->pw_gecos = passwd->pw_comment = p = gettok(&next); in str2passwd()
613 struct passwd *
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd.h298 struct passwd cli_pw;
310 ilb_status_t ilbd_check_client_config_auth(const struct passwd *);
311 ilb_status_t ilbd_check_client_enable_auth(const struct passwd *);
317 const struct passwd *, ucred_t *);
319 const struct passwd *, ucred_t *);
321 const struct passwd *, ucred_t *);
323 ilb_status_t ilbd_destroy_sg(const char *, const struct passwd *,
373 const struct passwd *, ucred_t *);
419 const struct passwd *, ucred_t *), void *, void *);
421 const struct passwd *, ucred_t *), void *, void *);
[all …]
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_util.c306 char *passwd = NULL; local
387 if (passwd == NULL) {
515 if (passwd == NULL) {
517 if (passwd == NULL) {
525 free(passwd);
526 passwd = NULL;
532 memset(passwd, 0, sizeof(passwd));
541 free(passwd);
542 passwd = NULL;
634 if (passwd)
[all …]
/illumos-gate/usr/src/lib/libnsl/key/
H A Dpublickey.c206 if (skey && extract_secret(p, skey, passwd)) in getkeys_nis()
289 if (skey && extract_secret(p, skey, passwd)) in getkeys_files()
332 passwd)); in getsecretkey()
348 char *passwd, /* in */ in extract_secret_g() argument
356 if (!buf || !passwd || !raw || !private || !prilen || in extract_secret_g()
428 char *passwd, /* in */ in getkeys_ldap_g() argument
486 if (skey && extract_secret(p, skey, passwd)) in getkeys_ldap_g()
635 const char *passwd) /* in */ in getsecretkey_g() argument
657 (char *)passwd, keylen, algtype); in getsecretkey_g()
661 NULL, skey, (char *)passwd); in getsecretkey_g()
[all …]
H A Dxcrypt.c80 xencrypt(secret, passwd) in xencrypt() argument
82 char *passwd;
95 (void) passwd2des(passwd, key);
114 xdecrypt(secret, passwd) in xdecrypt() argument
116 char *passwd;
130 (void) passwd2des(passwd, key);
244 const char *passwd, /* in */ in xencrypt_g() argument
303 (void) passwd2des((char *)passwd, key.c); in xencrypt_g()
306 (void) passwd2des_g(passwd, netname, in xencrypt_g()
349 const char *passwd, /* in */ in xdecrypt_g() argument
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddoor_if.c78 ucred_t *, struct passwd *);
80 ucred_t *, struct passwd *);
82 ucred_t *, struct passwd *);
84 ucred_t *, struct passwd *);
129 struct passwd *pwd) in nwamd_door_req_event_register()
147 struct passwd *pwd) in nwamd_door_req_event_unregister()
157 struct passwd *pwd) in nwamd_door_req_wlan_scan()
169 struct passwd *pwd) in nwamd_door_req_wlan_scan_results()
211 struct passwd *pwd) in nwamd_door_req_wlan_select()
230 struct passwd *pwd) in nwamd_door_req_wlan_set_key()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dncgrpw.c181 struct passwd *
184 struct passwd *pwd; in cpwnam()
213 pwd = (struct passwd *)NULL; in cpwnam()
337 struct passwd *
340 struct passwd *pwd; in cpwuid()
370 pwd = (struct passwd *)NULL; in cpwuid()
498 dup_pw_ent(struct passwd *pwd) in dup_pw_ent()
632 struct passwd *
635 struct passwd *pw; in clpwnam()
709 struct passwd *
[all …]
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dcheckpw.c114 const char *passwd, size_t passlen, in _sasl_make_plain_secret() argument
152 const char *passwd, in auxprop_verify_password() argument
199 if(!passwd) { in auxprop_verify_password()
220 passwd, strlen(passwd), in auxprop_verify_password()
224 strlen(passwd), in auxprop_verify_password()
409 const char *passwd, in pwcheck_verify_password() argument
441 iov[1].iov_base = (char *)passwd; in pwcheck_verify_password()
442 iov[1].iov_len = strlen(passwd)+1; in pwcheck_verify_password()
499 const char *passwd, in saslauthd_verify_password() argument
539 p_len = (strlen(passwd)); in saslauthd_verify_password()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpassprompt.c32 static int promptpass(char *user, char *passwd) in promptpass() argument
43 if (user != NULL && passwd == NULL) in promptpass()
89 red = read(p[0], passwd + readgood, MAXSECRETLEN-1 - readgood); in promptpass()
101 passwd[readgood] = 0; in promptpass()
114 if (readgood > 0 && passwd[--readgood] == '\n') in promptpass()
115 passwd[readgood] = '\0'; in promptpass()
/illumos-gate/usr/src/test/smbclient-tests/cmd/scripts/
H A Dpasswd.exp37 set passwd [lindex $argv 1]
39 spawn passwd $name
53 send "$passwd\r"
62 send "$passwd\r"
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_info.c59 uint8_t passwd[SMBAUTH_HASH_SZ]; member
376 smb_set_machine_passwd(char *passwd) in smb_set_machine_passwd() argument
427 *ipc_info.passwd = 0; in smb_ipc_init()
442 (void) memcpy(ipc_info.passwd, passwd_hash, SMBAUTH_HASH_SZ); in smb_ipc_set()
471 (void) memcpy(ipc_info.passwd, ipc_orig_info.passwd, in smb_ipc_rollback()
472 sizeof (ipc_info.passwd)); in smb_ipc_rollback()
491 (void) memcpy(buf, ipc_info.passwd, SMBAUTH_HASH_SZ); in smb_ipc_get_passwd()
530 smb_setdomainprops(char *fqdn, char *server, char *passwd) in smb_setdomainprops() argument
532 if (server == NULL || passwd == NULL) in smb_setdomainprops()
535 if ((*server == '\0') || (*passwd == '\0')) in smb_setdomainprops()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c335 l = strlen(passwd);
337 passwd[l-1] = '\0';
1081 (void) slprintf(passwd, sizeof(passwd), "%.*v", passwdlen, apasswd);
1096 BZERO(passwd, sizeof(passwd));
1166 BZERO(passwd, sizeof(passwd));
1254 char *passwd;
1280 PAM_password = passwd;
1470 get_pap_passwd(passwd) in get_pap_passwd() argument
1471 char *passwd; in get_pap_passwd()
1498 if (passwd != NULL)
[all …]
/illumos-gate/usr/src/ucbcmd/vipw/
H A Dvipw.c60 char *passwd = "/etc/passwd"; variable
87 if (stat(passwd, &osbuf) < 0) { in main()
92 if (copyfile(passwd, ptemp)) in main()
98 passwd); in main()
104 if (editfile(editor, ptemp, passwd, &n_mtime)) { in main()
105 if (sanity_check(ptemp, &n_mtime, passwd)) in main()
122 if (rename(ptemp, passwd) < 0) { in main()
129 (chown(passwd, osbuf.st_uid, osbuf.st_gid) < 0)) { in main()
162 if (rename(ptemp, passwd) < 0) { in main()
169 (chown(passwd, osbuf.st_uid, osbuf.st_gid) < 0)) { in main()

12345678910>>...22