Home
last modified time | relevance | path

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

/titanic_44/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->sp_pwdp[0] == '\0') {
164 if (((shpwd->sp_max == -1) ||
[all …]
/titanic_44/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_44/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()