Searched refs:shell (Results 51 - 75 of 153) sorted by relevance

1234567

/freebsd-11-stable/crypto/openssh/
H A Dsession.c645 snprintf(session_type, sizeof(session_type), "shell");
670 char *shell = s->pw->pw_shell; local
672 if (shell[0] == '\0') /* empty shell means /bin/sh */
673 shell =_PATH_BSHELL;
674 PRIVSEP(audit_run_command(shell));
980 do_setup_env(Session *s, const char *shell) argument
1077 child_set_env(&env, &envsize, "SHELL", shell);
1192 do_rc_files(Session *s, const char *shell) argument
1207 shell, _PATH_BSHEL
1502 const char *shell, *shell0; local
[all...]
H A Dauth.c98 * If the user's shell is not executable, false will be returned.
165 * Deny if shell does not exist or is not executable unless we
170 char *shell = xstrdup((pw->pw_shell[0] == '\0') ? local
173 if (stat(shell, &st) != 0) {
174 logit("User %.100s not allowed because shell %.100s "
175 "does not exist", pw->pw_name, shell);
176 free(shell);
181 logit("User %.100s not allowed because shell %.100s "
182 "is not executable", pw->pw_name, shell);
183 free(shell);
[all...]
/freebsd-11-stable/contrib/dialog/package/
H A Ddialog.spec1 Summary: dialog - display dialog boxes from shell scripts
18 or display messages using dialog boxes from a shell script. These
/freebsd-11-stable/release/picobsd/tinyware/msh/
H A Dsh5.c13 * shell IO
446 err("too many files open in shell");
/freebsd-11-stable/sbin/init/
H A Dinit.c862 const char *shell; local
888 shell = get_shell();
928 #define SHREQUEST "Enter full pathname of shell or RETURN for "
930 write_stderr(shell);
937 shell = altshell;
950 * Fire off a shell.
951 * If the default one doesn't work, try the Bourne shell.
958 execv(shell, argv);
959 emergency("can't exec %s for single user: %m", shell);
970 emergency("can't fork single-user shell, tryin
1040 const char *shell, *script; local
1105 const char *shell; local
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Platform/NetBSD/
H A DPlatformNetBSD.cpp198 // If we're not launching a shell, we're done.
199 const FileSpec &shell = launch_info.GetShell(); local
200 if (!shell)
203 std::string shell_string = shell.GetPath();
204 // We're in a shell, so for sure we have to resume past the shell exec.
207 // Figure out what shell we're planning on using.
/freebsd-11-stable/usr.sbin/cron/cron/
H A Ddo_command.c237 * the actual user command shell was going to get and the
334 char *shell = env_get("SHELL", e->envp); local
341 "\tcmd='%s' shell='%s'\n", e->cmd, shell);
345 execle(shell, shell, "-c", e->cmd, (char *)NULL,
347 warn("execle: couldn't exec `%s'", shell);
/freebsd-11-stable/usr.bin/limits/
H A Dlimits.c66 const char * name; /* Name of shell */
679 getshellbyname(const char * shell) argument
683 const char * p = strrchr(shell, '/');
685 p = p ? p+1 : shell;
703 * Determine the type of shell our parent process is
719 char * shell = getenv("SHELL"); local
727 if (shell != NULL && stat(shell, &st) != -1) {
733 /* $SHELL is actual shell? */
735 return getshellbyname(shell);
[all...]
/freebsd-11-stable/contrib/sqlite3/
H A DMakefile.in149 am_sqlite3_OBJECTS = sqlite3-shell.$(OBJEXT)
367 sqlite3_SOURCES = shell.c sqlite3.h
514 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sqlite3-shell.Po@am__quote@
539 sqlite3-shell.o: shell.c
540 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sqlite3_CFLAGS) $(CFLAGS) -MT sqlite3-shell.o -MD -MP -MF $(DEPDIR)/sqlite3-shell.Tpo -c -o sqlite3-shell.o `test -f 'shell.c' || echo '$(srcdir)/'`shell
[all...]
/freebsd-11-stable/contrib/dtc/
H A DMakefile33 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
69 CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
82 localver_scm = $(shell $(CONFIG_SHELL) ./scripts/setlocalversion)
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DProcessLaunchInfo.h77 void SetShell(const FileSpec &shell);
/freebsd-11-stable/contrib/libstdc++/libsupc++/
H A DMakefile.am142 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A DMakefile.am13 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
/freebsd-11-stable/contrib/bmake/unit-tests/
H A Descape.mk208 # both the backslash and the newline should be passed to the shell.
209 # The shell should elide the backslash-newline.
222 # When make passes two backslashes to the shell, the shell will pass one
H A Dmodts.mk14 # there is no need to use a shell, so avoid where possible.
/freebsd-11-stable/contrib/dma/
H A DMakefile13 version= $(shell ${SH} get-version.sh)
14 debversion= $(shell ${SH} get-version.sh | sed -Ee 's/^v//;s/[.]([[:digit:]]+)[.](g[[:xdigit:]]+)$$/+\1+\2/')
/freebsd-11-stable/share/mk/
H A Dlocal.sys.env.mk31 # convert a path to a valid shell variable
/freebsd-11-stable/release/picobsd/tinyware/login/
H A Dpico-login.c163 const char *shell = NULL; local
496 shell = login_getcapstr(lc, "shell", pwd->pw_shell, pwd->pw_shell);
499 if (*shell == '\0') /* Not overridden */
500 shell = pwd->pw_shell;
501 if ((shell = strdup(shell)) == NULL) {
720 syslog(LOG_ERR, "user: %s: shell exceeds maximum pathname size",
722 errx(1, "shell exceeds maximum pathname size");
725 execlp(shell, tbu
[all...]
/freebsd-11-stable/contrib/tnftp/src/
H A Dextern.h233 void shell(int, char **);
/freebsd-11-stable/targets/pseudo/tests/
H A DMakefile.depend266 usr.bin/bmake/tests/shell \
267 usr.bin/bmake/tests/shell/builtin \
268 usr.bin/bmake/tests/shell/meta \
269 usr.bin/bmake/tests/shell/path \
270 usr.bin/bmake/tests/shell/path_select \
271 usr.bin/bmake/tests/shell/replace \
272 usr.bin/bmake/tests/shell/select \
/freebsd-11-stable/contrib/libreadline/
H A DMakefile.in111 $(srcdir)/shell.c $(srcdir)/savestring.c $(srcdir)/tilde.c \
121 HISTOBJ = history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o
374 shell.o: ${BUILD_DIR}/config.h
375 shell.o: ansi_stdlib.h
406 shell.o: rlshell.h
449 shell.o: xmalloc.h
489 shell.o: $(srcdir)/shell.c
523 shell.o: shell
[all...]
/freebsd-11-stable/release/picobsd/tinyware/oinit/
H A Doinit.c111 void do_command(int shell, char *cmdline);
118 {"exit","Exit from shell()","exit","exit",xit},
352 * Signal handler for shell()
414 do_command(int shell, char *cmdline) argument
454 if(shell) {
500 * It works as normal shell does - for each external command it forks
505 shell(int argc, char **argv) function
524 printf("| Built-in shell() (enter '?' for short help on commands) |\n");
599 * normal /etc/rc interpreted by Bourne shell.
689 /* Fork shell interfac
[all...]
/freebsd-11-stable/contrib/less/
H A Dfilename.c98 * Get the shell's escape character.
112 * Get the characters which the shell considers to be "metacharacters".
129 * Is this a shell metacharacter?
167 * We've got a metachar, but this shell
568 * Execute a shell command.
569 * Return a pointer to a pipe connected to the shell command's standard output.
578 char *shell; local
580 shell = lgetenv("SHELL");
581 if (!isnullenv(shell))
596 int len = (int) (strlen(shell)
[all...]
/freebsd-11-stable/contrib/libreadline/shlib/
H A DMakefile.in133 $(topdir)/shell.c $(topdir)/savestring.c $(topdir)/tilde.c \
142 SHARED_HISTOBJ = history.so histexpand.so histfile.so histsearch.so shell.so \
324 shell.so: $(topdir)/rlshell.h
367 shell.so: $(topdir)/xmalloc.h
407 shell.so: $(topdir)/shell.c
442 shell.so: shell.c
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/
H A Dcmdtab.c94 char shellhelp[] = "escape to the shell";
117 { "!", shellhelp, 0, 0, 0, shell },

Completed in 198 milliseconds

1234567