FIREJAIL-LOGIN(5)
π NAME π
login.users β the login file syntax for Firejail, bestie. it's giving "who gets what flags when they log in" β¨
π¦ DESCRIPTION π¦
okay so picture this: the file /etc/firejail/login.users is where you write down extra arguments that get passed to the firejail executable whenever a user logs into a Firejail restricted shell. like, custom treatment per person. iconic behavior honestly π
every entry in this file is a user name followed by the arguments you want handed to firejail. the format is literally this:
user_name: arguments
example time, because examples ate π :
netblue: --net=none --protocol=unix
and here's the slay part β wildcard patterns are accepted in the user name field, no cap:
user*: --private
so one line can cover a whole lil squad of usernames. obsessed πΈ
π RESTRICTED SHELL π
to configure a restricted shell, you replace /bin/bash with /usr/bin/firejail in the /etc/passwd file, for each user that needs to be restricted. yes, editing /etc/passwd by hand. main character energy but make it careful π
alternatively (and lowkey more chill), you can specify /usr/bin/firejail using the adduser or usermod commands:
adduser --shell /usr/bin/firejail username
usermod --shell /usr/bin/firejail username
pick your fighter, both work π«Ά
π FILES π
/etc/firejail/login.users
that's the one. the whole file. go edit it π
π 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 π
and that's the whole vibe, bestie β¨ this was 0.9.80, from Mar 2026, and it lives under the name FIREJAIL-LOGIN(5) π stay safe out there, sandbox your faves, mwah π
π¦ where this page comes from
- epel 10: firejail 0.9.80-1.el10_3 Β· GPL-2.0-or-later
- epel 9: firejail 0.9.80-1.el9 Β· GPL-2.0-or-later
- fedora 43: firejail 0.9.80-1.fc43 Β· GPL-2.0-or-later
- fedora 44: firejail 0.9.80-1.fc44 Β· GPL-2.0-or-later
- ubuntu stonking: firejail 0.9.80-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms