Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: clarify to run "sudo firecfg" as a normal (desktop) user #6677

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ $ firejail --list

## Desktop integration

Note: Desktop integration is only applied to the user running firecfg, so make
sure to run `sudo firecfg` as a normal (desktop) user, not as root.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The alternatives is

# firecfg
# firecfg --add-users YOUR_USER
$ firecfg --fix


Integrate your sandbox into your desktop by running the following two commands:

```sh
Expand All @@ -228,6 +231,8 @@ We keep the application list in
[src/firecfg/firecfg.config](src/firecfg/firecfg.config)
(/etc/firejail/firecfg.config when installed).

See `man firecfg` for details.

## Security profiles

Most Firejail command line options can be passed to the sandbox using profile
Expand Down
5 changes: 5 additions & 0 deletions src/man/firecfg.1.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ desktop managers are supported in this moment
.PP
Note: The examples use \fBsudo\fR, but \fBdoas\fR is also supported.
.PP
Note: Changes inside the user home (such as for desktop integration) are only
made for the user running firecfg, so make sure to run "sudo firecfg" as a
normal (desktop) user, not as root.
See \fB\-\-fix\fR for details.
.PP
To set it up, run "sudo firecfg" after installing Firejail software.
The same command should also be run after
installing new programs. If the program is supported by Firejail, the symbolic link in /usr/local/bin
Expand Down