diff options
Diffstat (limited to 'kpov_judge/tasks')
-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>
|