Home
last modified time | relevance | path

Searched refs:shpwd (Results 1 – 4 of 4) sorted by relevance

/titanic_51/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c89 struct spwd *shpwd) in check_for_login_inactivity() argument
115 if ((shpwd->sp_inact > 0) && (retval == sizeof (ll)) && in check_for_login_inactivity()
124 if (((time_t)((ll.ll_time / DAY) + shpwd->sp_inact) in check_for_login_inactivity()
126 (shpwd->sp_lstchg != 0) && in check_for_login_inactivity()
127 (shpwd->sp_lstchg != -1) && in check_for_login_inactivity()
128 ((shpwd->sp_lstchg + shpwd->sp_inact) < DAY_NOW)) { in check_for_login_inactivity()
149 new_password_check(shpwd, flags) in new_password_check() argument
150 struct spwd *shpwd; in new_password_check()
163 if (shpwd
183 perform_passwd_aging_check(pam_handle_t * pamh,struct spwd * shpwd,int flags) perform_passwd_aging_check() argument
244 warn_user_passwd_will_expire(pam_handle_t * pamh,struct spwd shpwd) warn_user_passwd_will_expire() argument
297 struct spwd shpwd = {NULL, NULL, pam_sm_acct_mgmt() local
[all...]
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dsubshell.c77 const char *shpwd; /* saved pointer to sh.pwd */ member
258 if(!sp->shpwd || (nv_isnull(np) && !add) || np==SH_LEVELNOD) in sh_assignok()
326 const char *save = sp->shpwd; in nv_restore()
328 sp->shpwd = 0; /* make sure sh_assignok doesn't save with nv_unset() */ in nv_restore()
376 sp->shpwd=save; in nv_restore()
519 sp->shpwd = shp->pwd; in sh_subshell()
660 if(sp->shpwd) /* restore environment if saved */ in sh_subshell()
701 else if(sp->shpwd != shp->pwd) in sh_subshell()
704 if(PWDNOD->nvalue.cp==sp->shpwd) in sh_subshell()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c85 const char *shpwd; /* saved pointer to sh.pwd */ member
257 if(!sp || !sp->shpwd || np==SH_LEVELNOD || np==L_ARGNOD || np==SH_SUBSCRNOD || np==SH_NAMENOD) in sh_assignok()
321 const char *save = sp->shpwd; in nv_restore()
324 sp->shpwd = 0; /* make sure sh_assignok doesn't save with nv_unset() */ in nv_restore()
381 sp->shpwd=save; in nv_restore()
543 sp->shpwd = shp->pwd; in sh_subshell()
714 if(sp->shpwd) /* restore environment if saved */ in sh_subshell()
762 else if(sp->shpwd != shp->pwd) in sh_subshell()
765 if(PWDNOD->nvalue.cp==sp->shpwd) in sh_subshell()
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rshd.c439 struct spwd *shpwd; in doit() local
726 shpwd = getspnam(locuser); in doit()
727 if ((pwd == NULL) || (shpwd == NULL)) { in doit()
761 if (shpwd->sp_pwdp != 0) { in doit()
762 if (*shpwd->sp_pwdp != '\0') { in doit()