trixbox CE 2.2 Login/Registration Workarounds

It has been brought to our attention that the scripts that do the registration pop-up and the package manager login can be finicky and still give you issues weather you have registered or not. There are ways to remove these annoyances. Fonality probably has a reason to collect the information so a standard disclaimer, only use this information for good and only as a last resort.


Killing package manager login:
open /var/www/html/maint/includes/yumOutput.php
you will see on top:

<?php
include_once('includes/application_top.php');
//if(file_exists('cache/session')){
if(isset($_SESSION['tb_login'])){
include 'includes/functions/genYumArray.php';
?>

Change it to:

<?php
include_once('includes/application_top.php');
//if(file_exists('cache/session')){
//if(isset($_SESSION['tb_login'])){
if(1){
include 'includes/functions/genYumArray.php';
?>

Removing the registration popup:
from a command prompt type:

touch /var/www/html/.regdata

You should be good to go.

Leave a Reply