[GH-ISSUE #5111] Interactive configuration guide #2883

Closed
opened 2026-05-05 09:32:31 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @netblue30 on GitHub (Apr 21, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5111

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.

Originally created by @netblue30 on GitHub (Apr 21, 2022). Original GitHub issue: https://github.com/netblue30/firejail/issues/5111 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.
gitea-mirror 2026-05-05 09:32:31 -06:00
Author
Owner

@rusty-snake commented on GitHub (Apr 21, 2022):

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

<!-- gh-comment-id:1105612585 --> @rusty-snake commented on GitHub (Apr 21, 2022): I guess running zenity (a graphical program) as root makes problems on some systems.
Author
Owner

@netblue30 commented on GitHub (Apr 22, 2022):

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

<!-- gh-comment-id:1105927773 --> @netblue30 commented on GitHub (Apr 22, 2022): Fixed: "sudo -u username zenity", where username comes as a script argument.
Author
Owner

@netblue30 commented on GitHub (Apr 25, 2022):

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

<!-- gh-comment-id:1108965399 --> @netblue30 commented on GitHub (Apr 25, 2022): Added a replacement for zenity in case zenity is not installed. To test it run "sudo firecfg --guide --debug"
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2883
No description provided.