SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a fresh install of Slack with all packages update to date. I would like to have a web-based front end for end users to be able to create new accounts, host web sites and run scripts, all with quotas.
Bottom line is that I would like for the user to be able to do all of these things (and be billed for it) without me having to do it all.
Where should I start? What steps do I need to take to make this possible?
Although I've never done this personally, I have seen the potential for it to be done ...
If you have a shell script located on your box that:
1. Accepts username/password arguments (for account generation)
2. Generates the necessary directories & sets quotas
3. Updates a MySQL database for your billing reference
4. Sends an email out with a paypal link in for them to pay you (idk about the paypal link - it's just an example)
5. Sends you confirmation of a new signee
Then you can run apache on that box and have apache execute that shell script on-button-click.
The plus side is that it does exactly what you want it to.
The downside is that you gotta write it yourself!
If you can do it by command line, then you can write a script for it, and if you can write a script, then you can execute that script remotely.