Disabling the shell of user "daemon" (/bin/false)
Posted
by
BurninLeo
on Server Fault
See other posts from Server Fault
or by BurninLeo
Published on 2012-10-20T21:58:49Z
Indexed on
2012/10/20
23:04 UTC
Read the original article
Hit count: 162
on a Linux system there are lot's of users by default: daemon, bin, sys, games, etc.
According to my /etc/passwd most of these users have a shell assigned (/bin/sh) which seems some kind of insecure to me. My naive thinking would say: Only give those users a shell that may login to the server.
Is my thinking wrong?
If not completely wrong: Can I disable the shell for "daemon" and "www-data" without having side effects (e.g. the system wont start or the Apache PHP cannot excute system calls)?
Thanks for your hints!
© Server Fault or respective owner