PAM_USERNET(8) | System Manager's Manual | PAM_USERNET(8) |
pam_usernet - join the user own network namespace at login
pam_usernet.so
The pam_usernet PAM module allow each user in usernet group to have their own network namespace.
If a network namespace having the same name as the username exists, pam runs the user shell in that namespace. If such a namespace does does not exist, it is created during the login process.
The system administrator can create a network namespace for each user in usernet group. Each namespace must be named after each username. Users will get their own network namespace at login.
When pam_usernet is used together with a specific cado(1) configuration users can configure their own networking services. (see https://github.com/rd235/cado)
group=groupname
lodown
rootshared
PAM_IGNORE
PAM_ABORT
PAM_SUCCESS
Add the following line to /etc/pam.d/sshd or /etc/pam.d/login
pam_usernet was written by Renzo Davoli and Eduard Caizer, University of Bologna
August 17, 2016 | VirtualSquare Labs |