[00:38] <guzzlefry> Quick question, is the default httpd.conf for apache2 supposed to be blank?
[00:41] <guzzlefry> derp, apache2.conf :P
[00:42] <sarnold> guzzlefry: yes
[00:42] <sarnold> oh you foud it :)
[01:28] <basil_> any chance of advice on troublesooting vncserver on Ubuntu 12.04 64bit server?
[03:52] <fishcooker> my installation failed on "grub install on hardisk step".. i've done this # mount /dev/sda1 /mnt then # grub-install --root-directory=/mnt /dev/sda".. finished and no error reported
[03:53] <fishcooker> but when i reboot.. i only get "grub> "
[05:31] <maccam_> Hey all — I'm trying to get a handle on permissions and file ownership for my web server.  Any of you care to offer some guidance?
[05:57] <_root_> hello
[05:57] <maccam_> Hey all — I'm trying to get a handle on permissions and file ownership for my web server.  Any of you care to offer some guidance?
[05:58] <guzzlefry> What specifically do you need help with?
[05:58] <_root_> for these PHP scripts like SMF; they ask in various times to access the htdocs via FTP to change the file permissions; For this Job should I install an FTP server or Just tweak my ssh configurations?
[06:03] <maccam_> I need to get a handle on file permissions and ownership.  The default install of ubuntu assigned /var/www/ to root:root.  I set up new users, gave them sudo capabilities, and now when we try to sftp in (it works) we don't have permission to write to the web directory
[06:04] <maccam_> I'd like to know what steps I must take to get everything locked down, secure, and safe, starting with enabling the users write permissions in the /var/www/ directory when sftping in
[06:04] <_root_> maccam_: it seems more like the problem with your sshd config file
[06:05] <_root_> maccam_: http://blog.srmklive.com/2013/04/24/how-to-setup-sftp-server-ftp-over-ssh-in-ubuntu/
[06:06] <_root_> maccam_: oh you want to make an ftp server ok
[06:11] <maccam_> we can sftp in.  we were doing it as root just fine, but I'd much rather only allow users to sftp in as themselves
[06:12] <maccam_> _root_ noting against root  ;)
[06:46] <vedic> Hello friends, is it possible to find if somebody has tried logging into the server via Live CD? or single user mode?
[06:47] <vedic> I tried "last reboot|less" and it says that few days back somebody had restarted the server. I want to know if he was successful in logging in by any means
[06:47] <vedic> I have ssh access to it and server is located at remote place
[06:48] <guzzlefry> maccam_: sudo just lets users execute things as root when they call the command. You don't want that when using sftp anyway, too easy to make a big mistake.
[06:49] <guzzlefry> maccam_: What I do is create a group called developers and add the users to that. Then set whatever directories to be owned by the developer group, and also add write permissions for group owner.
[06:53] <vedic> is it possible to find if somebody has tried logging into the server via Live CD? or single user mode?
[06:54] <vedic> I checked "last reboot|less" and it says that few days back somebody had restarted the remote server. I want to know if he was successful in logging in by any means
[07:23] <tbird> i want to point http://mydomain.com to localhost in the hosts file. how do i do this?
[07:25] <tbird> what is the correct syntax?
[15:52] <fishcooker> http://paste.ubuntu.com/6464264/
[18:33] <geoffmcc> I am trying to install ModSecurity in 13.10 server, but i am missing mods-available/mod-security.conf in apache directory. Does anyone have any experience with this?
[18:39] <Rory> geoffmcc: How did you install ModSecurity?
[18:43] <geoffmcc> Rory: apt-get install libapache-mod-security
[18:44] <Rory> geoffmcc: Why do you think the config file should be in mods-available?
[18:45] <Rory> geoffmcc: Do you have anything in /etc/modsecurity ?
[18:45] <geoffmcc> Rory: because i need to sudo a2enmod mod-security
[18:47] <Rory> geoffmcc: Can you please pastebin the output of "sudo apt-get purge libapache-mod-security && sudo apt-get install libapache-mod-security"
[18:47] <Rory> !paste
[18:50] <geoffmcc> Rory: http://paste.ubuntu.com/6465032/
[18:52] <geoffmcc> Rory: I should also say, I purged it prior to you asking to do it that why says not installed
[18:57] <Rory> geoffmcc: OK now can you do your a2enmod ?
[18:58] <geoffmcc> Rory: ERROR: Module mod-security does not exist!
[18:58] <geoffmcc> Rory: everything i read says it should be there.. I think i might try to git it rather than apt-get
[18:59] <Rory> geoffmcc: Does the file mod-security.conf exist in /etc/apache2/conf.d ?
[18:59] <Rory> geoffmcc: If it does, you could try moving it out of there into /etc/apache2/mods-available/
[19:00] <geoffmcc> Rory: Yeah, i read that somewhere but  /etc/apache2/conf.d: No such file or directory
[19:00] <Rory> geoffmcc: Can you do "sudo updatedb && locate mod-security.conf"
[19:01] <geoffmcc> Rory: No results.... I think something changed from 12.04 to 13.10
[19:02] <geoffmcc> Rory: I should probably run 12.04 anyways until the next LTS so maybe i will start again. I am working with a fresh install right now so it wont take me long
[19:03] <Rory> I'd go with 12.04 probably
[19:03] <Rory> That's what I use on servers
[19:04] <geoffmcc> Rory: Yeah, i started to get it and then thought i would check out the latest as i have been away for a while. Thanks for trying though
[21:29] <lifeless> hallyn_: around by any chance?
[22:34] <lifeless> rbasak: hey
[22:35] <lifeless> rbasak: I'm not sure they are dupes; since one is talking about running dhcpd *in* the container, the other is talking about the containers own ability to get connectivity.