linux - /sbin/nologin是什么意思?
PHP中文网
PHP中文网 2017-04-17 12:59:38
0
2
943
PHP中文网
PHP中文网

认证0级讲师

reply all(2)
巴扎黑

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?

阿神

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!