CloudPanel 2.3.0 Release: New Commands, Translations, and Security Fixes
The CloudPanel 2.3.0 release brings new CLI root user commands, extended language support, bug fixes, and security improvements. We cover the latest release highlights in this article.
What’s New with CloudPanel 2.3.0?
1. New CLI Root User Commands
CloudPanel has added new CLI root user commands in the 2.3.0 release. Here's the list of new CLI root user commands:
User Commands:
1. Adding Users
This command allows you to add a new user to CloudPanel. It is a simple way to create new accounts and grant them access to your CloudPanel platform. Using this command, you can provide information such as username, password, and email address.
To add an admin user, use the following command:
clpctl user:add --userName='john.doe' --email='john.doe@domain.com' --firstName='John' --lastName='Doe' --password='!password!' --role='admin' --timezone='UTC' --status='1'
To add a site manager, use the following command:
clpctl user:add --userName='john.doe' --email='john.doe@domain.com' --firstName='John' --lastName='Doe' --password='!password!' --role='site-manager' --timezone='UTC' --status='1'
To add a user who is restricted to specific sites, use the following command:
clpctl user:add --userName='john.doe' --email='john.doe@domain.com' --firstName='John' --lastName='Doe' --password='!password!' --role='user' --sites='domain.com,domain.io' --timezone='UTC' --status='1'
2. Deleting a User
If you need to remove a user from the CloudPanel, the user:delete
command makes it easy.
Provide the username of the user you'd like to delete, and the command will take care of the rest, removing the user account and its associated data.
clpctl user:delete --userName='john.doe'
3. List Users
With the user:list
command, you can quickly view all user accounts within CloudPanel. It is helpful when managing multiple users or needing a quick overview of existing accounts.
To list all users, use the following command:
clpctl user:list
Site Command:
1. Installing a Certificate
You can use the following command to install an SSL certificate for a specific site. Keep in mind that the certificateChain
argument is optional:
clpctl site:install:certificate --domainName=www.domain.com --privateKey=/path/to/private.key --certificate=/path/to/certificate.crt --certificateChain=/path/to/chain.crt
By executing this command, you can install the certificate for the specified domain by providing the required file paths for the private key, certificate, and (optionally) the certificate chain.
2. Enhancements
When setting up new WordPress sites, the site username and password can now be entered manually. It provides more control and customisation for users during the creation process.
3. New Translations
CloudPanel 2.3.0 now supports the Bulgarian language.
4. Bug Fixes
The following bugs are fixed for CloudPanel 2.3.0:
5. Security Fixes
CloudPanel 2.3.0 addresses security vulnerabilities, ensuring a more secure environment for users and applications.
- Privilege Escalation to root from user
- OS Command Injection vulnerability fix.
Summary
The CloudPanel 2.3.0 release brings new enhancements and fixes to improve user experience and increase security. The release introduces new CLI root user commands, including options for managing users and installing-site certificates.
CloudPanel 2.3.0 extends language support with Bulgarian translation. The update also addresses bug fixes related to user and domain name validation and CLI password handling.
Upgrade to CloudPanel 2.3.0 today and stay informed with the latest news on the CloudPanel blog.