Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - rcschaff

Pages: [1]
1
New Modules / [Module] CWP_2FA
« on: February 22, 2020, 04:27:06 AM »
I have decided to move the module to github. 

Please visit: https://github.com/rcschaff82/cwp_2fa

2
CentOS 7 Problems / Update Bug
« on: February 17, 2020, 11:46:39 PM »
Yum.log
Code: [Select]
Feb 17 04:13:23 Erased: cwp-httpd-2.4.39-3.x86_64   << Reinstalled
Feb 17 04:13:24 Erased: subversion-1.7.14-14.el7.x86_64  << Reinstalled
Feb 17 04:13:24 Erased: subversion-libs-1.7.14-14.el7.x86_64  << Reinstalled
Feb 17 04:13:24 Erased: cwpsrv-1.15.10-4.x86_64 << Reinstalled
Feb 17 04:13:24 Erased: apr-devel-1.6.2-1.x86_64  << Removed but not reinsalled
Feb 17 04:13:24 Erased: apr-util-1.6.0-1.x86_64  << Reinstalled
Feb 17 04:13:24 Erased: apr-1.6.2-1.x86_64  << Reinstalled
Feb 17 04:13:39 Installed: apr-1.6.2-1.x86_64
Feb 17 04:13:39 Installed: apr-util-1.6.0-1.x86_64
Feb 17 04:13:39 Installed: subversion-libs-1.7.14-14.el7.x86_64
Feb 17 04:13:40 Installed: subversion-1.7.14-14.el7.x86_64
Feb 17 04:15:28 Installed: cwp-httpd-2.4.39-3.x86_64
Feb 17 04:17:36 Installed: cwp-php-5.6.37-1.x86_64
Feb 17 04:17:54 Installed: cwpsrv-1.15.10-4.x86_64
Feb 17 04:25:26 Erased: MariaDB-server-10.1.44-1.el7.centos.x86_64 <<  Removed after...   Why???

Better question is why are you removing and reinstalling software anyways?   A simple yum -y update would suffice

3
Other / Forum Rules
« on: February 17, 2020, 03:38:56 PM »
It would be nice of you to post forum "rules", so that we know exactly what we can / cannot do on here.  Otherwise it's just arbitrary subjectivity, and can be considered petty when posts are edited/removed.   These rules also need to be at the top of the forum for all to read first. After all, it is a standard practice by anyone who runs a forum. 

4
Suggestions / Please start locking topics.
« on: February 13, 2020, 07:50:32 AM »
Once a topic has a resolution, you really should lock it.  People posting on 3 year old issues is ridiculous.

5
New Modules / Two Factor Authorization Mod
« on: February 06, 2020, 12:48:12 AM »
I have built a Two Factor Authorization Module for CWP.  I have tested it, but please consider this is BETA.   All Issues should be reported to me on this post.

Pre-Requisites.
You need an API key created with ACCOUNT-> list created
After installation, make sure you change User Account -> Themes to the modified theme, and don't allow them to change

Please not that this system works around the CWP login system, and therefore is not infallible, though I did my best to hide that it's there.

TO install:
From root user via ssh:
wget https://schaffner.org/cwp2fa.tar.gz
tar -xzf cwp2fa.tar.gz
cd cwp_2fa/
./install.sh
When prompted, put in your API key
That's it. 

Now log into CWP and you should see a new menu 2Factor Auth directly under Server Settings Menu


Users Menu Appears under CWP Settings

6
CentOS-WebPanel Bugs / freeDNS module bug
« on: February 05, 2020, 03:05:26 AM »
You can no longer include an insecure iframe on a secured connection.  YOu need to get a signed cert for http://freedns.centos-webpanel.com/, and change the http to https

Just changing to https will fail with a self signed cert.

7
CentOS-WebPanel GUI / User Login Page
« on: February 02, 2020, 07:31:36 PM »
A couple of notes for the Developers.
1)  If Javascript is disabled, users are unable to login.   There needs to be a notice that JavaScript IS required to use the page.
2)  I see the begining of integration of 2fa.  However you should not use AJAX or any javascript whatsoever to perform this function.  I simple tweak to the javascript, and they can bypass it.
3)  I would recommend ditching the javascript/ajax calls, as you think it's making it streamlined, but it's actually going to cause more headaches.

Pages: [1]