diff options
Diffstat (limited to 'src/man')
-rw-r--r-- | src/man/firejail-profile.txt | 31 | ||||
-rw-r--r-- | src/man/firejail.txt | 15 |
2 files changed, 0 insertions, 46 deletions
diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 39680ab0a..77bdffb62 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt | |||
@@ -594,37 +594,6 @@ instead of the default one. | |||
594 | Join the sandbox identified by name or start a new one. | 594 | Join the sandbox identified by name or start a new one. |
595 | Same as "firejail --join=sandboxname" command if sandbox with specified name exists, otherwise same as "name sandboxname". | 595 | Same as "firejail --join=sandboxname" command if sandbox with specified name exists, otherwise same as "name sandboxname". |
596 | 596 | ||
597 | .SH RELOCATING PROFILES | ||
598 | For various reasons some users might want to keep the profile files in a different directory. | ||
599 | Using \fB--profile-path\fR command line option, Firejail can be instructed to look for profiles | ||
600 | into this directory. | ||
601 | |||
602 | This is an example of relocating the profile files into a new | ||
603 | directory, /home/netblue/myprofiles. Start by creating the new directory and copy all | ||
604 | the profile files in: | ||
605 | .br | ||
606 | |||
607 | .br | ||
608 | $ mkdir ~/myprofiles && cd ~/myprofiles && cp /etc/firejail/* . | ||
609 | .br | ||
610 | |||
611 | .br | ||
612 | Using \fBsed\fR utility, modify the absolute paths for \fBinclude\fR commands: | ||
613 | .br | ||
614 | |||
615 | .br | ||
616 | $ sed -i "s/\\/etc\\/firejail/\\/home\\/netblue\\/myprofiles/g" *.profile | ||
617 | .br | ||
618 | $ sed -i "s/\\/etc\\/firejail/\\/home\\/netblue\\/myprofiles/g" *.inc | ||
619 | .br | ||
620 | |||
621 | .br | ||
622 | Start Firejail using the new path: | ||
623 | .br | ||
624 | |||
625 | .br | ||
626 | $ firejail --profile-path=~/myprofiles | ||
627 | |||
628 | .SH FILES | 597 | .SH FILES |
629 | /etc/firejail/filename.profile, $HOME/.config/firejail/filename.profile | 598 | /etc/firejail/filename.profile, $HOME/.config/firejail/filename.profile |
630 | 599 | ||
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index d725bb883..476050d9c 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -1451,21 +1451,6 @@ $ firejail \-\-profile.print=browser | |||
1451 | .br | 1451 | .br |
1452 | /etc/firejail/firefox.profile | 1452 | /etc/firejail/firefox.profile |
1453 | .br | 1453 | .br |
1454 | |||
1455 | .TP | ||
1456 | \fB\-\-profile-path=directory | ||
1457 | Use this directory to look for profile files. Use an absolute path or a path in the home directory starting with ~/. | ||
1458 | For more information, see \fBSECURITY PROFILES\fR section below and \fBRELOCATING PROFILE FILES\fR in | ||
1459 | \fBman 5 firejail-profile\fR. | ||
1460 | .br | ||
1461 | |||
1462 | .br | ||
1463 | Example: | ||
1464 | .br | ||
1465 | $ firejail \-\-profile-path=~/myprofiles | ||
1466 | .br | ||
1467 | $ firejail \-\-profile-path=/home/netblue/myprofiles | ||
1468 | |||
1469 | .TP | 1454 | .TP |
1470 | \fB\-\-protocol=protocol,protocol,protocol | 1455 | \fB\-\-protocol=protocol,protocol,protocol |
1471 | Enable protocol filter. The filter is based on seccomp and checks the first argument to socket system call. | 1456 | Enable protocol filter. The filter is based on seccomp and checks the first argument to socket system call. |