diff options
author | netblue30 <netblue30@yahoo.com> | 2017-10-27 09:37:09 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-10-27 09:37:09 -0400 |
commit | e8cf957a8bf3deda07e608e0c482b38cd573627a (patch) | |
tree | c935731763eb38af17354e91e123a3f02afc3b21 /src/man/firejail-profile.txt | |
parent | modif: remount-proc-sys deprecated from firejail.config (diff) | |
download | firejail-e8cf957a8bf3deda07e608e0c482b38cd573627a.tar.gz firejail-e8cf957a8bf3deda07e608e0c482b38cd573627a.tar.zst firejail-e8cf957a8bf3deda07e608e0c482b38cd573627a.zip |
modif: --profile-path was deprecated
Diffstat (limited to 'src/man/firejail-profile.txt')
-rw-r--r-- | src/man/firejail-profile.txt | 31 |
1 files changed, 0 insertions, 31 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 | ||