Browse - Computer Tips - How can I deny login to a user?

Date: 2013oct27
OS: Linux

Q.  How can I deny login to a user?

A.  Set their shell to /sbin/nologin

chsh -s /sbin/nologin USERNAME
See "man nologin" for more info.