Linux users and groups for a LAMP server

后端 未结 5 1316
醉梦人生
醉梦人生 2021-02-09 19:32

What is the best practice for setting up a LAMP server in terms of linux users and groups? If there are multiple sites hosted on the same server, is it best to have a single us

5条回答
  •  佛祖请我去吃肉
    2021-02-09 20:15

    I assume you don't want to go crazy and get WHM for cPanel and may want to do this inexpesnively.

    I think its a best practice to have each user access their space from their own username and group - especially if unrelated users may be using the webserver.

    If you have over 10 domains and users and want to keep accounts segregated to their own space, I would consider using Webmin with VirtualMin installed on the server. This easily handles these type of issues, within a nice, free install. Otherwise, you'll have to purchase a commercial product or handle everything manually - a real pain, but it can be done (not recommended for a commercial venture).

    Also, Xen and VMS might be overkill, but also not as easy to manage as Webmin/VirtualMin for 10-100+ accounts.

提交回复
热议问题