Chrooted services can't can't find respective user/group
Posted:
Sun Apr 20, 2003 5:17 pm
by noth
Well the title says it all. Services such as apache squid and the like that start as root then drop to (ie. apache/apache) can't find user/group. I'm using the the standerd Gentoo kernel 2.4.20-r2, not sure which version of grsec it uses but it tends to be bleeding edge, so I would guess the latest release.
Posted:
Mon Apr 21, 2003 5:30 am
by goodbyte
Have you made a copy of /etc/passwd to the chrooted jail? You probably need access to /etc/nsswitch.conf and /lib/libnss_* also.
Do you get any log entries?
Posted:
Tue Apr 22, 2003 3:29 pm
by noth
goodbyte wrote:Have you made a copy of /etc/passwd to the chrooted jail? You probably need access to /etc/nsswitch.conf and /lib/libnss_* also.
Do you get any log entries?
Thanks this had been driving me nuts.
I had everything but the libs copied over....