Connect Linux userid to webid

Discussion in 'Installation/Configuration' started by HSorgYves, Apr 5, 2013.

  1. HSorgYves

    HSorgYves New Member

    I have a few webs on an ISPConfig server. How can I enable "Connect Linux userid to webid" now? I want the existing webs to get a connection... or do I need to do that connection manually?

    Thanks,
    Yves
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Why do you want to enable that? This function is only useful for mirror servers in a multiserver setup.
     
  3. HSorgYves

    HSorgYves New Member

    Because I want to setup a mirror server... ;-)
     
  4. HSorgYves

    HSorgYves New Member

    @Till: What should I do?
     
  5. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    You can enable it now but it will work only for new sites and not existing ones and you might get uid conflicts as this option and. Mirror setup in general is normally setup before you add the first site.
     
  6. HSorgYves

    HSorgYves New Member

    Why can't I simply:
    Code:
    # cat /etc/passwd
    ...
    web1:x:5004:5005::/var/www/clients/client2/web1:/bin/false
    ...
    and then:
    Code:
    # cd /var
    # find . -uid 5004 | xargs chown 10001
    and finally the same for the group?

    Do I need to change ispapps and ispconfig as well?

    Thanks for your help,
    Yves
     
  7. HSorgYves

    HSorgYves New Member

    I have tried to modify the UID and GID manually and I have not encountered any problems so far.

    Some things to keep in mind when making these changes are:

    1) The WebID is added to the "Start ID for userid/webid connect"
    2) The Client is created when its first Web is created
    3) ispapps and ispconfig do not need to be modified

    Have fun,
    Yves
     

Share This Page