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

Interactive configuration guide #5111

Closed
netblue30 opened this issue Apr 21, 2022 · 3 comments
Closed

Interactive configuration guide #5111

netblue30 opened this issue Apr 21, 2022 · 3 comments
Labels
enhancement New feature request firecfg Anything related to firecfg and not firejail itself

Comments

@netblue30
Copy link
Owner

I have resurrected firejail-welcome.sh from contrib section (author @rusty-snake), moved it under firecfg with some small modifications. It is a short interactive configuration guide for new users. Run it as:

$ sudo firecfg --guide

The script uses zenity (https://en.wikipedia.org/wiki/Zenity). In case the user doesn't have zenity installed, we redirect the calls to a small program in /usr/lib/firejail that has a similar interface and works in console - I'll bring it up in a few days.

Take a look, bugs, add/remove things, spelling, English etc.

@netblue30 netblue30 added enhancement New feature request firecfg Anything related to firecfg and not firejail itself labels Apr 21, 2022
@rusty-snake
Copy link
Collaborator

I guess running zenity (a graphical program) as root makes problems on some systems.

@netblue30
Copy link
Owner Author

Fixed: "sudo -u username zenity", where username comes as a script argument.

@netblue30
Copy link
Owner Author

Added a replacement for zenity in case zenity is not installed. To test it run "sudo firecfg --guide --debug"

@netblue30 netblue30 added the in testing A bugfix that is being tested label May 20, 2022
kmk3 added a commit that referenced this issue Jun 9, 2022
@rusty-snake rusty-snake removed the in testing A bugfix that is being tested label Jun 21, 2022
@kmk3 kmk3 moved this to Done (on RELNOTES) in Release 0.9.70 Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature request firecfg Anything related to firecfg and not firejail itself
Projects
Status: Done (on RELNOTES)
Development

No branches or pull requests

2 participants