apache2中的httpd.conf的問題

看板FreeBSD作者 (嗯嗯)時間21年前 (2005/03/10 00:56), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
# # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use "User nouser" and "Group nogroup". # . On HPUX you may not be able to use shared memory as nobody, and the # suggested workaround is to create a user www and use that user. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 60000; # don't use Group #-1 on these systems! # 這段文字不是很了解他的意思 有的書上建議User和Group設定www 可是有的書又建議設定為nobody 請問兩者有何不同呢? 這兩行設定是用來做什麼的 謝謝 -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.245.178
文章代碼(AID): #12Boh97F (FreeBSD)
文章代碼(AID): #12Boh97F (FreeBSD)