mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #7047] Be able to choose uid/gid inside sandbox #3465
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3465
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @liloman on GitHub (Jan 29, 2026).
Original GitHub issue: https://github.com/netblue30/firejail/issues/7047
Is your feature request related to a problem? Please describe.
I would like to be able to change the user inside the sandbox. AFAIK the uid/gid are set by the user executing firejail with getuid/getgid in order to do the mapping inside the user namespace
Describe the solution you'd like
I would like to be able to execute:
Describe alternatives you've considered
I created 1004 beforehand.
Or with bwrap:
Environment
firejail --version):firejail version 0.9.78
@netblue30 commented on GitHub (Jan 29, 2026):
We'll do!
@liloman commented on GitHub (Jan 29, 2026):
In order to be user friendly maybe we should consider extras steps like:
firejail --as-user=dev
And it checks for the user, gets uid/gid and sets the minimal stuff like $HOME, $USER and $PATH
It could be nice ... :\