httpd: bad user name nobody

Discussion in 'Programming' started by balamurugan_r83, Jun 5, 2007.

  1. #1
    I created a chroot jail setup in Fedora Core 2 in a 64 bit OS. After creating the chroot setup and copied the necessary files from the system (like /etc/hosts, /etc/password ...), I tried running the apache in the chroot jail by the command '/usr/sbin/chroot /CHROOT/ /apache/bin/httpd -k start'. But this fails with an error ' httpd: bad user name nobody'. I have greped the 'nobody' part from both the '/etc/passwd' and '/etc/group' files and put it in chroot jail. There is 'nobody' user with id '99'. How to solve this? Any idea?
     
    balamurugan_r83, Jun 5, 2007 IP