Home
last modified time | relevance | path

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

/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);
Dsulogin.c116 || (shell = pwd->pw_shell)) in sulogin_main()
Dcrontab.c290 char *prog = pwd->pw_shell; in do_edit()
/external/toybox/toys/other/
Dlogin.c151 setenv("SHELL", pwd->pw_shell, 1); in login_main()
163 execl(pwd->pw_shell, xmprintf("-%s", pwd->pw_shell), (char *)0); in login_main()
164 perror_exit("exec shell '%s'", pwd->pw_shell); in login_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/lsb/
Dsu.c69 *(argv++) = TT.s ? TT.s : up->pw_shell; in su_main()
84 setenv("SHELL", up->pw_shell, 1); in su_main()
/external/python/cpython2/Lib/test/
Dtest_pwd.py26 self.assertEqual(e[6], e.pw_shell)
27 self.assertIsInstance(e.pw_shell, basestring)
/external/e2fsprogs/include/mingw/
Dpwd.h16 char *pw_shell; member
/external/e2fsprogs/include/nonunix/
Dpwd.h18 char *pw_shell; member
/external/curl/lib/
Dsetup-vms.h180 vms_passwd_cache.pw_shell = my_passwd->pw_shell; in vms_getpwuid()
/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()
809 fake.pw_shell = "/nonexist"; in fakepw()
Dmisc.c227 copy->pw_shell = xstrdup(pw->pw_shell); in pwcopy()
Dsession.c669 char *shell = s->pw->pw_shell; in do_exec()
1542 shell = (pw->pw_shell[0] == '\0') ? _PATH_BSHELL : pw->pw_shell; in do_child()
Dmonitor_wrap.c276 pw->pw_shell = buffer_get_string(&m, NULL); in mm_getpwnamallow()
Dmonitor.c742 buffer_put_cstring(m, pwent->pw_shell); in mm_answer_pwnamallow()
/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/cpython2/Doc/library/
Dpwd.rst32 | 6 | ``pw_shell`` | User command interpreter |
/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h344 char *pw_shell; member
Dsanitizer_platform_limits_posix.cc1208 CHECK_SIZE_AND_OFFSET(passwd, pw_shell);
Dsanitizer_common_interceptors.inc1460 if (pwd->pw_shell)
1461 COMMON_INTERCEPTOR_INITIALIZE_RANGE(pwd->pw_shell,
1462 REAL(strlen)(pwd->pw_shell) + 1);
/external/selinux/libsemanage/src/
Dgenhomedircon.c375 if (!semanage_list_find(shells, pwbuf->pw_shell)) in get_home_dirs()