Re: Ubuntu Server Tips

2009-08-17 Thread Mark van Harmelen
Hi there Dave Walker wrote: > ...  Personally i'm finding it quite > tricky to think of things that perhaps a novice server user would find > useful, and i suspect the rest of you will agree.  Many of the tips seem > "obvious", until you actually think about them. Some thoughts to try and grow th

Upcoming Ubuntu Server Meeting - Tuesday, 18th of August - 15:00 UTC - #ubuntu-meeting

2009-08-17 Thread Mathias Gug
Hi, The next Ubuntu Server Meeting is scheduled for Tuesday, August 18th, 15:00 UTC in #ubuntu-meeting. If there are any discussion points or items for decision that you would like to add to the agenda [1], add an item to it and begin preparations to present a short introduction to the topic on #

Re: Permissions on /var/www

2009-08-17 Thread Alexander Kraev
Hi Brazen, Right you are, that was not an appropriate example. I meant that all virtual host under the /var/www has to be owned by the same user and group www-data in case if you have only one user to manage many virtual hosts. www-data as an owner of root directory is not a secure option. Sas

Re: Ubuntu Server Tips

2009-08-17 Thread Alexander Kraev
Hi Dave, Just finished the Russian translations. There is also a typo in the tip #24: "Ubuntu Server Tip: Use "pastebinit" _top_ copy a file, or output of a command to a webpage allowing you to share it with others. e.g. "pastebinit /proc/cpuinfo" or "df -h | pastebinit"" s/top/to/g Regards,

Re: Permissions on /var/www

2009-08-17 Thread James Dinkel
On Mon, Aug 17, 2009 at 12:00 PM, Alexander Kraev wrote: > Hi, > > It depends on web-server architecture and how many sites you are going > to run inside /var/www. > > root:root is good for /var/www if you are running many sites in > /var/www. Let's say: > > /var/www/example.org > /var/www/exampl

Re: Permissions on /var/www

2009-08-17 Thread Alexander Kraev
Hi, It depends on web-server architecture and how many sites you are going to run inside /var/www. root:root is good for /var/www if you are running many sites in /var/www. Let's say: /var/www/example.org /var/www/example.net /var/www/sub.example.org Each of these directory has to be owned as

Re: Permissions on /var/www

2009-08-17 Thread Jim Tarvid
I've found putting the web root in user space preferable to /var/www. Since many users have multiple websites I place each web tree under /home/user/public_html. Still leaves rafts of security question for which I find no complete solution other than virtual private web servers but if I remove she

Re: Permissions on /var/www

2009-08-17 Thread Charles Hooper
IMHO I feel that the current permissions of root:root 755 are sufficient. Should a user/application have specific requirements then this can be easily changed. Regards, Charles Hooper Giorgio Zarrelli wrote: > Hi, > > > better would be to let the subdir under /var/www to be owned by > user.apa

Re: Permissions on /var/www

2009-08-17 Thread Giorgio Zarrelli
Hi, better would be to let the subdir under /var/www to be owned by user.apachegoup and set to 755. This way, each user can manage his contents and apache can only read them and show their contents to visitors. Giorgio Il Monday 17 August 2009 14:18:38 Roy Sigurd Karlsbakk ha scritto: > On 17

Re: Permissions on /var/www

2009-08-17 Thread Roy Sigurd Karlsbakk
On 17. aug.. 2009, at 13.43, Armindo Silva wrote: > Shouldn't be owned by www-data so apache can write there? No. Allowing the apache user to change or delete its website is no good and allows for much easier hacking/defacing the site(s) on the box. If the apache user cannot write to /var/ww

Re: Ubuntu Server Tips

2009-08-17 Thread Dave Walker
Dave Walker wrote: > Hi, > > As blogged [0], we really need some more Ubuntu Server Tips for > inclusion in the ubuntu-server-tips project. I won't repeat the > contents of the blog post, but if anyone has any useful tips - raising a > bug would be highly appreciated. > > Kind Regards, > Dave Walk

Re: Permissions on /var/www

2009-08-17 Thread Armindo Silva
Shouldn't be owned by www-data so apache can write there? On Fri, Aug 14, 2009 at 11:06 PM, James Dinkel wrote: > 755 owned by root.root > > > On Fri, Aug 14, 2009 at 4:11 PM, Michael S. Mason wrote: > >> Hello Community Team: >> >> What is the default permissions for /var/www (?) >> >> Should t