UIDs & GIDs on multiserver setup

Discussion in 'General' started by spillerm, Nov 12, 2015.

  1. spillerm

    spillerm New Member

    Hi folks,

    I have a problem in my multiserver setup - can you help?
    New ISPC users get IDs > 5000 on my systems. Both systems, the master and the slave, started with the same /etc/passwd and /etc/group.

    When I add a new user via ISPC interface, the following happens:
    - on the master: user, e.g. web97, is created with UID 5130 and GID 5117
    => all needed files, e.g. the /web-files etc., belong to this user
    - on the slave: user web97 gets UID 5130 and GID 5123 => but why?
    => failover will not work anymore as both systems share a GlusterFS

    I wrote a small script, so Icinga2 tells me when the users and groups are out of sync, but I have to fix it manually. Not good in a large growing environment... ;-) I really would appreciate any suggestions.

    Thanks in advance!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess you missed to enable the option "Connect Linux userid to webid" in ISPConfig under System > Server config > Web > Permissions.
    spillerm likes this.
  3. spillerm

    spillerm New Member

    Solved :)

Share This Page