Auto create user, mysql and ftp
I could a write a bash script that would create a new user and at the same time
- create a MySQL database based on the username / password - create an FTP account - create an email account then send a mail to the user that the account had been set up. For example: User: abc password: abc123 Manually this would be: User adduser mysql part -------------- create mysql database 'abc' grant all on abc.* to abc@localhost identified by 'abc123' ftp ??? ???? Any suggestions appreciated. |
This thread has some good discussion about creating a script to make new users.
Creating the ftp and mail accounts depend on what services you are using. |
All times are GMT -5. The time now is 06:22 PM. |