diff options
author | netblue30 <netblue30@yahoo.com> | 2015-12-04 12:36:44 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-12-04 12:36:44 -0500 |
commit | 129af459ad895b329afb62f3fe9cbcbd6a578072 (patch) | |
tree | b5ac2a42b2b6ca9c2ecb503c0fe4411f37fe5382 /README.md | |
parent | --tracelog work (diff) | |
download | firejail-129af459ad895b329afb62f3fe9cbcbd6a578072.tar.gz firejail-129af459ad895b329afb62f3fe9cbcbd6a578072.tar.zst firejail-129af459ad895b329afb62f3fe9cbcbd6a578072.zip |
--profile-path option
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 22 insertions, 1 deletions
@@ -112,4 +112,25 @@ Dec 3 11:43:25 debian firejail[70]: blacklist violation - sandbox 26370, exe fi | |||
112 | Dec 3 11:46:17 debian firejail[70]: blacklist violation - sandbox 26370, exe firefox, | 112 | Dec 3 11:46:17 debian firejail[70]: blacklist violation - sandbox 26370, exe firefox, |
113 | syscall opendir, path /boot | 113 | syscall opendir, path /boot |
114 | [...] | 114 | [...] |
115 | ````` \ No newline at end of file | 115 | ````` |
116 | |||
117 | ### --profile-path | ||
118 | For various reasons some users might want to keep the profile files in | ||
119 | a different directory. Using --profile-path command line option, | ||
120 | Firejail can be instructed to look for profiles into this directory. | ||
121 | |||
122 | This is an example of relocating the profile files into a new directory, | ||
123 | /home/netblue/myprofiles. Start by creating the new directory and | ||
124 | copy all the profile files in: | ||
125 | ````` | ||
126 | $ mkdir ~/myprofiles && cd ~/myprofiles && cp /etc/firejail/* . | ||
127 | ````` | ||
128 | Using sed utility, modify the absolute paths for include commands: | ||
129 | ````` | ||
130 | $ sed -i "s/\/etc\/firejail/\/home\/netblue\/myprofiles/g" *.profile | ||
131 | $ sed -i "s/\/etc\/firejail/\/home\/netblue\/myprofiles/g" *.inc | ||
132 | ````` | ||
133 | Start Firejail using the new path: | ||
134 | ````` | ||
135 | $ firejail --profile-path=~/myprofile | ||
136 | ````` | ||