From 862f6820bb48d6fa37dd2d808e57366cbe5d84b9 Mon Sep 17 00:00:00 2001 From: rusty-snake <41237666+rusty-snake@users.noreply.github.com> Date: Tue, 29 Dec 2020 15:26:19 +0100 Subject: manpage: /bin/bash -> user's perferred shell We do not start /bin/bash in the sandbox, we use $SHELL (which is usually /bin/bash). See #3434 and #3844. This commit updates the manpage accordingly until #3434 is resolved with a final solution like using /bin/bash or /bin/sh as hardcoded default. Close #3844. The descriptions of --join* are not updated as there is currenly some work, see #2934 and #3850. --- src/man/firejail.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/man') diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 562b3eda3..347e2b31b 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -76,10 +76,10 @@ If an appropriate profile is not found, Firejail will use a default profile. The default profile is quite restrictive. In case the application doesn't work, use --noprofile option to disable it. For more information, please see \fBSECURITY PROFILES\fR section below. .PP -If a program argument is not specified, Firejail starts /bin/bash shell. +If a program argument is not specified, Firejail starts the user's preferred shell. Examples: .PP -$ firejail [OPTIONS] # starting a /bin/bash shell +$ firejail [OPTIONS] # starting the program specified in $SHELL, usually /bin/bash .PP $ firejail [OPTIONS] firefox # starting Mozilla Firefox .PP @@ -2476,7 +2476,7 @@ $ firejail \-\-shell=none script.sh \fB\-\-shell=program Set default user shell. Use this shell to run the application using \-c shell option. For example "firejail \-\-shell=/bin/dash firefox" will start Mozilla Firefox as "/bin/dash \-c firefox". -By default Bash shell (/bin/bash) is used. +By default the user's preferred shell is used. .br .br @@ -3023,7 +3023,7 @@ We provide a tool that automates all this integration, please see \&\flfirecfg\f .SH EXAMPLES .TP \f\firejail -Sandbox a regular /bin/bash session. +Sandbox a regular shell session. .TP \f\firejail firefox Start Mozilla Firefox. @@ -3043,7 +3043,7 @@ Start Firefox in a new network namespace. An IP address is assigned automatically. .TP \f\firejail \-\-net=br0 \-\-ip=10.10.20.5 \-\-net=br1 \-\-net=br2 -Start a /bin/bash session in a new network namespace and connect it +Start a shell session in a new network namespace and connect it to br0, br1, and br2 host bridge devices. IP addresses are assigned automatically for the interfaces connected to br1 and b2 #endif -- cgit v1.2.3-54-g00ecf