On 1/31/22 9:25 pm, Brian Andrus wrote:

touch /etc/nologin

That will prevent new logins.

It's also useful that if you put a message in /etc/nologin then users who are trying to login will get that message before being denied.

All the best,
Chris
--
  Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA

Reply via email to