We help IT Professionals succeed at work.

How to get a customized message that if user being authenticated doesn't exist in freeBSD?

Balbir Singh
Balbir Singh asked
on
I have a freeBSD 11.1 box and it is configured to have password based authentication over SSH. I am wondering if it is possible to some kind of customized message if the user being authenticated is not available locally ( like no entry in /etc/passwd )?
Comment
Watch Question

Principal Software Engineer
Commented:
Your network security people would certainly frown on it if such a policy were implemented, because an attacker would know after one try whether it was worth continuing with that username or whether to drop it and try a different one.