diff options
Diffstat (limited to 'notes/projects/radius/sql/ippool-database.sql')
| -rw-r--r-- | notes/projects/radius/sql/ippool-database.sql | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/notes/projects/radius/sql/ippool-database.sql b/notes/projects/radius/sql/ippool-database.sql new file mode 100644 index 0000000..ed188cd --- /dev/null +++ b/notes/projects/radius/sql/ippool-database.sql | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | /* | ||
| 2 | * IP Engineering RADIUS Servers | ||
| 3 | * | ||
| 4 | * ippool-database.sql - builds roles and database for RADIUS IP Pools | ||
| 5 | * | ||
| 6 | */ | ||
| 7 | |||
| 8 | |||
| 9 | CREATE ROLE radius_ippool WITH | ||
| 10 | NOSUPERUSER | ||
| 11 | NOCREATEDB | ||
| 12 | NOCREATEROLE | ||
| 13 | NOINHERIT | ||
| 14 | NOLOGIN | ||
| 15 | NOREPLICATION | ||
| 16 | NOBYPASSRLS | ||
| 17 | ADMIN admin; | ||
| 18 | |||
| 19 | |||
| 20 | CREATE DATABASE radius_ippool WITH | ||
| 21 | OWNER = radius_ippool | ||
| 22 | ENCODING = "UTF8" | ||
| 23 | LC_COLLATE = "en_US.UTF-8" | ||
| 24 | LC_CTYPE = "en_US.UTF-8"; | ||
| 25 | |||
| 26 | |||
| 27 | /* end of sql */ | ||
