login.users(5) Login file syntax for Firejail


/etc/firejail/login.users file describes additional arguments passed to firejail executable upon user logging into a Firejail restricted shell. Each user entry in the file consists of a user name followed by the arguments passed to firejail. The format is as follows:

        user_name: arguments


        netblue:--net=none --protocol=unix


To configure a restricted shell, replace /bin/bash with /usr/bin/firejail in /etc/password file for each user that needs to be restricted. Alternatively, you can specify /usr/bin/firejail using adduser or usermod commands:

adduser --shell /usr/bin/firejail username
usermod --shell /usr/bin/firejail username




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: http://firejail.wordpress.com