Skip to main content
IBM  
Shop Support Downloads
IBM Home Products Consulting Industries News About IBM
IBM developerWorks : Security : Education - Tutorials
Securing your Web server
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPreviousNext
4. Jailing your Web users
  


Copying and editing the user authentication files page 9 of 13


Next, copy /etc/passwd and /etc/group to /chroot/httpd/etc and edit the copies so they only contain the user and group the Web server will run under. Based on the example configuration used in this section, /chroot/httpd/etc/passwd would be left with one line that reads:


www:x:80:80:Apache Server:/www:/bin/false

and /chroot/httpd/etc/group with the following single entry:


www:x:80:

Main menuSection menuFeedbackPreviousNext
Privacy Legal Contact