给普通用户增加启动nginx权限 锦瑟年华 2021-12-01 349 阅读1分钟 使用以下命令: chmod u+s /usr/local/nginx/sbin/nginx # 后边是nginx的启动目录,我的是/usr/sbin/nginx 之后重启nginx即可