Loading

摘要: 方法一: 依次执行如下命令 cd /usr/local/nginx/sbin/ chown root nginx chmod u+s nginx 优点是,方便简单,缺点是,既然sudo权限都不给了。这个set uid 最后也是让nginx运行在root权限下。 ps -ef |grep nginx 阅读全文
posted @ 2020-12-04 10:11 五月的麦田 阅读(806) 评论(0) 推荐(0) 编辑