nginx编译安装之后,启动出现了:nginx: [emerg] getpwnam("nginx") failed
nginx: [emerg] getpwnam("nginx") failed
这个是因为我编译安装nginx的时候指定了--user=nginx和--group=nginx,去除就没事了
--user=nginx
--group=nginx
但是出于安全性考虑,还是用独立权限的账户运行(root权限太大,web渗透的时候可利用的机会太多了)
nginx: [emerg] getpwnam("nginx") failed - 鲲逸鹏 - 博客园 (cnblogs.com)