Searched refs:user (Results 1 - 25 of 287) sorted by relevance

1234567891011>>

/osnet-11/usr/src/grub/grub2/include/grub/
H A Dauth.h28 grub_err_t grub_auth_register_authentication (const char *user,
31 grub_err_t grub_auth_unregister_authentication (const char *user);
33 grub_err_t grub_auth_authenticate (const char *user);
34 grub_err_t grub_auth_deauthenticate (const char *user);
/osnet-11/usr/src/lib/libwrap/
H A Dhosts_ctl.c10 * access control checker. The host name and user name arguments should be
30 int hosts_ctl(daemon, name, addr, user)
34 char *user;
42 RQ_USER, user,
H A Deval.c8 * Routines for controlled evaluation of host names, user names, and so on.
21 * When ALWAYS_RFC931 mode is off, user lookup is done only when required by
49 /* eval_user - look up user name */
54 if (request->user[0] == 0) {
55 strcpy(request->user, unknown);
57 rfc931(request->client->sin, request->server->sin, request->user);
59 return (request->user);
115 #ifndef ALWAYS_RFC931 /* no implicit user lookups */
116 if (request->user[0] == 0)
120 sprintf(both, "%s@%s", request->user, hostinf
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetuserattr.c74 userstr_t *user = ent; local
89 user->name = _strtok_escape(buf, sep, &last);
90 user->qualifier = _strtok_escape(NULL, sep, &last);
91 user->res1 = _strtok_escape(NULL, sep, &last);
92 user->res2 = _strtok_escape(NULL, sep, &last);
93 user->attr = _strtok_escape(NULL, sep, &last);
165 userstr_t user; local
168 (void) memset(&user, 0, sizeof (userattr_t));
169 tmp = _getuserattr(&user, buf, NSS_BUFLEN_USERATTR, &err);
178 userstr_t user; local
192 userstr_t user; local
215 free_userattr(userattr_t *user) argument
229 _userstr2attr(userstr_t *user) argument
250 print_userattr(userattr_t *user) argument
[all...]
H A Devent_port.c59 port_associate(int port, int source, uintptr_t object, int events, void *user) argument
63 (uintptr_t)user);
112 port_send(int port, int events, void *user) argument
115 r.r_vals = _portfs(PORT_SEND, port, events, (uintptr_t)user, NULL,
127 void *user)
132 (uintptr_t)user);
135 source, events, object, (uintptr_t)user);
140 port_sendn(int ports[], int errors[], uint_t nent, int events, void *user) argument
149 (uintptr_t)user);
163 lnent, events, (uintptr_t)user);
126 _port_dispatch(int port, int flags, int source, int events, uintptr_t object, void *user) argument
178 port_alert(int port, int flags, int events, void *user) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/demos/
H A Dpop310 GetOptions(qw(debug user=s));
14 $user = $opt_user || $ENV{USER} || $ENV{LOGNAME};
16 $count = $pop->login($user);
H A Dsmtp.self13 C<smtp.self> will attempt to send a message to a given user
27 =item -user USERNAME
33 demos/smtp.self -user foo.bar
35 demos/smtp.self -debug -user Graham.Barr
44 GetOptions(qw(debug user=s help));
53 $user = $opt_user || $ENV{USER} || $ENV{LOGNAME};
55 $smtp->mail($user) && $smtp->to($user);
58 if($smtp->mail($user) && $smtp->to($user))
[all...]
/osnet-11/usr/src/lib/pam_modules/ldap/
H A Dldap_authenticate.c43 * Authenticate user.
54 char *user = NULL; local
63 /* Get the service and user */
66 (err = pam_get_item(pamh, PAM_USER, (void **)&user)) != PAM_SUCCESS)
89 service, (user && *user != '\0')?user:"no-user", flags,
92 if (!user || *user
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Dauth.c40 grub_auth_register_authentication (const char *user, argument
46 cur = grub_named_list_find (GRUB_AS_NAMED_LIST (users), user);
55 cur->name = grub_strdup (user);
67 grub_auth_unregister_authentication (const char *user) argument
70 cur = grub_named_list_find (GRUB_AS_NAMED_LIST (users), user);
72 return grub_error (GRUB_ERR_BAD_ARGUMENT, "user '%s' not found", user);
88 grub_auth_authenticate (const char *user) argument
92 cur = grub_named_list_find (GRUB_AS_NAMED_LIST (users), user);
102 cur->name = grub_strdup (user);
115 grub_auth_deauthenticate(const char *user) argument
136 struct grub_auth_user *user; local
206 struct grub_auth_user *user; local
[all...]
/osnet-11/usr/src/cmd/sendmail/cf/sh/
H A Dmakeinfo.sh77 user=`whoami`
79 user=$LOGNAME
92 if [ -n "$user" ]; then
93 echo '#####' built by $user@$host on `date`
/osnet-11/usr/src/lib/pam_modules/sample/
H A Dsample_acct_mgmt.c39 * It may need to force the user to change his/her
50 char *user; local
62 if (pam_get_item(pamh, PAM_USER, (void **)&user) != PAM_SUCCESS)
70 * we want to use the policy of the current user not the "destination"
71 * user. This will enable us to prevent su to root but not to rlogin,
74 * description of problem: user name is the "destination" name. not
76 * current name in the case of su. user is "root" in this case and
77 * we will be getting the root policy instead of the user policy.
86 user = pw->pw_name;
89 if (user
[all...]
/osnet-11/usr/src/lib/pam_modules/tsol_acct/
H A Dtsol_acct.c42 * Validates that the user's label range contains
62 char *user; local
83 (void) pam_get_item(pamh, PAM_USER, (void **)&user);
89 "pam_tsol_account: allowed_unlabeled = %d, user %s, "
92 (user == NULL) ? "NULL" : (user == '\0') ? "ZERO" :
93 user,
97 if (user == NULL || *user == '\0') {
99 "pam_tsol_account: no user");
[all...]
/osnet-11/usr/src/lib/pam_modules/smbfs/
H A Dsmbfs_login.c57 char *user; local
81 (void) pam_get_item(pamh, PAM_USER, (void **)&user);
83 if (user == NULL || *user == '\0') {
88 if (getpwnam_r(user, &pwbuf, buf, sizeof (buf)) == NULL) {
90 "pam_smbfs_login: username %s can't be found", user);
109 "pam_smbfs_login: service %s, dom %s, user %s",
110 service, dom, user);
113 res = smbfs_keychain_add(uid, dom, user, pw, B_FALSE);
116 res = smbfs_keychain_del(uid, dom, user, B_FALS
[all...]
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dmbdb.c45 int (*mbdb_lookup) __P((char *name, SM_MBDB_T *user));
50 static int mbdb_pw_lookup __P((char *name, SM_MBDB_T *user));
57 static int mbdb_ldap_lookup __P((char *name, SM_MBDB_T *user));
155 ** user -- pointer to structure to fill in on success
158 ** On success, fill in *user and return EX_OK.
159 ** If the user does not exist, return EX_NOUSER.
165 sm_mbdb_lookup(name, user)
167 SM_MBDB_T *user;
172 ret = SmMbdbType->mbdb_lookup(name, user);
180 ** user
[all...]
/osnet-11/usr/src/lib/pam_modules/krb5/
H A Dutils.c48 * To get the uid from the passwd entry for specified user
49 * It returns 0 if the user can't be found, otherwise returns 1.
52 get_pw_uid(char *user, uid_t *uid) argument
57 if (getpwnam_r(user, &sp, buffer, sizeof (buffer)) == NULL) {
68 * To get the gid from the passwd entry for specified user
69 * It returns 0 if the user can't be found, otherwise returns 1.
72 get_pw_gid(char *user, gid_t *gid) argument
77 if (getpwnam_r(user, &sp, buffer, sizeof (buffer)) == NULL) {
89 * To get the kerberos user name for the specified user
104 get_kmd_kuser(krb5_context kcontext, const char *user, char *kuser, int length) argument
143 key_in_keytab(const char *user, int debug) argument
[all...]
/osnet-11/usr/src/lib/policykit/libpolkit/common/
H A Dlibpolkit.h55 const char *user,
63 const char *user,
69 const char *user,
/osnet-11/usr/src/lib/libgss/
H A Dg_userok.c39 const char *user,
51 gss_user.value = (void *)user;
81 *user_ok = 1; /* remote user is a-ok */
92 const char *user,
104 if (name == NULL || user == NULL)
124 user, user_ok);
127 name, user, user_ok);
36 compare_names(OM_uint32 *minor, const gss_OID mech_type, const gss_name_t name, const char *user, int *user_ok) argument
90 __gss_userok(OM_uint32 *minor, const gss_name_t name, const char *user, int *user_ok) argument
/osnet-11/usr/src/lib/libc/sparc/sys/
H A Dptrace.c50 #include <sys/user.h>
75 user_t user; /* manufactured u-block */ member in struct:cstatus
257 data = *((int *)((caddr_t)(&cp->user) + xaddr));
268 if (xaddr >= (unsigned)cp->user.u_reg[REG_SP] &&
269 xaddr < (unsigned)cp->user.u_reg[REG_SP]+16*sizeof (int))
287 data = (cp->user.u_reg[REG_PS] &
291 cp->user.u_reg[rx] = data;
307 ps->pr_lwp.pr_reg[R_PSR] = cp->user.u_reg[REG_PSR];
308 ps->pr_lwp.pr_reg[R_PC] = cp->user.u_reg[REG_PC];
309 ps->pr_lwp.pr_reg[R_nPC] = cp->user
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgetnetgrent.c69 const char *user, const char *domain
75 return (innetgr_p(netgroup, host, user, domain, net_data));
79 getnetgrent(NGR_R_CONST char **host, NGR_R_CONST char **user, argument
91 DE_CONST(cu, *user);
119 const char *user, const char *domain,
125 return ((*ng->test)(ng, netgroup, host, user, domain));
129 getnetgrent_p(const char **host, const char **user, const char **domain, argument
135 return ((*ng->next)(ng, host, user, domain));
118 innetgr_p(const char *netgroup, const char *host, const char *user, const char *domain, struct net_data *net_data) argument
/osnet-11/usr/src/lib/passwdutil/
H A D__check_history.c34 * __check_history - check if a user's new password is in the user's
38 * user = username.
43 * PWU_SUCCESS, passwd found in user's old password history.
46 * PWU_NOT_FOUND, passwd not in user's old password history.
51 __check_history(char *user, char *passwd, pwu_repository_t *rep) argument
68 /* Loop over repositories until the user is found */
72 res = rops[i]->checkhistory(user, passwd, rep);
/osnet-11/usr/src/lib/libc/i386/sys/
H A Dptrace.c51 #include <sys/user.h>
75 user_t user; /* manufactured u-block */ member in struct:cstatus
257 data = *((int *)((caddr_t)(&cp->user) + xaddr));
283 data = (cp->user.u_reg[EFL] & ~PSL_USERMASK) |
285 cp->user.u_reg[rx] = data;
301 ps->pr_lwp.pr_reg[GS] = cp->user.u_reg[GS];
302 ps->pr_lwp.pr_reg[FS] = cp->user.u_reg[FS];
303 ps->pr_lwp.pr_reg[ES] = cp->user.u_reg[ES];
304 ps->pr_lwp.pr_reg[DS] = cp->user.u_reg[DS];
305 ps->pr_lwp.pr_reg[EDI] = cp->user
[all...]
/osnet-11/usr/src/lib/libmail/inc/
H A Dmaillock.h49 extern int maillock(char *user, int retrycnt);
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dpassword.c34 check_password (const char *user, const char *entered, argument
40 grub_auth_authenticate (user);
46 grub_normal_set_password (const char *user, const char *password) argument
60 err = grub_auth_register_authentication (user, check_password, pass);
87 N_("Set user password (plaintext). "
/osnet-11/usr/src/lib/pam_modules/allow/
H A Dallow.c49 char *user = NULL; local
56 (void) pam_get_item(pamh, PAM_USER, (void **)&user);
60 user ? user : "No User Specified");
/osnet-11/usr/src/lib/pam_modules/deny/
H A Ddeny.c49 char *user; local
56 (void) pam_get_item(pamh, PAM_USER, (void **)&user);
60 user ? user : "No User Specified");

Completed in 51 milliseconds

1234567891011>>