mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
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.
This commit is contained in:
parent
a2bed302c3
commit
862f6820bb
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue