diff options
author | 2016-03-20 08:19:21 -0400 | |
---|---|---|
committer | 2016-03-20 08:19:21 -0400 | |
commit | 6b0cd0a8595eb6cb68b2f22f031037b26acd13bd (patch) | |
tree | 2996b934bba33a6477550804b362b0f3fe836cec /src/man/firejail.txt | |
parent | run time configuration support (diff) | |
download | firejail-6b0cd0a8595eb6cb68b2f22f031037b26acd13bd.tar.gz firejail-6b0cd0a8595eb6cb68b2f22f031037b26acd13bd.tar.zst firejail-6b0cd0a8595eb6cb68b2f22f031037b26acd13bd.zip |
fixes
Diffstat (limited to 'src/man/firejail.txt')
-rw-r--r-- | src/man/firejail.txt | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/man/firejail.txt b/src/man/firejail.txt index f3c023aba..99a9429c7 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt | |||
@@ -1534,6 +1534,59 @@ Example: | |||
1534 | .br | 1534 | .br |
1535 | $ firejail \-\-zsh | 1535 | $ firejail \-\-zsh |
1536 | 1536 | ||
1537 | .SH DESKTOP INTEGRATION | ||
1538 | A symbolic link to /usr/bin/firejail under the name of a program, will start the program in Firejail sandbox. | ||
1539 | The symbolic link should be placed in the first $PATH position. On most systems, a good place | ||
1540 | is /usr/local/bin directory. Example: | ||
1541 | .PP | ||
1542 | .RS | ||
1543 | .br | ||
1544 | |||
1545 | .br | ||
1546 | Make a firefox symlink to /usr/bin/firejail: | ||
1547 | .br | ||
1548 | |||
1549 | .br | ||
1550 | $ ln -s /usr/bin/firejail /usr/local/bin/firefox | ||
1551 | .br | ||
1552 | |||
1553 | .br | ||
1554 | Verify $PATH | ||
1555 | .br | ||
1556 | |||
1557 | .br | ||
1558 | $ which -a firefox | ||
1559 | .br | ||
1560 | /usr/local/bin/firefox | ||
1561 | .br | ||
1562 | /usr/bin/firefox | ||
1563 | .br | ||
1564 | |||
1565 | .br | ||
1566 | Starting firefox in this moment, automatically invokes “firejail firefox”. | ||
1567 | .RE | ||
1568 | .br | ||
1569 | |||
1570 | .br | ||
1571 | This works for clicking on desktop environment icons, menus etc. Use "firejail --tree" | ||
1572 | to verify the program is sandboxed. | ||
1573 | .PP | ||
1574 | .RS | ||
1575 | .br | ||
1576 | |||
1577 | .br | ||
1578 | .br | ||
1579 | $ firejail --tree | ||
1580 | .br | ||
1581 | 1189:netblue:firejail firefox | ||
1582 | .br | ||
1583 | 1190:netblue:firejail firefox | ||
1584 | .br | ||
1585 | 1220:netblue:/bin/sh -c "/usr/lib/firefox/firefox" | ||
1586 | .br | ||
1587 | 1221:netblue:/usr/lib/firefox/firefox | ||
1588 | .RE | ||
1589 | |||
1537 | .SH FILE TRANSFER | 1590 | .SH FILE TRANSFER |
1538 | These features allow the user to inspect the filesystem container of an existing sandbox | 1591 | These features allow the user to inspect the filesystem container of an existing sandbox |
1539 | and transfer files from the container to the host filesystem. | 1592 | and transfer files from the container to the host filesystem. |