Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »


To test the RADIUS server directly, execute inside the VM:




Test 

sudo radtest testuser1 password1 localhost 18128 testing123
check MySQL database

mysql -u root -psecret radius
List users

SELECT id, username, attribute, value, op FROM radcheck ORDER BY id;

list users
MariaDB [radius]> SELECT id, username, attribute, value, op FROM radcheck ORDER BY id;
+----+-----------+--------------------+-----------+----+
| id | username  | attribute          | value     | op |
+----+-----------+--------------------+-----------+----+
|  1 | testuser1 | Cleartext-Password | password1 | := |
|  2 | testuser2 | Cleartext-Password | password2 | := |
+----+-----------+--------------------+-----------+----+
2 rows in set (0.000 sec)




SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'testuser1' ORDER BY id;

SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'testuser1' ORDER BY id;

SELECT id, username, attribute, value, op FROM radreply WHERE username = 'testuser1' ORDER BY id;



SELECT groupname FROM radusergroup WHERE username = 'testuser1' ORDER BY priority;

INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'testuser1','testpwd','Access-Accept', '2018-01-26 22:07:14');



Create an user with daloRadius







  • No labels