/etc/nologin
是一个指向/var/lib/initscripts/nologin
且不/var/lib/initscripts/nologin
存在的软链接。
gsutil
这导致使用Google Storage 应用程序的备份过程出现问题。
如果我删除/etc/nologin
,会发生什么?
使用 Ubuntu 14.04。
答案1
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
无法读取,因此它可能根本不存在。您可以删除符号链接。