Home
last modified time | relevance | path

Searched refs:chkauthattr (Results 1 – 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/cmd/cron/
H A Dpermit.c85 } else if (chkauthattr(CRONUSER_AUTH, user)) { in allowed()
119 return (chkauthattr(CRONADMIN_AUTH, name)); in cron_admin()
/illumos-gate/usr/src/cmd/vntsd/
H A Dauth.c137 auth_granted = chkauthattr(VNTSD_AUTH_ALLCONS, username); in auth_check_username()
141 auth_granted = chkauthattr(authname, username); in auth_check_username()
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Ddoor_if.c273 if (chkauthattr(AUTOCONF_SELECT_AUTH, pwd->pw_name) == 0) { in nwamd_door_req_action()
284 if (chkauthattr(AUTOCONF_WLAN_AUTH, pwd->pw_name) == 0) { in nwamd_door_req_action()
291 if (chkauthattr(AUTOCONF_WRITE_AUTH, pwd->pw_name) == 0) { in nwamd_door_req_action()
298 if (chkauthattr(AUTOCONF_WRITE_AUTH, pwd->pw_name) == 0 && in nwamd_door_req_action()
299 chkauthattr(AUTOCONF_SELECT_AUTH, pwd->pw_name) == 0) { in nwamd_door_req_action()
580 chkauthattr(door_req_table[i].ndre_auth, in nwamd_door_switch()
/illumos-gate/usr/src/lib/libnwam/common/
H A Dlibnwam_backend.c74 if (chkauthattr(AUTOCONF_SELECT_AUTH, pwd->pw_name) == 0) in nwam_check_auths()
79 if (chkauthattr(AUTOCONF_WLAN_AUTH, pwd->pw_name) == 0) in nwam_check_auths()
88 if (chkauthattr(AUTOCONF_WRITE_AUTH, pwd->pw_name) == 0) { in nwam_check_auths()
92 if (chkauthattr(AUTOCONF_READ_AUTH, in nwam_check_auths()
/illumos-gate/usr/src/cmd/power/
H A Dsys-suspend.c229 if (chkauthattr(AUTHNAME_SHUTDOWN, user) != 1) { in pm_poweroff()
279 if (chkauthattr(AUTHNAME_SUSPEND, user) != 1) { in pm_suspend()
679 (chkauthattr(AUTHNAME_SHUTDOWN, pw->pw_name) != 1)) { in main()
685 (chkauthattr(AUTHNAME_SUSPEND, pw->pw_name) != 1)) { in main()
/illumos-gate/usr/src/man/man3secdb/
H A DMakefile27 MANLINKS= chkauthattr.3secdb \
51 chkauthattr.3secdb := LINKSRC = getauthattr.3secdb
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_support.c118 if (chkauthattr(NET_ILB_CONFIG_AUTH, pwd->pw_name) == 0) { in ilbd_check_client_config_auth()
130 if (chkauthattr(NET_ILB_ENABLE_AUTH, pwd->pw_name) == 0) { in ilbd_check_client_enable_auth()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmailq.c46 if (pw && chkauthattr(MAILQ_AUTH, pw->pw_name)) { in main()
/illumos-gate/usr/src/lib/libsecdb/
H A DMakefile.com29 getuserattr.o chkauthattr.o
/illumos-gate/usr/src/head/
H A Dauth_attr.h97 extern int chkauthattr(const char *, const char *);
/illumos-gate/usr/src/cmd/acctadm/
H A Daconf.c377 sizeof (auth)) == -1 || chkauthattr(auth, pw->pw_name) == 0) in aconf_have_smf_auths()
381 sizeof (auth)) == -1 || chkauthattr(auth, pw->pw_name) == 0) in aconf_have_smf_auths()
385 sizeof (auth)) == -1 || chkauthattr(auth, pw->pw_name) == 0) in aconf_have_smf_auths()
/illumos-gate/usr/src/cmd/lp/lib/access/
H A Dallowed.c215 return (chkauthattr(PRINT_ADMIN_AUTH, name)); in tsol_check_admin_auth()
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dfuncs.c254 if (!chkauthattr(authname, pw->pw_name)) in check_auth()
285 if (chkauthattr(authtoks, pw->pw_name)) in check_auth()
/illumos-gate/usr/src/lib/policykit/libpolkit/common/
H A Dlibpolkit-rbac.c175 *out_is_allowed = (chkauthattr(authname, pw->pw_name) != 0); in libpolkit_is_uid_allowed_for_privilege()
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dvalidate.c1041 res = chkauthattr(auth, in_name); in tsol_lpauth()
1045 res = chkauthattr(auth, cp+1); in tsol_lpauth()
1048 res = chkauthattr(auth, in_name); in tsol_lpauth()
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dmapfile-vers43 chkauthattr;
H A Dchkauthattr.c383 chkauthattr(const char *authname, const char *username) in chkauthattr() function
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_stats.c128 (chkauthattr(VS_VALUE_AUTH, pw->pw_name) != 1)) { in vs_stats_check_auth()
/illumos-gate/usr/src/cmd/cdrw/
H A Dutil.c268 if (chkauthattr(CDRW_AUTH, pw->pw_name) != 1) { in check_auth()
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-library.man3secdb.inc17 link path=usr/share/man/man3secdb/chkauthattr.3secdb target=getauthattr.3secdb
/illumos-gate/usr/src/cmd/print/lpset/
H A Dlpset.c69 if (chkauthattr("solaris.print.admin", pw->pw_name) == 1) in authorized()
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dmlisten.c341 md->admin = chkauthattr("solaris.print.admin", in mlisten()
/illumos-gate/usr/src/cmd/srptadm/
H A Dsrptadm.c62 if (!chkauthattr(sec, srptadm_uname)) {\
/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c124 if (chkauthattr(DEVICE_CONFIG_AUTH, pwd.pw_name) != 1) { in main()
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_door.c276 (chkauthattr(auth, pwd.pw_name) == 0)) { in check_auth()

12