Ticket #216 (new enhancement)

Opened 5 years ago

Last modified 4 years ago

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

Reported by: Raphael Geissert Owned by:
Priority: major Milestone: ispCP ω 1.x.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.

Change History

comment:1 in reply to: ↑ description Changed 5 years ago 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.

comment:2 Changed 5 years ago 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).

comment:3 Changed 5 years ago by malte

  • Milestone changed from ispCP ω 1.0.0 - RC3 to ispCP ω 1.1.0

comment:6 Changed 4 years ago by rats

  • Severity set to Hard
  • Milestone changed from ispCP ω 1.1.0 to Working

comment:7 Changed 4 years ago by rats

  • Priority changed from trivial to major
  • Milestone changed from Working to ispCP ω 1.1.0

comment:8 Changed 4 years ago by zothos

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

Note: See TracTickets for help on using tickets.