'\" -*- coding: UTF-8 -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH lxc-usernet 5 2023-02-19 "" "" .SH NAME lxc-usernet \- unprivileged user network administration file. .SH DESCRIPTION \*(T<\fI/etc/lxc/lxc\-usernet\fR\*(T> controls the limits which the program \fBlxc-user-nic\fR places on network interfaces which an unprivileged user may create. .SS CONFIGURATION This file consists of multiple entries, one per line, of the form: .PP \fBuser\fR \fBtype\fR \fBbridge\fR \fBnumber\fR .PP or .PP \fB@group\fR \fBtype\fR \fBbridge\fR \fBnumber\fR .PP Where .TP \*(T<\fBuser\fR\*(T> is the username to whom this entry applies. .TP \*(T<\fB@group\fR\*(T> is the groupname to which this entry applies. .TP \*(T<\fBtype\fR\*(T> is the type of network interface being allowed. Only veth is currently supported. .TP \*(T<\fBbridge\fR\*(T> is the bridge to which the network interfaces may be attached, for instance \*(T<\fIlxcbr0\fR\*(T>. .TP \*(T<\fBnumber\fR\*(T> is the number or quota of network interfaces of the given type which the given user or group may attach to the given bridge, for instance \*(T<\fI2\fR\*(T>. .PP Since a user can be specified both by username as well as one or more usergroups, it is possible that several configuration lines enable that user to create network interfaces. In such cases, any interfaces create are counted towards the quotas of the user or group in the order in which they appear in the file. If the quota of one line is full, the rest will be parsed until one is found or the end of the file. .SH "SEE ALSO" \fBlxc\fR(1), \fBlxc-user-nic\fR(1) .SH AUTHOR Daniel Lezcano <\*(T>