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

1234567891011>>

/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/pwcheck/
H A Dpwcheck_getpwnam.c26 #include <pwd.h>
35 struct passwd *pwd; local
37 pwd = getpwnam(userid);
38 if (!pwd) {
41 else if (pwd->pw_passwd[0] == '*') {
44 else if (strcmp(pwd->pw_passwd, crypt(password, pwd->pw_passwd)) != 0) {
H A Dpwcheck_getspnam.c34 struct spwd *pwd; local
36 pwd = getspnam(userid);
37 if (!pwd) {
41 if (strcmp(pwd->sp_pwdp, crypt(password, pwd->sp_pwdp)) != 0) {
/macosx-10.10/postfix-255/postfix/src/util/
H A Dusername.c30 #include <pwd.h>
41 struct passwd *pwd; local
44 if ((pwd = getpwuid(uid)) == 0)
46 return (pwd->pw_name);
H A Dchroot_uid.c32 #include <pwd.h>
45 struct passwd *pwd; local
54 if ((pwd = getpwnam(user_name)) == 0)
56 uid = pwd->pw_uid;
57 gid = pwd->pw_gid;
H A Dfullname.c39 #include <pwd.h>
58 struct passwd *pwd; local
73 if ((pwd = getpwuid(uid)) == 0)
83 for (cp = pwd->pw_gecos; (ch = *(unsigned char *) cp) != 0; cp++) {
87 if (pwd->pw_name[0]) {
88 VSTRING_ADDCH(result, TOUPPER(pwd->pw_name[0]));
89 vstring_strcat(result, pwd->pw_name + 1);
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Dget_default_username.c64 struct passwd *pwd; local
67 pwd = k_getpwnam (user);
68 if (pwd != NULL && pwd->pw_uid == uid)
71 pwd = k_getpwuid (uid);
72 if (pwd != NULL)
73 return pwd->pw_name;
/macosx-10.10/emacs-93/emacs/nt/inc/
H A Dgrp.h24 #include <pwd.h> /* gid_t defined here */
/macosx-10.10/sudo-73/src/
H A Dnonunix.h41 sudo_nonunix_groupcheck( const char* group, const char* user, const struct passwd* pwd );
/macosx-10.10/OpenSSL098-52/src/util/
H A Dmklink.pl18 my $pwd;
22 $pwd = `pwd`;
26 $pwd = getcwd();
33 chomp($pwd);
34 my @pwd_path = split(/[\\\/]/, $pwd);
42 # @pwd_path (interpreted is an absolute path) to the original pwd.
44 # At the end, @from_path (as a relative path from the original pwd)
46 # which means that @to_path then is a path from there to the original pwd.
H A Dfiles.pl40 $pwd=`pwd`; chop($pwd);
49 @_=split(/\//,$pwd);
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/p12/
H A Dp12.h15 CFStringRef pwd,
22 CFStringRef pwd, // explicit passphrase, mutually exclusive with...
31 CFStringRef pwd, // explicit passphrase
39 CFStringRef pwd, // explicit passphrase, mutually exclusive with...
46 CFStringRef pwd, // explicit passphrase, mutually exclusive with...
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/krb5/
H A Dpname_to_uid.c51 struct passwd pw, *pwd;
53 struct passwd *pwd;
68 if (getpwnam_r(localname, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0) {
73 pwd = getpwnam(localname);
76 if (pwd == NULL) {
81 *uidp = pwd->pw_uid;
/macosx-10.10/Heimdal-398.1.2/lib/otp/
H A Dotp_md.h36 int otp_md4_init (OtpKey key, const char *pwd, const char *seed);
40 int otp_md5_init (OtpKey key, const char *pwd, const char *seed);
44 int otp_sha_init (OtpKey key, const char *pwd, const char *seed);
/macosx-10.10/OpenPAM-20/openpam/lib/
H A Dopenpam_borrow_cred.c42 #include <pwd.h>
58 const struct passwd *pwd)
64 ENTERI(pwd->pw_uid);
71 if (geteuid() != 0 && geteuid() != pwd->pw_uid) {
92 if (geteuid() == pwd->pw_uid)
94 if (initgroups(pwd->pw_name, pwd->pw_gid) < 0 ||
95 setegid(pwd->pw_gid) < 0 || seteuid(pwd->pw_uid) < 0) {
113 * switches to those of the user specified by its =pwd argumen
57 openpam_borrow_cred(pam_handle_t *pamh, const struct passwd *pwd) argument
[all...]
/macosx-10.10/Heimdal-398.1.2/appl/login/
H A Dlogin.c142 otp_verify(struct passwd *pwd, const char *password) argument
156 krb5_verify(struct passwd *pwd, const char *password) argument
161 ret = krb5_parse_name(context, pwd->pw_name, &princ);
180 krb5_start_session (const struct passwd *pwd) argument
187 (unsigned)pwd->pw_uid);
208 krb5_get_afs_tokens (const struct passwd *pwd) argument
220 pw_dir = pwd->pw_dir;
229 cell, NULL, pwd->pw_uid, pwd->pw_dir);
231 pwd
315 do_login(const struct passwd *pwd, char *tty, char *ttyn) argument
518 check_password(struct passwd *pwd, const char *password) argument
640 struct passwd *pwd; local
[all...]
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/
H A Dport-solaris.h23 #include <pwd.h>
/macosx-10.10/system_cmds-643.1.1/login.tproj/
H A Dlogin.h37 extern struct passwd *pwd;
/macosx-10.10/pam_modules-140/modules/pam_self/
H A Dpam_self.c36 #include <pwd.h>
43 struct passwd *pwd, *rpwd; local
50 NULL == user || 0 != getpwnam_r(user, &pwdbuf, pwbuffer, sizeof(pwbuffer), &pwd) || NULL == pwd) {
54 uid = pwd->pw_uid;
/macosx-10.10/top-100.1.2/
H A Duserinput_user.c28 #include <pwd.h>
33 struct passwd *pwd; local
42 pwd = getpwnam(s->buf);
44 if(NULL == pwd) {
51 top_prefs_set_user_uid(pwd->pw_uid);
/macosx-10.10/cxxfilt-11/cxxfilt/libiberty/
H A Dgetpwd.c70 static char *pwd; local
73 char *p = pwd;
103 pwd = p;
117 static char *pwd = 0; local
119 if (!pwd)
120 pwd = getcwd (XNEWVEC (char, MAXPATHLEN + 1), MAXPATHLEN + 1
125 return pwd;
/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/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`);
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/contrib/ldapc++/src/
H A DLDAPRebindAuth.cpp14 LDAPRebindAuth::LDAPRebindAuth(const string& dn, const string& pwd){ argument
17 << " pwd:" << pwd << endl);
19 m_password=pwd;
/macosx-10.10/Security-57031.1.35/Security/libsecurity_checkpw/lib/
H A Dcheckpw.h23 #include <pwd.h>
/macosx-10.10/Security-57031.1.35/SecurityTests/clxutils/p12Parse/
H A Dp12Parse.h14 CFStringRef pwd,
/macosx-10.10/OpenSSH-189/openssh/
H A Dplatform.h21 #include <pwd.h>

Completed in 393 milliseconds

1234567891011>>