man chroot
On 6 Aug 2009, at 01:06, Igor Cicimov wrote:
Hi all,
I have built and install apache2.2.11 on solaris 9 and all is working fine but when I put the server in chroot I faced some problems. More specifically the server complains about the user I'm running apache under and says "can't find the user with the given UID". My chroot is /chroot and when i built it I have transfered the /etc/passwd, /etc/group, /etc/netconfig, /etc/resolv.conf and /etc/hosts files into /chroot/etc directory and I have transfered all the libraries linked to the httpd process that I could find with ldd and truss. Any idea what am I still missing?
What happens when (in a shell) you perform the same chroot then su
to the apache user/group?
If that doesn't tell you anything useful, tell us whether you're apache
within a chroot, or using Apache's ChrootDir.
--
Nick Kew
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx