diff options
author | mj1595@student.uni-lj.si <mj1595@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2015-01-24 13:17:39 +0000 |
---|---|---|
committer | mj1595@student.uni-lj.si <mj1595@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2015-01-24 13:17:39 +0000 |
commit | 82364980e896687a8b4dbca4421ece99b12f5938 (patch) | |
tree | bf60600bf70feefe1b045b093f70b8a672075a09 | |
parent | 5ff47bd71a15a947b215ed8509321e7b18568514 (diff) |
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@228 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
-rw-r--r-- | kpov_judge/tasks/radius_mysql_pam/howtos/si/index.html | 9 |
1 files changed, 8 insertions, 1 deletions
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" <br>
3. Nato se z to skrivnostjo povežete iz SimpleArbiter na RadiusServer</strong><br>
+ 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
+
+
<u><strong><em><h3>Drugi del naloge: Namestitev in vzpostavitev baze MySQL na RadiusServer </h3></em></strong></u>
1. Pri OpenRadius-u imamo modul RadSQL, s katerim lahko vzpostavimo hranjenje uporabnikov v bazi<br>
2. Namestimo MySQL server z ukazom "sudo apt-get install mysql-server"<br/>
3. VNato se prijavimo v Mysql server z ukazom mysql -u root -p <br/>
- 4. Bazo ustvarimo z ukazom CREATE DATABASE <imePodatkovneBaze> 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";
</body>
</html>
|