Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_spwd.py5 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/
Dtest_spwd.py5 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/
Dsession.c185 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/
Dsulogin.c80 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/
Dlogin.c80 struct spwd *spwd = getspnam (username); in login_main() local
82 if (spwd) pass = spwd->sp_pwdp; in login_main()
/external/python/cpython2/Modules/
Dspwdmodule.c70 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/
Dspwd.rst2 :mod:`spwd` --- The shadow password database
5 .. module:: spwd
19 attributes correspond to the members of the ``spwd`` structure (Attribute field
Dpwd.rst48 system-dependent. If available, the :mod:`spwd` module should be used where
74 Module :mod:`spwd`
Dunix.rst17 spwd.rst
Dgrp.rst63 Module :mod:`spwd`
/external/python/cpython3/Doc/library/
Dspwd.rst1 :mod:`spwd` --- The shadow password database
4 .. module:: spwd
17 attributes correspond to the members of the ``spwd`` structure (Attribute field
Dpwd.rst48 system-dependent. If available, the :mod:`spwd` module should be used where
74 Module :mod:`spwd`
Dunix.rst16 spwd.rst
Dgrp.rst66 Module :mod:`spwd`
/external/python/cpython3/Modules/
Dspwdmodule.c78 static PyObject *mkspent(struct spwd *p) in mkspent()
132 struct spwd *p; in spwd_getspnam_impl()
170 struct spwd *p; in spwd_getspall_impl()
DSetup.dist196 #spwd spwdmodule.c # spwd(3)
/external/openssh/
Dauth-shadow.c56 auth_shadow_acctexpired(struct spwd *spw) in auth_shadow_acctexpired()
90 struct spwd *spw = NULL; in auth_shadow_pwexpired()
Dauth.h140 int auth_shadow_acctexpired(struct spwd *);
/external/toybox/toys/lsb/
Dsu.c49 struct spwd *shp;
Dpasswd.c59 struct spwd *sp; in passwd_main()
/external/openssh/openbsd-compat/
Dxcrypt.c140 struct spwd *spw = getspnam(pw->pw_name); in shadow_pw()
/external/toybox/scripts/
Dgenconfig.sh76 struct spwd *a = getspnam("root"); return 0;
/external/selinux/policycoreutils/run_init/
Drun_init.c185 struct spwd *p_shadow_line; /* struct derived from shadow passwd file line */ in authenticate_via_shadow_passwd()
/external/python/cpython2/Misc/
Dmaintainers.rst205 spwd
/external/python/cpython2/Misc/NEWS.d/
D2.7.8.rst385 Added tests for the spwd module. Original patch by Vajrasky Kok.

12