You don't "usually" need root privs for chroot(), you always do.

This commit is contained in:
Emil Mikulic 2006-07-21 07:17:04 +00:00
parent 4fed6d0665
commit 258d54ed8c
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ Serve at most 4 simultaneous connections:
Log accesses to a file:
$ ./darkhttpd ~/public_html --log access.log
Chroot for extra security (you usually have to be root to do this):
Chroot for extra security (you need root privs for chroot):
$ ./darkhttpd /var/www/htdocs --chroot
Use default.htm instead of index.html: