RADIUSdesk

logo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
getting_started:20_install_ubuntu_freeradius_3 [2022/06/13 06:17]
admin [Configuring FreeRADIUS version 3.x]
getting_started:20_install_ubuntu_freeradius_3 [2022/08/31 21:56] (current)
admin
Line 16: Line 16:
 sudo systemctl status freeradius sudo systemctl status freeradius
 </code> </code>
- 
 ====== Configuring FreeRADIUS version 3.x ====== ====== Configuring FreeRADIUS version 3.x ======
   * Do the following to configure FreeRADIUS 3.x to work with RADIUSdesk   * Do the following to configure FreeRADIUS 3.x to work with RADIUSdesk
- +<code bash> 
- * Configure the site-wide shared secret. This will be the value used by ALL Dynamic Clients.+# Stop the service if it is already running 
 +sudo systemctl stop freeradius 
 +# Backup the original FreeRADIUSdirectory 
 +sudo mv /etc/freeradius /etc/freeradius.orig 
 +# Extract the RADIUSdesk modified FreeRADIUS directory 
 +sudo tar xzf /var/www/html/cake4/rd_cake/setup/radius/freeradius-3-radiusdesk.tar.gz --one-top-level=/etc/freeradius/ 
 +sudo mv /etc/freeradius/freeradius /etc/freeradius/3.0 
 +sudo chown -R freerad. /etc/freeradius/3.0/ 
 +sudo  mkdir /var/run/freeradius 
 +chown freerad. /var/run/freeradius 
 +</code> 
 +  * Configure the site-wide shared secret. This will be the value used by ALL Dynamic Clients.
 <code bash> <code bash>
 sudo vi /etc/freeradius/3.0/sites-enabled/dynamic-clients sudo vi /etc/freeradius/3.0/sites-enabled/dynamic-clients
Line 95: Line 105:
 <code bash> <code bash>
 # Members of the admin group may gain root privileges # Members of the admin group may gain root privileges
-%admin ALL=(ALL) ALL www-data ALL = NOPASSWD:/var/www/html/cake3/rd_cake/setup/scripts/radmin_wrapper.pl+%admin ALL=(ALL) ALL www-data ALL = NOPASSWD:/var/www/html/cake4/rd_cake/setup/scripts/radmin_wrapper.pl
 </code> </code>
   * Confirm that this line is now inside the /etc/sudoers file   * Confirm that this line is now inside the /etc/sudoers file