-
Notifications
You must be signed in to change notification settings - Fork 629
docs: clarify to run "sudo firecfg" as a normal (desktop) user #6677
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
base: master
Are you sure you want to change the base?
Conversation
| ## 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. |
There was a problem hiding this comment.
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
Half the story.
|
End users following the steps for desktop integration may end up running `sudo firecfg` as root (or as a similar account) rather than as a normal desktop user. In that case, programs opened through a desktop launcher would still not be running under firejail, which might surprise users. So clarify that `sudo firecfg` should be executed as a normal (desktop) user for desktop integration. Relates to netblue30#6657. Kind of relates to netblue30#5812. Reported-by: @ginto37
f45266d to
2aed3ce
Compare
|
I'm not sure the phrase "normal (desktop) user" really helps here, and I'd suggest not going with that. My admin account, the one with I feel like there's a fundamental difference in views here regarding the use of accounts on Linux. Basically I feel like you're looking at this from a different angle and it's leading you to write up the instructions from a slightly unhelpful viewpoint that's going to confuse users rather than help them. For that reason, Rusty-snake's suggestion should be the default method, not the alternative, IMO, otherwise users like myself are going to wonder why Rusty-snake's method doesn't involve modifying the In essence, OOC, where would |
I still don't get why you want to modify it.
Each user. Keep in mind that firejails primary target are single user desktop systems. |
|
OK, I'll start from the official installation method.
Again because security is the primary focus of
a) run Or b) Give the Standard user general Or c) Give the Standard user Of those three, the most secure and least complex option is, IMO, the first: a). Ideally, and IMO, the steps for desktop integration should be described something like as follows:
That's really as far as my thinking takes me. I'm not a Going one step further, I'd like to suggest that HTH. |
To many axioms.
I doubt that this is the common setup. The most users of firejail will have one user account. That is in the wheel group.
Should be treated equal to "Or b) Give the Standard user general sudo privileges, which is not recommended (see above)".
Then send a PR.
This could also be understood as "as root user" as a lot users thing "administrator = root" and "root = administrator".
Add on this, if you never do
We could also implement a |
|
The first sentence in the README.md:
As the devs behind If you genuinely believe most of your users are working day-to-day in root or admin environments, then you have a great opportunity to educate them out of that position before recommending |
End users following the steps for desktop integration may end up running
sudo firecfgas root (or as a similar account) rather than as a normaldesktop user.
In that case, programs opened through a desktop launcher would still not
be running under firejail, which might surprise users.
So clarify that
sudo firecfgshould be executed as a normal (desktop)user for desktop integration.
Relates to #6657.
Kind of relates to #5812.
Reported-by: @ginto37