table of contents
PAM_GROUPNET(8) | System Manager's Manual | PAM_GROUPNET(8) |
NAME¶
pam_groupnet - join/create a specific network namespace at login
SYNOPSIS¶
pam_groupnet.so
DESCRIPTION¶
The pam_groupnet PAM module allow each user in groupnet group to join a specific network namespace.
If the specified network namespace 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 specify the network namespace to join by creating groups starting with groupnet-. The text written after the dash will be used as the network namespace name to join or create. Users will join the network namespace at login.
If a user is part of multiple groups starting with groupnet-, the first one that matches is used. Group testing order is as returned by getgrouplist(3).
OPTIONS¶
group=groupname
lodown
rootshared
RETURN VALUES¶
PAM_IGNORE
PAM_ABORT
PAM_SUCCESS
EXAMPLES¶
Add the following line to /etc/pam.d/sshd or /etc/pam.d/login
SEE ALSO¶
AUTHOR¶
pam_groupnet was written by Renzo Davoli and Eduard Caizer, University of Bologna
August 17, 2016 | VirtualSquare Labs |