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 - overseer

Pages: 1 ... 64 65 [66] 67 68 ... 71
976
Functions / Re: Dark Mode for Text Editor
« on: January 22, 2023, 06:35:37 PM »
Unfortunately, the code editor is IonCube encoded, which makes it rather opaque:
Code: [Select]
/usr/local/cwpsrv/var/services/users/codeEditor.php
Maybe you could use a browser plugin to flip the form control around:
Code: [Select]
<select class="form-control" onchange="selectTheme(this.value)" data-ddg-inputtype="unknown">
                    <option value="default">Light Mode</option>
                    <option value="monokai">Dark Mode</option>
                </select>

Meanwhile, if you want to fix the English grammar of the File Manager interface, the file to edit is here:
/usr/local/cwpsrv/var/services/users/cwp_lang/en/filemanager.ini

977
CentOS-WebPanel Bugs / Re: [CWP Pro] Bug Cron Jobs Section not usable.
« on: January 22, 2023, 06:16:43 PM »
Cronjobs are critical and I'm surprised CWP has not sorted this still.
Well, I'm not too surprised. But I've learned to work around a lot. And at this point my 3 CWP servers are pretty stable so not a lot of ongoing action with configuration changes. And I do 1/2 the work in the terminal anyway because it's fine-grained configuration outside the scope of the CWP web interface.

978
FTP / Re: Change home directory for anonymous login
« on: January 22, 2023, 06:13:17 PM »
Probably -- I didn't look at the build options for CWP's pure-ftpd. You'd probably have to re-build it yourself with the full selection of features. At this point, I'm only using sftp on my servers, and CrushFTP for a full-featured FTP/SFTP/web interface workgroup file sharing site.

979
CentOS 7 Problems / Re: CWP Apache domlogs cover 50% of my disk
« on: January 22, 2023, 06:03:47 PM »
What I am suggesting is that you truncate them to 0 bytes -- then start fresh with log rotation (keeping only 7 copies) that are compressed. So it won't build up like that again -- much more manageable but still there for reference in case of an error or security breach.

980
New Modules / Re: [module] PhpMyAdmin auto login
« on: January 22, 2023, 06:22:48 AM »
In my opinion, this should actually be reversed. I don't like auto-logins to security-sensitive areas.
If you don't want phpMyAdmin auto-login, you can simply set the MySQL root password to something different than your system root password. And make sure to update /root/.my.cnf -- then PMA will go to its login screen instead of auto-logging in with your system root credentials (that you also use for CWP).

981
CentOS Configuration / Re: Defualt root Cron list
« on: January 22, 2023, 06:17:45 AM »
/usr/local/cwp/php71/
**sigh**
Sure, it's actually php 7.2, but shouldn't we be moving past the 7.x branch and onto 8.1, given that 7.4 EOL'd in Nov 2022? We're now firmly into 2023.
Then again, this forum version is now 10 years out of date. A full decade! **sigh**

982
FTP / Re: Change home directory for anonymous login
« on: January 22, 2023, 06:14:23 AM »
I used to be a pure-ftpd jockey for 10 years, but then switched over to CrushFTP.

Not sure your exact needs, but you could create a group called nochroot or roamers (whatever you like) and put all non-anonymous FTP users in it that you want to be able to roam the filesystem freely:

Code: [Select]
ChrootEveryone no

# If the previous option is set to "no", members of the following group
# won't be caged. Others will be. If you don't want chroot()ing anyone,
# just comment out ChrootEveryone and TrustedGID.

TrustedGID 10

Or you could ChrootEveryone and set up symlinks in privileged subdirs that let those users break out of the chroot jail:
Quote
Symbolic links can be followed when users are chrooted, even when they are pointing out of the chroot jail. This unique feature makes shared content easy to set up.

983
Postfix / Re: Renewed SSL not loaded up for SNI
« on: January 22, 2023, 05:54:52 AM »
Using SNI here too with dovecot & postfix. My Postfix map seems to be updating just fine with SSL renewals, automagically.
Code: [Select]
-rw-r--r-- 1 root root 2893 Dec 11 11:05 /etc/postfix/vmail_ssl.mapI'll take a closer look at this other server when it renews in 1-2 weeks:
Code: [Select]
-rw-r--r-- 1 root root 12180 Nov 10 11:22 /etc/postfix/vmail_ssl.map

984
CentOS-WebPanel GUI / Re: Error 500 on login - connection not secure
« on: January 21, 2023, 11:01:19 PM »
I think a grassroots show of support helps -- users helping users. I am very busy, but am trying to contribute to this forum at least 2x a week as a way of helping out other users. I've been on this journey a few years and may have some insight to contribute, and others have far more experience so I can glean from them. If nothing else, this forum becomes a pool of knowledge that we can all draw from and find documentation for overcoming various types of errors we encounter along the way.

985
E-Mail / Re: SMTP one-time password
« on: January 21, 2023, 10:29:07 PM »
Are you authenticating users with postfix and have sender & access restrictions in place? Do your client(s) have a static IP address where you could restrict networks?

986
CentOS 7 Problems / Re: CWP Apache domlogs cover 50% of my disk
« on: January 21, 2023, 10:01:13 PM »
If you don't need to save them, first start by truncating your apache error & access logs to zero bytes:
Code: [Select]
truncate -s0 /usr/local/apache/domlogs/*.error.log
truncate -s0 /usr/local/apache/domlogs/*.log
Also consider doing the same if you are sure you don't need your CWP access/error logs (for security auditing/troubleshooting):
Code: [Select]
truncate -s0 /usr/local/cwpsrv/logs/*_logAlso, look under /usr/local/cwp/php71/var/log/

To automatically rotate the logs, add a configuration to logrotate for apache logs. Put this code into /etc/logrotate.d/httpd (or use File Management > Logrotate Manager to create it):
Code: [Select]
/usr/local/apache/domlogs/*log {
    missingok
    notifempty
    sharedscripts
    daily
    rotate 7
    postrotate
        /bin/systemctl reload httpd.service > /var/log/httpd-rotate.log 2>&1 || true
    endscript
    compress
}

987
DNS / Re: @pump_upp - best crypto pumps on telegram !
« on: January 21, 2023, 09:46:53 PM »
obviously, this is the wrong place to be posting spam threads. we don't need shills for crypto pumps here!
can a moderator please delete this thread?

988
PHP / Re: Problem with PHP 7.4 error 500 on all sites
« on: January 21, 2023, 09:45:11 PM »
Is this referring to (standard) php 7.4 or to php-fpm 7.4?

989
CentOS 7 Problems / Re: Pure-FTP fails to run
« on: January 21, 2023, 09:43:38 PM »
I'm sorry but pure-ftpd is running fine on my 3x CWP servers. Did you change a default? Your error pertains to too many levels of symbolic links, so that could be a clue as to its cause. You may want to remove pure-ftpd and reinstall it. Do you have it set for a default configuration or have you edited the conf file?

If I recall, implementing TLS was one of the few changes I made to the out-of-the-box pure-ftpd config. Otherwise what I have is vanilla.

990
How to / Re: How to Change defult public_html folder to another folder?
« on: January 21, 2023, 09:35:48 PM »
If this is a one-off change (and not a tpl permanent change for future account creation), you can either edit the vhosts file, or an .htaccess file to set your site root. Are you using apache or nginx?

Pages: 1 ... 64 65 [66] 67 68 ... 71