Skip to content

Instantly share code, notes, and snippets.

@wcypierre
Created August 2, 2013 19:24
Show Gist options
  • Save wcypierre/6142660 to your computer and use it in GitHub Desktop.
Save wcypierre/6142660 to your computer and use it in GitHub Desktop.
[Debian 7] GateOne 1.2 50limits.conf
// This is an example of a limits.conf file. You'll need to create your own.
// The limits.conf file controls "how much" of any given feature or function a
// given user or group may utilize. The format of this file is JSON with
// support for JavaScript-style comments (they will be removed before parsing).
{
// "*" for default (all users)
"*": {
"terminal": { // This is the "application" i.e. whatever is passed to @require(policies("<applicati$
"max_terms": 50 // An absolute maximum
}
},
"user=root": {
"terminal": {
"max_terms": 10 // Absolute maximum
}
},
// You can also use properties if the user or group has them...
"user.email=.*liftoffsoftware.com": {
"terminal": {
"max_terms": 1000 // Absolute maximum
}
},
"user=wcypierre": { // Just another example
"terminal": {
"max_terms": 10
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment