hi all
I can't figure out why the /etc/nologin (and also /etc/nologin.boot) file is not removed from my system when I do a shutdown of it.
As you can read here( Linux - Security -> strange ssh problem)
I had some troubles logging on my system.
Now I understood why (thanks sigsegv and krugger), I'd like to fix this. But I do not understand what's going wrong.
This comes from the man shutdown pages :
Quote:
If shutdown is called with a delay, it creates the advisory file /etc/nologin which causes programs such as login(1) to not allow new user logins. Shutdown removes this file if it is stopped before it can signal init
(i.e. it is cancelled or something goes wrong). It also removes it before calling init to change the runlevel.
|
but I'm doing a shutdown like this:
without any delay.
thanks for reading this
yull