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.


Messages - rcschaff

Pages: 1 ... 47 48 [49] 50 51 ... 57
721
New Modules / Re: Two Factor Authorization Mod
« on: February 22, 2020, 01:59:46 AM »
Original file should be in cwp_2fa folder from untar

722
New Modules / Re: Two Factor Authorization Mod
« on: February 22, 2020, 01:10:44 AM »
Updated md5sum   b100f5a2bd1f02330cd1da2531749b6e

Changelog:

Bugfix of user filemanager displaying /home/google instead of home directory
Added check for ntpd service.  Installs and starts if not installed
install script disables selinux temporarily if it is enabled, then reenables it.
install script notifies how to set proper timezone at end

723
New Modules / Re: Two Factor Authorization Mod
« on: February 22, 2020, 01:06:13 AM »
I have a patch for you:
first:
edit /root/watch.sh file
Remove line 26  "sed -i "s@fastcgi_param   PHP_ADMIN_VA....."
Add in it's place  "   sed -i -re 's@open_basedir(.*)(";)@\1:/home/google\2@' $f     "

then run: 
 sed -i "s@open_basedir =/home/google/:@open_basedir =@g" /usr/local/cwpsrv/conf.d/users/*

finally run:
/root/watch.sh

This should fix the issue for users.  Root would normally start in /tmp, so I don't think it's too big of a bug ;)

724
New Modules / Re: Two Factor Authorization Mod
« on: February 21, 2020, 10:13:00 PM »
I'll look into it

725
New Modules / Re: Two Factor Authorization Mod
« on: February 21, 2020, 09:26:36 PM »
Turn off 2fa for root and see if it persists while it's off.  They may have changed something on the backend.

726
New Modules / Re: Two Factor Authorization Mod
« on: February 21, 2020, 06:26:29 PM »
Once logged in, a session token is set, so you should have full access to everything.  Anything that is not working isn't because of this mod, I can promise you that.

727
New Modules / Re: Two Factor Authorization Mod
« on: February 21, 2020, 07:31:28 AM »
Correct.  The login user uses /home/google

728
New Modules / Re: Two Factor Authorization Mod
« on: February 21, 2020, 06:49:31 AM »
Edit

/usr/local/cwpsrv/htdocs/resources/admin/include/3rdparty.php

remove the extra lines ;)

It starts with <noscript>  20 lines or so, end with </script>

729
New Modules / Re: Two Factor Authorization Mod
« on: February 21, 2020, 06:17:33 AM »
Install script has been updated.

Redownload, and rerun the install.

md5sum 8f0f50679d5a37fd49610227b840db60

730
New Modules / Re: Two Factor Authorization Mod
« on: February 21, 2020, 05:31:38 AM »
make sure you are on the root account
go to where you untarred cwp_2fa

try these
cp -v admin/googleAuthenticator.php /usr/local/cwpsrv/htdocs/admin/design/
cp -v admin/showQRCode.php /usr/local/cwpsrv/htdocs/admin/design/

If you cannot copy them, try chattr -i /usr/local/cwpsrv/htdocs/admin/design and see if they will copy.   It's also possible you have selinux activated.
If it is, you can do
setenforce 0
copy the files
then
setenforce 1

731
New Modules / Re: Two Factor Authorization Mod
« on: February 21, 2020, 04:23:12 AM »
md5sum 2b158a964d064639df93697c9aee0b42
sha1sum 5a3cb827e7cc8e9ff7b6892b88c5cb333820af19
sha256sum af36c7e02c5de41d911477fdecdc806d43db8c59e94432488335bc013d4f5e6e

The only update I made was to check for ntp, and install it if it's not installed.

If you have selinux installed, then you must know what you are doing, as CWP disables it by default.

732
A little Debug info.  /fileManager2.php HTTP/1.1" 302 5 "https://

For some reason we have a 302 redirect on accessing FM2.

733
DNS / Re: Site accessible from everywhere but my network dns problem?
« on: February 19, 2020, 11:50:40 PM »
DNS points to the external IP.  You cannot go from inside the NAT to outside and back in without a routing table.  If you want to see the sites internally, you need an internal DNS server setup to the private IP address instead of the NAT ip/ with all of the domain names.

It can get confusing very quickly if you're not sure what you are doing.  I'll just leave it at that :)

734
Updates / Re: Postfix Mailserver not starting
« on: February 19, 2020, 03:07:10 PM »
This is going to happen to everyone.  Postfix screwed up.  Easy Solution.

Sorry. Changing answer.

edit /etc/postfix/main.cf

add the following line towards the top
meta_directory = /usr/share/postfix

systemctl start postfix

735
CentOS 7 Problems / Re: Update Bug
« on: February 19, 2020, 01:57:32 PM »
That's the thing.  I didn't do anything.  This was somehow automated...  Maybe not by CWP, but something did this without my interaction.  I'lll check more logs for an audit i guess.

Thanks

Pages: 1 ... 47 48 [49] 50 51 ... 57