Home
last modified time | relevance | path

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

/trueos/crypto/heimdal/appl/ftp/ftp/
HDcmds.c1240 char shellnam[40], *shellpath, *namep; in shell() local
1250 shellpath = getenv("SHELL"); in shell()
1251 if (shellpath == NULL) in shell()
1252 shellpath = _PATH_BSHELL; in shell()
1253 namep = strrchr(shellpath, '/'); in shell()
1255 namep = shellpath; in shell()
1261 printf ("%s\n", shellpath); in shell()
1265 execl(shellpath,shellnam,"-c",altarg,(char *)0); in shell()
1268 execl(shellpath,shellnam,(char *)0); in shell()
1270 warn("%s", shellpath); in shell()
/trueos/usr.sbin/pw/
HDpw_user.c1053 static char shellpath[256]; in shell_path() local
1056 sprintf(shellpath, "%s/%s", p, sh); in shell_path()
1057 if (access(shellpath, X_OK) == 0) in shell_path()
1058 return shellpath; in shell_path()
1061 sprintf(shellpath, "%s/%s", p, shells[i]); in shell_path()
1062 if (access(shellpath, X_OK) == 0) in shell_path()
1063 return shellpath; in shell_path()
/trueos/sbin/launchd/
HDcore.c5020 char shellpath[PATH_MAX]; in job_postfork_test_user() local
5047 strlcpy(shellpath, pwe->pw_shell, sizeof(shellpath)); in job_postfork_test_user()
5085 char shellpath[PATH_MAX]; in job_postfork_become_user() local
5130 strlcpy(shellpath, pwe->pw_shell, sizeof(shellpath)); in job_postfork_become_user()
5201 setenv("SHELL", shellpath, 0); in job_postfork_become_user()