Searched refs:passwd (Results 1 - 25 of 622) sorted by relevance

1234567891011>>

/netbsd-current/crypto/external/bsd/openssh/dist/
H A Duidswap.h16 void temporarily_use_uid(struct passwd *);
18 void permanently_set_uid(struct passwd *);
/netbsd-current/usr.bin/chpass/
H A Dchpass.h34 struct passwd;
38 int (*func)(const char *, struct passwd *, struct _entry *), restricted, len;
55 void display(char *, int, struct passwd *);
56 void edit(char *, struct passwd *);
59 int p_change(const char *, struct passwd *, ENTRY *);
60 int p_class(const char *, struct passwd *, ENTRY *);
61 int p_expire(const char *, struct passwd *, ENTRY *);
62 int p_gecos(const char *, struct passwd *, ENTRY *);
63 int p_gid(const char *, struct passwd *, ENTRY *);
64 int p_hdir(const char *, struct passwd *, ENTR
[all...]
/netbsd-current/lib/libc/gen/
H A Dpw_private.h10 int __pw_scan(char *bp, struct passwd *pw, int *flags);
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/
H A Dpassfile.c41 struct berval *passwd )
51 passwd->bv_val = NULL;
52 passwd->bv_len = 4096;
65 passwd->bv_len = sb.st_size;
70 passwd->bv_val = (char *) ber_memalloc( passwd->bv_len + 1 );
71 if( passwd->bv_val == NULL ) {
78 nleft = passwd->bv_len;
82 char *p = (char *) ber_memrealloc( passwd->bv_val,
83 2 * passwd
[all...]
H A Dptest.c65 struct berval *passwd; local
77 &passwd, &salt, hash[i] );
81 passwd = lutil_passwd_hash( &pw[j], hash[i] );
83 if( passwd == NULL )
93 rc = lutil_authpasswd( &pw[j], passwd, salt, NULL );
95 rc = lutil_passwd( passwd, &pw[j], NULL );
99 pw[j].bv_val, pw[j].bv_len, passwd->bv_val, passwd->bv_len,
103 rc = lutil_authpasswd( passwd, salt, &bad, NULL );
105 rc = lutil_passwd( passwd,
[all...]
H A Dpasswd.c1 /* $NetBSD: passwd.c,v 1.9 2021/08/14 16:14:58 christos Exp $ */
20 * const struct berval *passwd,
25 * the stored password (passwd).
32 __RCSID("$NetBSD: passwd.c,v 1.9 2021/08/14 16:14:58 christos Exp $");
246 const struct berval * passwd,
254 if( passwd->bv_len >= scheme->name.bv_len ) {
255 if( strncasecmp( passwd->bv_val, scheme->name.bv_val, scheme->name.bv_len ) == 0 ) {
256 bv->bv_val = &passwd->bv_val[scheme->name.bv_len];
257 bv->bv_len = passwd->bv_len - scheme->name.bv_len;
271 const struct berval *passwd, /* store
244 passwd_scheme( const struct pw_scheme *scheme, const struct berval * passwd, struct berval *bv, const char** allowed ) argument
270 lutil_passwd( const struct berval *passwd, const struct berval *cred, const char **schemes, const char **text ) argument
344 lutil_passwd_hash( const struct berval * passwd, const char * method, struct berval *hash, const char **text ) argument
454 chk_ssha1( const struct berval *sc, const struct berval * passwd, const struct berval * cred, const char **text ) argument
499 chk_sha1( const struct berval *sc, const struct berval * passwd, const struct berval * cred, const char **text ) argument
541 chk_smd5( const struct berval *sc, const struct berval * passwd, const struct berval * cred, const char **text ) argument
586 chk_md5( const struct berval *sc, const struct berval * passwd, const struct berval * cred, const char **text ) argument
650 chk_crypt( const struct berval *sc, const struct berval * passwd, const struct berval * cred, const char **text ) argument
686 chk_unix( const struct berval *sc, const struct berval * passwd, const struct berval * cred, const char **text ) argument
755 hash_ssha1( const struct berval *scheme, const struct berval *passwd, struct berval *hash, const char **text ) argument
786 hash_sha1( const struct berval *scheme, const struct berval *passwd, struct berval *hash, const char **text ) argument
807 hash_smd5( const struct berval *scheme, const struct berval *passwd, struct berval *hash, const char **text ) argument
838 hash_md5( const struct berval *scheme, const struct berval *passwd, struct berval *hash, const char **text ) argument
862 hash_crypt( const struct berval *scheme, const struct berval *passwd, struct berval *hash, const char **text ) argument
931 hash_clear( const struct berval *scheme, const struct berval *passwd, struct berval *hash, const char **text ) argument
[all...]
/netbsd-current/usr.bin/newgrp/
H A Dgrutil.h38 const char *, struct passwd *, uid_t, const char *);
/netbsd-current/lib/libutil/compat/
H A Dutil.h45 struct passwd;
63 void __pw_copy50(int, int, struct passwd *, struct passwd *);
64 int __pw_copyx50(int, int, struct passwd *, struct passwd *,
66 void __pw_getpwconf50(char *, size_t, const struct passwd *,
H A Dlogin_cap.h41 struct passwd;
46 login_cap_t *__login_getpwclass50(const struct passwd *);
48 int __setusercontext50(login_cap_t *, struct passwd *, uid_t, u_int);
/netbsd-current/external/gpl2/gettext/dist/djgpp/
H A Ddjpwd.h26 struct passwd { struct
36 struct passwd * getpwuid(uid_t _uid);
37 struct passwd * getpwnam(const char *_name);
41 struct passwd *getpwent(void);
H A Dgetpwnam.c16 static char passwd[] = ""; variable
20 struct passwd *
23 static struct passwd rv;
38 rv.pw_passwd = passwd;
/netbsd-current/tools/compat/
H A Dcompat_pwd.h39 #define passwd __nbcompat_passwd macro
48 struct passwd { struct
61 int pw_scan(char *, struct passwd *, int *);
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hcrypto/
H A Dpasswd_dlg.c49 char passwd[passwdBufSZ]; variable
60 if(!GetDlgItemText(hwndDlg,IDC_PASSWD_EDIT, passwd, passwdBufSZ))
81 strlcpy(buf, passwd, size);
82 memset (passwd, 0, sizeof(passwd));
86 memset (passwd, 0, sizeof(passwd));
/netbsd-current/include/
H A Dpwd.h72 #define _PATH_PASSWD "/etc/passwd"
73 #define _PATH_MASTERPASSWD "/etc/master.passwd"
76 #define _PATH_PASSWD_CONF "/etc/passwd.conf"
107 struct passwd { struct
122 struct passwd *getpwuid(uid_t) __RENAME(__getpwuid50);
123 struct passwd *getpwnam(const char *) __RENAME(__getpwnam50);
128 int getpwnam_r(const char *, struct passwd *, char *, size_t,
129 struct passwd **) __RENAME(__getpwnam_r50);
130 int getpwuid_r(uid_t, struct passwd *, char *, size_t,
131 struct passwd **) __RENAM
[all...]
/netbsd-current/external/bsd/ppp/dist/pppd/plugins/
H A Dpasswordfd.c33 static int pwfd_passwd (char *user, char *passwd) argument
40 if (passwd == NULL)
44 strcpy (passwd, save_passwd);
50 red = read (passwdfd, passwd + readgood, MAXSECRETLEN - 1 - readgood);
66 passwd[readgood] = 0;
67 strcpy (save_passwd, passwd);
/netbsd-current/external/bsd/openldap/dist/libraries/libldap/
H A Dbind.c43 * simple [0] OCTET STRING -- passwd
71 ldap_bind( LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *passwd, int authmethod ) argument
77 return( ldap_simple_bind( ld, dn, passwd ) );
81 return( ldap_gssapi_bind_s( ld, dn, passwd) );
111 LDAP_CONST char *passwd,
118 return( ldap_simple_bind_s( ld, dn, passwd ) );
122 return( ldap_gssapi_bind_s( ld, dn, passwd) );
108 ldap_bind_s( LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *passwd, int authmethod ) argument
H A Dsbind.c26 * simple [0] OCTET STRING -- passwd
67 LDAP_CONST char *passwd )
78 if ( passwd != NULL ) {
79 cred.bv_val = (char *) passwd;
80 cred.bv_len = strlen( passwd );
104 ldap_simple_bind_s( LDAP *ld, LDAP_CONST char *dn, LDAP_CONST char *passwd )
110 if ( passwd != NULL ) {
111 cred.bv_val = (char *) passwd;
112 cred.bv_len = strlen( passwd );
/netbsd-current/lib/libc/compat/include/
H A Dpwd.h10 struct passwd;
26 passwd_to_passwd50(const struct passwd *p, struct passwd50 *q)
41 passwd50_to_passwd(const struct passwd50 *p, struct passwd *q)
76 struct passwd *__getpwuid50(uid_t);
77 struct passwd *__getpwnam50(const char *);
80 int __getpwnam_r50(const char *, struct passwd *, char *, size_t,
81 struct passwd **);
82 int __getpwuid_r50(uid_t, struct passwd *, char *, size_t,
83 struct passwd **);
86 struct passwd *__getpwent5
[all...]
/netbsd-current/usr.bin/mail/
H A Dgetname.c44 /* Getname / getuserid for those with hashed passwd data base). */
47 * Search the passwd file for a uid. Return name on success, NULL on failure
52 struct passwd *pw;
66 struct passwd *pw;
/netbsd-current/external/historical/nawk/dist/testdir/
H A DT.-f-f14 echo '/a/' | $awk -f - /etc/passwd >foo1
15 $awk '/a/' /etc/passwd >foo2
19 cp /etc/passwd foo1
23 $awk -f foo2 -f foo3 -f foo4 /etc/passwd >foo5
34 $awk -f foo2 -f foo3 -f foo4 /etc/passwd >foo5 2>foo6
/netbsd-current/sys/external/isc/libsodium/dist/test/default/
H A Dpwhash_scrypt.c93 char passwd[256]; local
100 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
106 out, (unsigned long long) tests[i].outlen, passwd,
142 char passwd[256]; local
149 sodium_hex2bin((unsigned char *) passwd, sizeof passwd,
155 out, (unsigned long long) tests[i].outlen, passwd,
169 const char *passwd; member in struct:__anon368
278 char * passwd; local
303 const char *passwd = "Correct Horse Battery Staple"; local
[all...]
/netbsd-current/external/bsd/openldap/dist/contrib/slapd-modules/passwd/
H A Dapr1.c63 const struct berval *passwd,
73 lutil_MD5Update(&ctx, (const unsigned char *) passwd->bv_val, passwd->bv_len);
78 lutil_MD5Update(&ctx1, (const unsigned char *) passwd->bv_val, passwd->bv_len);
80 lutil_MD5Update(&ctx1, (const unsigned char *) passwd->bv_val, passwd->bv_len);
83 for (n = passwd->bv_len; n > 0; n -= LUTIL_MD5_BYTES)
88 for (n = passwd->bv_len; n; n >>= 1)
92 lutil_MD5Update(&ctx, (const unsigned char *) passwd
62 do_phk_hash( const struct berval *passwd, const struct berval *salt, const struct berval *magic, unsigned char *digest) argument
122 chk_phk( const struct berval *magic, const struct berval *passwd, const struct berval *cred, const char **text) argument
165 chk_apr1( const struct berval *scheme, const struct berval *passwd, const struct berval *cred, const char **text) argument
174 chk_bsdmd5( const struct berval *scheme, const struct berval *passwd, const struct berval *cred, const char **text) argument
183 hash_phk( const struct berval *scheme, const struct berval *magic, const struct berval *passwd, struct berval *hash, const char **text) argument
216 hash_apr1( const struct berval *scheme, const struct berval *passwd, struct berval *hash, const char **text) argument
225 hash_bsdmd5( const struct berval *scheme, const struct berval *passwd, struct berval *hash, const char **text) argument
[all...]
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/kadm5/
H A Dcheck-cracklib.pl51 my $passwd = shift;
53 if ($principal eq $passwd) {
62 my $passwd = shift;
69 $md5context->add($principal, ":", $passwd);
/netbsd-current/external/bsd/wpa/dist/src/tls/
H A Dpkcs5.h14 const char *passwd, size_t *data_len);
H A Dpkcs8.h14 pkcs8_enc_key_import(const u8 *buf, size_t len, const char *passwd);

Completed in 246 milliseconds

1234567891011>>