Background: We have a policy in the company to deactivate the login possibility as much as possible, which is understandable.
I am just wondering if there are any other side effects if you specify /usr/sbin/nologin as the login shell of an account? Apart from the login capability are there any other capabilities or features which will be deactivated? Any other known side effects?
nologinwill prompt the user if they attempt to login and that prompt is customizable you could put anything in the/etc/nologin.txtfile. Usingfalseis another option this will just drop the user with no prompt or anything. – Jason Croyle Feb 25 '21 at 20:20