FIREJAIL-USERS(5)
π firejail.users β the VIP list, bestie π
okay so this is the firejail.users(5) man page from the firejail fam, and it's literally the guest list for who gets to run firejail's SUID executable. no cap, it's short but it MATTERS.
β¨ NAME β¨
firejail.users β the Firejail user access database π
π DESCRIPTION π
/etc/firejail/firejail.users is the file that lists every user who's allowed to run the firejail SUID executable. it's giving velvet rope energy fr.
rootis allowed by default β obviously, main character privileges π- the user
nobodyis never allowed. sorry bestie, not you π
if a user isn't allowed to start the sandbox, Firejail will try to run the program without sandboxing it π (yes really β no sandbox, just vibes).
but wait β if the file isn't present on the system at all? then everybody's allowed to use the sandbox. no file, no rules, we all slay π¦
Example:
$ cat /etc/firejail/firejail.users
dustin
lucas
mike
eleven
see that? iconic. that's the whitelist right there β¨
to add or remove users from the list, just open it in a text editor β you're a big kid, you got this πͺ. you can also use the firecfg --add-users command. Example:
$ sudo firecfg --add-users dustin lucas mike eleven
and by default, just running firecfg creates the file and adds the current user to the list. Example:
$ sudo firecfg
See man 1 firecfg for details. π read it, bestie, it's worth it.
π ALTERNATIVE SOLUTION π
okay so there's another way to restrict who gets to touch the firejail executable β you can create a special firejail user group and let only members of that group run the sandbox. group chat but make it permissions π«Ά
# addgroup --system firejail
# chown root:firejail /usr/bin/firejail
# chmod 4750 /usr/bin/firejail
that 4750 is doing a LOT of heavy lifting btw β setuid bit plus owner+group only. lowkey gorgeous π
π FILES π
/etc/firejail/firejail.users
that's it. one file. she's simple, she's powerful π
π LICENSE π
Firejail is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. π₯³
Homepage: https://firejail.wordpress.com
π SEE ALSO π
go read them, iykyk π
quick vibe check reminder: if this file is missing, everyone gets in. if it's there, only the names on the list (plusroot) get past the rope, andnobodynever does. periodt. π
mwah π that's the whole page β version 0.9.82.2, dated Nov 2026, brought to you by the firejail.users man page. stay sandboxed, bestie π§β¨
π¦ where this page comes from
- arch rolling: firejail 0.9.82.2-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms