Re:Linux Sysadmin/DevOps Interview Questions
by nailer on Wednesday May 04, 2016 @05:02AM
(#11627118)
/sbin/nologin actually does some cool logging stuff that /bin/false doesn't, which is why the distros generally use it.
[ Parent
| on HN ]
Re:Linux Sysadmin/DevOps Interview Questions
by txutxu on Wednesday May 04, 2016 @08:22AM
(#11627787)
Cool stuff as in display a message that the account cannot login, which leads to brute-force service, process or other stuff system user names.
Failed logins will be logged either way.
I think still could go with the output of `type -P false`. Unless the project requests that feature of messaging to the (forbidden) user, its forbidden logins.
It could work even on embedded devices having only 'false' available.