Home
last modified time | relevance | path

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

/freebsd/crypto/heimdal/appl/ftp/ftp/
H A Dcmds.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()
/freebsd/usr.sbin/pw/tests/
H A Dpw-modified.conf33 shellpath = "/bin"
H A Dpw.conf33 shellpath = "/bin"
/freebsd/usr.sbin/pw/
H A Dpw_user.c442 static char shellpath[256]; in shell_path() local
445 snprintf(shellpath, sizeof(shellpath), "%s/%s", p, sh); in shell_path()
446 if (access(shellpath, X_OK) == 0) in shell_path()
447 return shellpath; in shell_path()
450 snprintf(shellpath, sizeof(shellpath), "%s/%s", p, shells[i]); in shell_path()
451 if (access(shellpath, X_OK) == 0) in shell_path()
452 return shellpath; in shell_path()