What I need is to disable all remote login while I do maintenance to the machine without rebooting in single user mode. I don't want to just disable a particular user, but thanks for the info, I may use that for a different situation later.
I know that you can place a file, either nologin, or nologon in a specific file system, and if that file is present, only logon from the console is allowed. I can not remember if it is nologin or nologon, and I can't remember where to put the file. I have done this before, and it works great...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.