How to add multiple users at once?
2025-09-03 21:20:10
#1
Hi. I apologize in advance for my bad English - I'm using a translator.
I need to get more students into CloudPanel at school, who will have their own domain, e.g. student01.example.com, student02.example.com, etc. I also need to create an FTP account and database for each student. Before that, I will also have to create the mentioned domains in bulk, which these students will then have access to.
I also wanted to ask if it is possible to create a user role that will have certain restrictions or, conversely, new permissions. There are only 3 options at the moment and I would need to adjust their permissions.
I have CloudPanel installed on Ubuntu 24.04. I know that it will probably only be possible via SSH. Does anyone know a solution? Thank you very much.
2025-09-14 16:02:21
#2
Hi! @@Teo Since CloudPanel doesn’t provide an official API, the best way to bulk-create subdomains, FTP accounts, and databases for students is to use an SSH script. You can maintain a student list in a file and loop through it to automate the setup. GUI roles are limited, so any custom permission restrictions need to be applied at the system level.
Yazdığımız şeyler bizi temsil eder, Efendilik iyidir.
Please Login or Register.
Currently 1 people reading this topic. (1 guest(s))