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

Pages: [1] 2
1
Hello community,

I’m using a server with CentOS Web Panel (CWP) and I would like to know how to enforce strong password policies when creating email accounts (e.g., at least 12 characters, including uppercase, lowercase, numbers, and special characters).

I’ve seen references to a file called `mail_add.php` in older guides, but I can’t find it in my current installation. I’ve checked the directories `/usr/local/cwpsrv/htdocs/admin/` and `/usr/local/cwpsrv/var/services/users/`, but I couldn’t locate the script where password validation is handled during email account creation.

Is there an official or recommended way to implement strong password requirements for email creation in the user or root panel?

Thanks in advance for any guidance.

2
Installation / Laravel in CWP Panel
« on: April 11, 2025, 06:18:42 PM »
Has anyone set up Laravel to work within CWP for a single user and/or for all users securely? As a user, I tried installing it from the Addons/Script section, but it doesn't work, even though it says it's installed in the specified path."

3
Updates / Problem Yesterday Update (19Dic)
« on: December 20, 2024, 04:58:15 AM »
Yesterday, I perfomed an important update from the CWP root panel. After completing the update,  the created subdomains stopped working and started returning a 500Error. Any Ideas or Scripts to resolve this issue ?

4
CentOS 8 Problems / Re: New Account Failed
« on: December 06, 2024, 01:50:25 PM »
hank you for your suggestion. I haven’t tried what you mentioned about creating a test user from root in the shell or checking what happens in the /home directory. I also haven’t verified if the root user is functioning normally on the system. I’ll follow your steps to perform these tests and let you know the results.

Regarding MySQL, I can access the MySQL root user successfully using mysql -u root -p. Is there anything specific I should check in this context?"**










5
CentOS 8 Problems / Re: New Account Failed
« on: December 04, 2024, 04:42:04 PM »
"The user and the folder are not created. The error appears when trying to create a new user, but nothing is created. It only shows that message."
It's as if the root user had lost the privilege to create new users, but even from a Reseller account, new users cannot be created either

6
CentOS 8 Problems / Re: New Account Failed
« on: December 04, 2024, 03:01:04 PM »
2024-12-04 02:12:33 CreateAccount_FAILED HOMEDIR_EXISTS:qwerty:qwerty.com    /// but the account not created !!

7
CentOS 8 Problems / Re: New Account Failed
« on: December 03, 2024, 10:33:27 PM »
Yes I create a Package for this user.. I proof with the old package (active in other users), not work too

8
CentOS 8 Problems / New Account Failed
« on: December 03, 2024, 04:59:17 PM »
Have an idea ???  when I create a new account, this message appear ::::  Warning! User Account XXXXX not added !!!

using Almalinux 8


9
CentOS 7 Problems / NEW ACCOUNT Failed
« on: December 03, 2024, 04:57:47 PM »
Have an idea ???  when I create a new account, this message appear ::::  Warning! User Account XXXXX not added !!!

10
MySQL / Re: MySQL Manager in CWP not working
« on: October 28, 2024, 08:07:27 PM »
 mysql_upgrade --force
Reading datadir from the MariaDB server failed. Got the following error when executing the 'mysql' command line client
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
FATAL ERROR: Upgrade failed

11
MySQL / Re: MySQL Manager in CWP not working
« on: October 28, 2024, 07:23:47 PM »
mysql -V
mysql  Ver 15.1 Distrib 10.11.9-MariaDB, for Linux (x86_64) using readline 5.1

12
MySQL / Re: MySQL Manager in CWP not working
« on: October 28, 2024, 06:29:36 PM »
Now, my MySQL config is empty. When I insert the previous configuration, the system shows the following error ::::


Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Trying to start mysql server, please wait!
Try to restart Control Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
You can reset the MySQL root password fast with this command: /scripts/mysql_pwd_reset -q


Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

13
MySQL / Re: MySQL Manager in CWP not working
« on: October 28, 2024, 06:18:56 PM »
I don't know where else to check, whether to delete the MySQL configuration, review a MySQL database, I can't think of how to proceed.

14
MySQL / Re: MySQL Manager in CWP not working
« on: October 28, 2024, 06:12:43 PM »
I restore my image disk, and the problem solved, But I still haven't solved the MySQL Manager issue

15
MySQL / Re: MySQL Manager in CWP not working
« on: October 28, 2024, 11:00:02 AM »

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Trying to start mysql server, please wait!
Try to restart Control Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
You can reset the MySQL root password fast with this command: /scripts/mysql_pwd_reset -q


Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

Pages: [1] 2