网站访问者属于linux系统中的user,group还是other,为什么?

WBOY
Release: 2016-06-06 20:12:55
Original
910 people have browsed it

网站访问者属于linux系统中的user,group还是other,为什么?

回复内容:

网站访问者属于linux系统中的user,group还是other,为什么?

网站访问者访问的是服务器上的程序,而不是Linux系统本身,所以不具备Linux系统的身份,也无所谓user等等。

而网站访问者所能对Linux服务器执行的操作主要看服务器程序所拥有的权限,而服务器程序所拥有的权限与服务器程序的运行用户有关,这里可以算是间接持有权限。

看你的nginx进程用那个用户和用户组来执行,并且跟你访问的文件的所有者和所有组有关咯

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!