我可以删除 /etc/nologin 而不产生任何不良影响吗?

我可以删除 /etc/nologin 而不产生任何不良影响吗?

/etc/nologin是一个指向/var/lib/initscripts/nologin且不/var/lib/initscripts/nologin存在的软链接。

gsutil这导致使用Google Storage 应用程序的备份过程出现问题。

如果我删除/etc/nologin,会发生什么?

使用 Ubuntu 14.04。

答案1

man 5 nologin

If  the  file  /etc/nologin exists and is readable, login(1) will allow
access only to root.  Other users will be shown the  contents  of  this
file and their logins will be refused.

由于您的nologin无法读取,因此它可能根本不存在。您可以删除符号链接。

相关内容