aboutsummaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-10-27 09:37:09 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-10-27 09:37:09 -0400
commite8cf957a8bf3deda07e608e0c482b38cd573627a (patch)
treec935731763eb38af17354e91e123a3f02afc3b21 /src/man
parentmodif: remount-proc-sys deprecated from firejail.config (diff)
downloadfirejail-e8cf957a8bf3deda07e608e0c482b38cd573627a.tar.gz
firejail-e8cf957a8bf3deda07e608e0c482b38cd573627a.tar.zst
firejail-e8cf957a8bf3deda07e608e0c482b38cd573627a.zip
modif: --profile-path was deprecated
Diffstat (limited to 'src/man')
-rw-r--r--src/man/firejail-profile.txt31
-rw-r--r--src/man/firejail.txt15
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.
594Join the sandbox identified by name or start a new one. 594Join the sandbox identified by name or start a new one.
595Same as "firejail --join=sandboxname" command if sandbox with specified name exists, otherwise same as "name sandboxname". 595Same as "firejail --join=sandboxname" command if sandbox with specified name exists, otherwise same as "name sandboxname".
596 596
597.SH RELOCATING PROFILES
598For various reasons some users might want to keep the profile files in a different directory.
599Using \fB--profile-path\fR command line option, Firejail can be instructed to look for profiles
600into this directory.
601
602This is an example of relocating the profile files into a new
603directory, /home/netblue/myprofiles. Start by creating the new directory and copy all
604the profile files in:
605.br
606
607.br
608$ mkdir ~/myprofiles && cd ~/myprofiles && cp /etc/firejail/* .
609.br
610
611.br
612Using \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
622Start 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
1457Use this directory to look for profile files. Use an absolute path or a path in the home directory starting with ~/.
1458For 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
1463Example:
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
1471Enable protocol filter. The filter is based on seccomp and checks the first argument to socket system call. 1456Enable protocol filter. The filter is based on seccomp and checks the first argument to socket system call.