Ticket #216 (new enhancement)

Opened 1 year ago

Last modified 6 months ago

Domains creation should be simplified by making use of adduser and home skeletons

Reported by: Raphael Geissert Assigned to:
Priority: major Milestone: ispCP ω 1.1.0
Component: Backend (Engine) Version: ispCP ω 1.0.0 - RC2
Severity: Hard Keywords: adduser,home skeletons
Cc:

Description

By using adduser's create home and specifying a skeleton directory the code could be reduced and it would be easier to modify the default structure and contents of a domain. I personally recommend using this solution instead of making the perl script create everything, but write an equivalent of the actions performed by adduser when creating the home directory so the usage of a skel is compatible with distros/OS' that doesn't provide such a functionality.

Attachments

Change History

(in reply to: ↑ description ) 05/09/07 11:26:39 changed by anonymous

Replying to Raphael Geissert:

equivalent of the actions performed by adduser when creating the home directory so the usage of a skel is >compatible with distros/OS' that doesn't provide such a functionality.

I think that does not make sense in all cases. What if you want to install software /update an account later on? You can't copy a skel directory over existing data. Also there is no need to copy data directly. In most cases it is sufficient to just link to existing directories and only creating the ones that have to be unique (config files/upload dirs).That would save lots of space.

05/10/07 19:57:58 changed by Raphael

I don't understand what you are talking about. What I'm talking about in the part of my message you quoted is that if adduser is also used to create the home directory then a recommendation is to write a script called 'adduser' which would be used in case the distribution/OS doesn't support adduser (or copying home skeletons, etc).

05/13/07 13:13:51 changed by malte

  • milestone changed from ispCP ω 1.0.0 - RC3 to ispCP ω 1.1.0.

07/07/07 03:33:15 changed by anonymous

07/07/07 04:34:36 changed by anonymous

02/17/08 14:41:05 changed by rats

  • severity set to Hard.
  • milestone changed from ispCP ω 1.1.0 to Working.

02/18/08 00:43:16 changed by rats

  • priority changed from trivial to major.
  • milestone changed from Working to ispCP ω 1.1.0.

02/27/08 19:04:26 changed by zothos

I would like to see this in 1.1 :) would be a very nice feature


Add/Change #216 (Domains creation should be simplified by making use of adduser and home skeletons)