巴扎黑2017-04-17 13:01:38
Taking your example, I don’t need a mail account, so what account should I use? Use root?
If there is a security vulnerability in the mail service, wouldn’t it be possible for an attacker to gain root privileges?
阿神2017-04-17 13:01:38
If a user's default shell is set to /sbin/nologin, this user is prohibited from logging into the system
For example, you can set the user default shell of applications such as nginx mysql php-fpm to /sbin/nologin
Improve security