{"id":1653,"date":"2017-09-28T22:15:36","date_gmt":"2017-09-28T22:15:36","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=1653"},"modified":"2017-09-28T22:16:07","modified_gmt":"2017-09-28T22:16:07","slug":"freeradius-unauthorize-clients-in-a-group","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/freeradius-unauthorize-clients-in-a-group\/","title":{"rendered":"Freeradius unauthorize clients in a group"},"content":{"rendered":"<p>First you&#8217;ll need a group that all your disabled clients are going to.<\/p>\n<p>Next add the following lines to the user file &#8220;\/etc\/raddb\/users&#8221;.\u00a0 Change SQL-Group to Group if your groups are not in a SQL database.<\/p>\n<pre>DEFAULT SQL-Group == \"disabled\", Auth-Type := Reject\r\n Reply-Message = \"Your account has been disabled.\"<\/pre>\n<p>Save, exit and test.<\/p>\n<p>This should keep all clients in the disabled group from authorizing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First you&#8217;ll need a group that all your disabled clients are going to. Next add the following lines to the user file &#8220;\/etc\/raddb\/users&#8221;.\u00a0 Change SQL-Group to Group if your groups are not in a SQL database. DEFAULT SQL-Group == &#8220;disabled&#8221;, &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/freeradius-unauthorize-clients-in-a-group\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[348,3],"tags":[349,285,7,136,350,283,351],"class_list":["post-1653","post","type-post","status-publish","format-standard","hentry","category-freeradius","category-linux","tag-authorize","tag-freeradius","tag-linux-2","tag-mysql-2","tag-raddb","tag-sql","tag-unauthorize"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=1653"}],"version-history":[{"count":2,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1653\/revisions"}],"predecessor-version":[{"id":1655,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1653\/revisions\/1655"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=1653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=1653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=1653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}