Disabling User Logins to Linux System - Linux Tutorials - Learn Linux Configuration

The time will come when at some point a system administrator needs to disable user accounts. The may be for example due to some suspicious user activity or perhaps due user’s work contract termination. As far the overall system security is concerned it it always good idea to have only those user logins enabled which are necessary for system or company to function. This tutorial explores some way on how to disable user accounts on the Linux system.


This is a companion discussion topic for the original entry at https://linuxconfig.org/disabling-user-logins-to-linux-system