Ubuntu Server insecurity?
i just found out that my Ubuntu Server 6.10 has login shells for almost all users set in the /etc/passwd file!
That’s a very bad idea because this maybe enabled someone to install “Data Cha0s Back Backdoor” on my machine :-(
I checked this with 2 other fresh Ubuntu Server 6.10 installations and both had the login shells for users like daemon, mail, www-data and so on. Especially www-data should not have a chance to create a shell in my opinion!
So i changed /bin/sh to /usr/sbin/nologin and hope this makes it a bit more secure.
Hallo Wolfi,
Prinzipiell stimme ich dir zu. statt Allerdings ist das auch in einer standard debian testing installation der Fall, wo lediglich “mysql” und “Debian-exim” auf /bin/false gesetzt sind. und letzlich hängt’s ja noch davon ab ob in /etc/shadow ein passwort gesetzt ist. l.g. eric
Hi! How r u?
nice site!