N nathanc Well-Known Member Jul 20, 2007 #1 Jul 20, 2007 #1 Should litespeed be rans as root in a shared rails env?
M mistwang LiteSpeed Staff Jul 20, 2007 #2 Jul 20, 2007 #2 No, running as root should be avoid whenever possible, too risky. One security flaw will comprise the whole server.
No, running as root should be avoid whenever possible, too risky. One security flaw will comprise the whole server.
N nathanc Well-Known Member Jul 20, 2007 #3 Jul 20, 2007 #3 I agree, however I keep getting this warning [config:vhost:mysite.private] Uid of /mnt/on/my/share/www.mysite.private/web/rails/public/ is smaller than minimum requirement 11, use server uid! I cant use server uid like it recommends cause I need it to run the rails app as the docroot owner. Any recommendations on resolving this warning? mistwang said: No, running as root should be avoid whenever possible, too risky. One security flaw will comprise the whole server. Click to expand...
I agree, however I keep getting this warning [config:vhost:mysite.private] Uid of /mnt/on/my/share/www.mysite.private/web/rails/public/ is smaller than minimum requirement 11, use server uid! I cant use server uid like it recommends cause I need it to run the rails app as the docroot owner. Any recommendations on resolving this warning? mistwang said: No, running as root should be avoid whenever possible, too risky. One security flaw will comprise the whole server. Click to expand...
M mistwang LiteSpeed Staff Jul 20, 2007 #4 Jul 20, 2007 #4 You could make sure the user id of the docroot owner is higher than 11. Never let root user own the docroot directory.
You could make sure the user id of the docroot owner is higher than 11. Never let root user own the docroot directory.