From 82364980e896687a8b4dbca4421ece99b12f5938 Mon Sep 17 00:00:00 2001 From: "mj1595@student.uni-lj.si" Date: Sat, 24 Jan 2015 13:17:39 +0000 Subject: git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@228 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'kpov_judge/tasks/radius_mysql_pam/howtos/si') diff --git a/kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html b/kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html index 0338f84..a02690b 100644 --- a/kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html +++ b/kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html @@ -19,11 +19,18 @@ 2. Dodaj uporabnika in mu dodaj skupno skrivnost v /etc/openradius/configuration datoteko (več o dodajanju lahko izveš na: "http://sites.e-advies.nl/openradius/doc-using-openradius.html"
3. Nato se z to skrivnostjo povežete iz SimpleArbiter na RadiusServer
+ Namestimo freeradius z ukazom apt-get install freeradius-mysql + V datoteku /etc/freeradius/client.conf spremenimo skrivnost (secret) + Nato pa v datoteki /etc/freeradius/users dodamo uporabnika + +

Drugi del naloge: Namestitev in vzpostavitev baze MySQL na RadiusServer

1. Pri OpenRadius-u imamo modul RadSQL, s katerim lahko vzpostavimo hranjenje uporabnikov v bazi
2. Namestimo MySQL server z ukazom "sudo apt-get install mysql-server"
3. VNato se prijavimo v Mysql server z ukazom mysql -u root -p
- 4. Bazo ustvarimo z ukazom CREATE DATABASE in v bazi ustvari tabelo "users" s stolpcema username ter password. + 4. Bazo ustvarimo z ukazom primer: + CREATE DATABASE kwhbRgJY; + GRANT ALL ON kwhbRgJY.* To MajaNovak80@localhost IDENTIFIED BY "y06gmo2Z"; -- cgit v1.2.1