Home
last modified time | relevance | path

Searched refs:pw_shell (Results 1 – 25 of 53) sorted by relevance

123

/external/toybox/toys/pending/
Duseradd.c75 if (pw && pw->pw_shell && *pw->pw_shell) TT.shell = xstrdup(pw->pw_shell);
79 pwd.pw_shell = TT.shell;
121 pwd.pw_shell);
Dchsh.c62 " Login shell [%s]: ", user, passwd_info->pw_shell);
73 passwd_info->pw_shell = line;
Dsulogin.c116 || (shell = pwd->pw_shell)) in sulogin_main()
/external/selinux/policycoreutils/newrole/
Dnewrole.c431 if (!(pw && pw->pw_name && pw->pw_name[0] && pw->pw_shell in extract_pw_data()
432 && pw->pw_shell[0] && pw->pw_dir && pw->pw_dir[0])) { in extract_pw_data()
442 pw->pw_shell = strdup(pw->pw_shell); in extract_pw_data()
444 if (!(pw->pw_name && pw->pw_dir && pw->pw_shell)) { in extract_pw_data()
449 if (verify_shell(pw->pw_shell) == 0) { in extract_pw_data()
458 free(pw->pw_shell); in extract_pw_data()
461 pw->pw_shell = NULL; in extract_pw_data()
522 rc |= setenv("SHELL", pw->pw_shell, 1); in restore_environment()
1240 free(pw.pw_shell); in main()
1283 if (asprintf(&shell_argv0, "-%s", pw.pw_shell) < 0) { in main()
[all …]
/external/toybox/toys/other/
Dlogin.c131 execl(pwd->pw_shell, xmprintf("-%s", pwd->pw_shell), (char *)0); in login_main()
132 perror_exit("exec shell '%s'", pwd->pw_shell); in login_main()
/external/llvm-project/lldb/source/Host/posix/
DHostInfoPosix.cpp67 return PasswdEntry{user_info_ptr->pw_name, user_info_ptr->pw_shell}; in GetPassword()
76 return PasswdEntry{user_info_ptr->pw_name, user_info_ptr->pw_shell}; in GetPassword()
/external/python/cpython2/Lib/test/
Dtest_pwd.py26 self.assertEqual(e[6], e.pw_shell)
27 self.assertIsInstance(e.pw_shell, basestring)
/external/python/cpython3/Lib/test/
Dtest_pwd.py27 self.assertEqual(e[6], e.pw_shell)
28 self.assertIsInstance(e.pw_shell, str)
/external/e2fsprogs/include/mingw/
Dpwd.h16 char *pw_shell; member
/external/e2fsprogs/include/nonunix/
Dpwd.h18 char *pw_shell; member
/external/toybox/toys/lsb/
Dsu.c79 *(argv++) = TT.s ? TT.s : up->pw_shell;
/external/curl/lib/
Dsetup-vms.h180 vms_passwd_cache.pw_shell = my_passwd->pw_shell; in vms_getpwuid()
/external/toybox/lib/
Denv.c142 setenv("SHELL", p->pw_shell, 1); in reset_env()
/external/python/cpython2/Lib/plat-os2emx/
Dpwd.py133 self.pw_shell)
/external/python/cpython2/Modules/
Dpwdmodule.c84 SETS(setIndex++, p->pw_shell); in mkpwent()
/external/python/cpython3/Doc/library/
Dpwd.rst32 | 6 | ``pw_shell`` | User command interpreter |
/external/python/cpython2/Doc/library/
Dpwd.rst32 | 6 | ``pw_shell`` | User command interpreter |
/external/rust/crates/libc/src/unix/linux_like/android/b32/
Dmod.rs128 pub pw_shell: *mut ::c_char,
/external/linux-kselftest/tools/testing/selftests/safesetid/
Dsafesetid-test.c114 p.pw_shell="/bin/false"; in ensure_user_exists()
/external/openssh/
Dauth.c168 char *shell = xstrdup((pw->pw_shell[0] == '\0') ? in allowed_user()
169 _PATH_BSHELL : pw->pw_shell); /* empty = /bin/sh */ in allowed_user()
730 fake.pw_shell = "/nonexist"; in fakepw()
/external/python/cpython3/Modules/
Dpwdmodule.c106 SETS(setIndex++, p->pw_shell); in mkpwent()
/external/selinux/sandbox/
Dseunshare.c662 if (verify_shell(pwd->pw_shell) < 0) { in main()
820 rc |= setenv("SHELL", pwd->pw_shell, 1); in main()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_solaris.h151 char *pw_shell; member
Dsanitizer_platform_limits_solaris.cpp344 CHECK_SIZE_AND_OFFSET(passwd, pw_shell);
/external/rust/crates/libc/src/unix/linux_like/android/b64/
Dmod.rs44 pub pw_shell: *mut ::c_char,

123