업무/etc
[Linux] passwd 파일내 /bin/false, /bin/nologin 차이
sysops
2022. 5. 6. 14:14
728x90
/bin/false
allows a login, but no shell, no ssh tunnels and no home directory.
시스템의 로그인/FTP/ssh/shell은 불가능
/sbin/nologin
disallows logins completely and returns a polite account unavailable message.
시스템의 로그인/ssh/shell은 불가능, FTP 가능
728x90