Searched refs:spwd (Results 1 – 25 of 39) sorted by relevance
12
/external/python/cpython3/Lib/test/ |
D | test_spwd.py | 5 spwd = support.import_module('spwd') variable 13 entries = spwd.getspall() 16 self.assertIsInstance(entry, spwd.struct_spwd) 19 entries = spwd.getspall() 23 entry = spwd.getspnam(random_name) 24 self.assertIsInstance(entry, spwd.struct_spwd) 46 spwd.getspnam('invalid user name') 48 self.assertRaises(TypeError, spwd.getspnam) 49 self.assertRaises(TypeError, spwd.getspnam, 0) 50 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_spwd.py | 5 spwd = test_support.import_module('spwd') variable 13 entries = spwd.getspall() 16 self.assertIsInstance(entry, spwd.struct_spwd) 19 entries = spwd.getspall() 23 entry = spwd.getspnam(random_name) 24 self.assertIsInstance(entry, spwd.struct_spwd) 44 spwd.getspnam('invalid user name') 46 self.assertRaises(TypeError, spwd.getspnam) 47 self.assertRaises(TypeError, spwd.getspnam, 0) 48 self.assertRaises(TypeError, spwd.getspnam, random_name, 0) [all …]
|
/external/ppp/pppd/ |
D | session.c | 185 struct spwd *spwd; 186 struct spwd *getspnam(); 324 spwd = getspnam(user); 331 if (spwd == NULL) 342 if ((spwd->sp_expire > 0 && now >= spwd->sp_expire) 343 || ((spwd->sp_max >= 0 && spwd->sp_max < 10000) 344 && spwd->sp_lstchg >= 0 345 && now >= spwd->sp_lstchg + spwd->sp_max)) { 351 pw->pw_passwd = spwd->sp_pwdp;
|
/external/toybox/toys/pending/ |
D | sulogin.c | 80 struct spwd * spwd = NULL; in sulogin_main() local 104 if ((spwd = getspnam (pwd->pw_name))) pass = spwd->sp_pwdp; in sulogin_main()
|
/external/toybox/toys/other/ |
D | login.c | 80 struct spwd *spwd = getspnam (username); in login_main() local 82 if (spwd) pass = spwd->sp_pwdp; in login_main()
|
/external/python/cpython2/Modules/ |
D | spwdmodule.c | 70 static PyObject *mkspent(struct spwd *p) in mkspent() 115 struct spwd *p; in spwd_getspnam() 139 struct spwd *p; in spwd_getspall()
|
/external/python/cpython2/Doc/library/ |
D | spwd.rst | 2 :mod:`spwd` --- The shadow password database 5 .. module:: spwd 19 attributes correspond to the members of the ``spwd`` structure (Attribute field
|
D | pwd.rst | 48 system-dependent. If available, the :mod:`spwd` module should be used where 74 Module :mod:`spwd`
|
D | unix.rst | 17 spwd.rst
|
D | grp.rst | 63 Module :mod:`spwd`
|
/external/python/cpython3/Doc/library/ |
D | spwd.rst | 1 :mod:`spwd` --- The shadow password database 4 .. module:: spwd 17 attributes correspond to the members of the ``spwd`` structure (Attribute field
|
D | pwd.rst | 48 system-dependent. If available, the :mod:`spwd` module should be used where 74 Module :mod:`spwd`
|
D | unix.rst | 16 spwd.rst
|
D | grp.rst | 66 Module :mod:`spwd`
|
/external/python/cpython3/Modules/ |
D | spwdmodule.c | 78 static PyObject *mkspent(struct spwd *p) in mkspent() 132 struct spwd *p; in spwd_getspnam_impl() 170 struct spwd *p; in spwd_getspall_impl()
|
D | Setup.dist | 196 #spwd spwdmodule.c # spwd(3)
|
/external/openssh/ |
D | auth-shadow.c | 56 auth_shadow_acctexpired(struct spwd *spw) in auth_shadow_acctexpired() 90 struct spwd *spw = NULL; in auth_shadow_pwexpired()
|
D | auth.h | 140 int auth_shadow_acctexpired(struct spwd *);
|
/external/toybox/toys/lsb/ |
D | su.c | 49 struct spwd *shp;
|
D | passwd.c | 59 struct spwd *sp; in passwd_main()
|
/external/openssh/openbsd-compat/ |
D | xcrypt.c | 140 struct spwd *spw = getspnam(pw->pw_name); in shadow_pw()
|
/external/toybox/scripts/ |
D | genconfig.sh | 76 struct spwd *a = getspnam("root"); return 0;
|
/external/selinux/policycoreutils/run_init/ |
D | run_init.c | 185 struct spwd *p_shadow_line; /* struct derived from shadow passwd file line */ in authenticate_via_shadow_passwd()
|
/external/python/cpython2/Misc/ |
D | maintainers.rst | 205 spwd
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.8.rst | 385 Added tests for the spwd module. Original patch by Vajrasky Kok.
|
12