What are the `nologin` and `false` shells for?
BeginnerConceptPermissions, Users & sudo
Answer
Both prevent interactive login for service accounts. /usr/sbin/nologin prints "This account is currently not available" and exits; /bin/false exits silently. Neither prevents processes from running as that user, and SSH port forwarding may still work unless sshd restricts it.
More on Permissions, Users & sudo
Explain the rwx permission model for files and directories.BeginnerHow does octal notation work in chmod?BeginnerWhat does chown do and who can run it?IntermediateWhat is umask and how is the final permission calculated?IntermediateWhat is SUID and give a real example?IntermediateWhat does SGID do on files versus directories?Intermediate