Hi,

In ensim there is a command eg:

AddVirUser domain.com username 'full name' proftpd=1 sshd=1 telnet=0

In cpanel it seems that you create a mailuser, an ftp user etc.

How does one create a user and specify which is and isn't allowed? Ideally this would be something via the commandline.

I actually have a registration page which, after someone applies, writes the data to a database. Every 5 minutes a script is run via crontab which checks the dattabase for new entries and creates new users.

Every user needs a mailbox and ftp access as i have squirrelmail plugins which rely on ftp access (eg so they can change their .procmailrc and .forward files).

Thanks for any suggestions!
Dan