Default User Folders?

2 posts / 0 new
Last post
#1 Thu, 02/25/2010 - 01:15
MACscr

Default User Folders?

I am using virtualmin gpl for basically handling the administration of ssh users and their quotas. The server is just going to be used for sftp access. I setup custom shells for email users so that sub users could be created for each account as well and share the same quotas, etc. Plus i have having virtualmins api to access the info remotely.

Anyway, i am not using apache or mail or anything like that on this server, so i have no need for the cgi-bin, mail, public_html, etc folders. Is there a user directory template or such that i can modify so that those folders are not created each time an account is created?

Also, if you have any better ideas for what im trying to accomplish (easy sftp user/quota management/reporting), I am all ears.

Thu, 02/25/2010 - 23:41
andreychek

Hrm, whenever you create your users, is the "Setup Website for Domain" feature disabled?

If not, make sure it is, as that may prevent those directories from being created.

If that doesn't help, I have two thoughts --

  1. You could always create a script that deletes the directories you don't want after the account is created, as part of the Post Setup.

  2. You can file a feature request, and ask that those directories only be created if "Setup Website for Domain" is enabled. Since those dirs are only needed for domains handling websites, they probably shouldn't be created unless you're serving web pages.

    -Eric

Topic locked