我刚从源代码安装了nginx
但是当运行/etc/init.d/php_cgi start时,有一条消息:
Starting php-cgi: spawn-fcgi: can't find user name nginx
...one更多我不知道他们的许可。
以前,我使用yum (CentOS)安装nginx。
发布于 2010-10-14 13:17:18
这将创建用户并将其外壳设置为/bin/false,这样就没有人可以以该用户的身份启动交互式登录。
$ useradd -s /bin/false nginx发布于 2015-04-08 10:46:27
在Ubuntu上,您可以使用以下命令:
adduser --system --no-create-home --shell /bin/false --group --disabled-login nginxhttps://serverfault.com/questions/190917
复制相似问题