Home
last modified time | relevance | path

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

/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-support/accountsservice/accountsservice/
H A D0002-musl-add-missing-fgetspent_r.patch25 +static int fgetspent_r(FILE *fp, struct spwd *spbuf, char *buf, size_t buflen, struct spwd **spbuf…
26 + struct spwd *shadow_entry = fgetspent(fp);
35 + *spbufp = memcpy(spbuf, shadow_entry, sizeof(struct spwd));
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp887 struct spwd spwd in userPasswordExpired() struct
889 struct spwd* spwdPtr = nullptr; in userPasswordExpired()
898 getspnam_r(userName.c_str(), &spwd, buffer.data(), buflen, &spwdPtr); in userPasswordExpired()
902 if ((status == 0) && (&spwd == spwdPtr)) in userPasswordExpired()
909 if ((spwd.sp_lstchg == 0) || in userPasswordExpired()
910 ((spwd.sp_max != -1) && ((spwd.sp_max + spwd.sp_lstchg) < today))) in userPasswordExpired()
996 struct spwd spwd; in isUserEnabled() local
997 struct spwd* resultPtr = nullptr; in isUserEnabled()
998 int status = getspnam_r(userName.c_str(), &spwd, buffer.data(), in isUserEnabled()
1000 if (!status && (&spwd == resultPtr)) in isUserEnabled()
/openbmc/phosphor-rest-server/module/obmc/wsgi/apps/
H A Drest_dbus.py28 import spwd
684 encoded = spwd.getspnam(username)[1]