Home
last modified time | relevance | path

Searched refs:getpwnam (Results 1 – 25 of 153) sorted by relevance

1234567

/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstruid.c31 __STDPP__directive pragma pp:hide getpwnam getpwuid
33 #define getpwnam ______getpwnam
42 __STDPP__directive pragma pp:nohide getpwnam getpwuid
44 #undef getpwnam
48 extern struct passwd* getpwnam(const char*);
82 if (pw = getpwnam(name)) in struid()
93 else if (streq(name, "root") && (pw = getpwnam("Administrator"))) in struid()
H A Dstrgid.c31 __STDPP__directive pragma pp:hide getgrgid getgrnam getpwnam
35 #define getpwnam ______getpwnam
44 __STDPP__directive pragma pp:nohide getgrgid getgrnam getpwnam
48 #undef getpwnam
53 extern struct passwd* getpwnam(const char*);
90 else if (pw = getpwnam(name)) in strgid()
105 else if (pw = getpwnam("Administrator")) in strgid()
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_cr_6807179_shellpattern_uses_getpwnam.sh69 [[ "$( < "${tmpfile}")" != *getpwnam* ]] || err_exit "truss log reports the use of getpwnam() for p…
75 [[ "$( < "${tmpfile}")" != *getpwnam* ]] || err_exit "truss log reports the use of getpwnam() for p…
83 [[ "$( < "${tmpfile}" )" == *getpwnam* ]] || err_exit "truss log reports the use of getpwnam() for …
/illumos-gate/usr/src/cmd/bnu/
H A Dgetpwinfo.c31 extern struct passwd *getpwuid(), *getpwnam();
55 pwd = getpwnam(login_name);
88 if ((pwd = getpwnam(name)) == NULL) {
/illumos-gate/usr/src/cmd/mailx/
H A Dgetname.c44 extern struct passwd *getpwnam();
87 pw = getpwnam(name); in getuserid()
H A Dtemp.c46 extern struct passwd *getpwnam();
/illumos-gate/usr/src/cmd/acct/lib/
H A Dnamtouid.c53 struct passwd *getpwnam(), *pp;
60 if ((pp = getpwnam(ntmp)) == NULL)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetpwnam.c30 #pragma weak _getpwnam = getpwnam
77 getpwnam(const char *nam) in getpwnam() function
/illumos-gate/usr/src/cmd/groups/
H A Dgroups.c52 extern struct passwd *getpwnam();
86 if ((pw = getpwnam(*argv)) == NULL) { in main()
/illumos-gate/usr/src/lib/passwdutil/
H A D__set_authtoken_attr.c85 if (rops[i]->getpwnam) { in __set_authtoken_attr()
86 err = rops[i]->getpwnam(name, items, rep, &buf); in __set_authtoken_attr()
H A D__failed_count.c53 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) { in __incr_failed_count()
112 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) in __rst_failed_count()
/illumos-gate/usr/src/ucbcmd/chown/
H A Dchown.c55 struct passwd *getpwnam();
122 if ((pwd = getpwnam(argv[0])) == NULL) in main()
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_rshd.c114 pwd = getpwnam(locuser); in generate_record()
207 pwd = getpwnam(locuser); in setup_session()
/illumos-gate/usr/src/cmd/mail/
H A Dislocal.c52 if ((pwd_ptr = getpwnam(user)) == NULL) { in islocal()
/illumos-gate/usr/src/lib/nsswitch/ad/
H A DMakefile.com30 OBJECTS = getpwnam.o getspent.o getgrent.o ad_common.o
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dfiles.c239 if (!(ppw = getpwnam(LPUSER))) in chown_lppath()
240 ppw = getpwnam(ROOTUSER); in chown_lppath()
H A Dgetname.c75 || !(p = getpwnam(l)) in getname()
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dreqexec.c341 if ((pwp = getpwnam(CHK_USER)) != (struct passwd *)NULL) { in do_exec()
344 } else if ((pwp = getpwnam(alt_user)) != (struct passwd *)NULL) { in do_exec()
/illumos-gate/usr/src/cmd/getent/
H A Ddogetpw.c64 pwp = getpwnam(*list); in dogetpw()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dpname_to_uid.c84 if (pw = getpwnam(lname))
/illumos-gate/usr/src/test/zfs-tests/cmd/chg_usr_exec/
H A Dchg_usr_exec.c58 if ((ppw = getpwnam(plogin)) == NULL) { in main()
/illumos-gate/usr/src/cmd/renice/
H A Drenice.c193 if ((pwd = getpwnam(*argv)) != NULL) { in main()
293 struct passwd *pwd = getpwnam(*argv); in parse_obsolete_options()
/illumos-gate/usr/src/lib/nsswitch/ldap/
H A DMakefile.com44 getpwnam.o \
/illumos-gate/usr/src/cmd/ptools/pcred/
H A Dpcred.c300 pwd = getpwnam(login); in initcred()
316 pwd = getpwnam(user); in initcred()
/illumos-gate/usr/src/lib/nsswitch/nis/
H A DMakefile.com43 getpwnam.o \

1234567