/srv/irclogs.ubuntu.com/2013/11/23/#ubuntu-server.txt

guzzlefryQuick question, is the default httpd.conf for apache2 supposed to be blank?00:38
guzzlefryderp, apache2.conf :P00:41
sarnoldguzzlefry: yes00:42
sarnoldoh you foud it :)00:42
basil_any chance of advice on troublesooting vncserver on Ubuntu 12.04 64bit server?01:28
=== HiddenDj- is now known as HiddenDjinn
fishcookermy 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 reported03:52
fishcookerbut when i reboot.. i only get "grub> "03:53
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:31
_root_hello05: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:57
guzzlefryWhat 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?05:58
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 directory06:03
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 in06:04
_root_maccam_: it seems more like the problem with your sshd config file06:04
_root_maccam_: http://blog.srmklive.com/2013/04/24/how-to-setup-sftp-server-ftp-over-ssh-in-ubuntu/06:05
_root_maccam_: oh you want to make an ftp server ok06:06
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 themselves06:11
maccam__root_ noting against root  ;)06:12
vedicHello friends, is it possible to find if somebody has tried logging into the server via Live CD? or single user mode?06:46
vedicI 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 means06:47
vedicI have ssh access to it and server is located at remote place06:47
guzzlefrymaccam_: 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:48
guzzlefrymaccam_: 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:49
vedicis it possible to find if somebody has tried logging into the server via Live CD? or single user mode?06:53
vedicI 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 means06:54
tbirdi want to point http://mydomain.com to localhost in the hosts file. how do i do this?07:23
tbirdwhat is the correct syntax?07:25
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== JanC_ is now known as JanC
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== rainbowdash` is now known as Mapley
=== Mapley is now known as rainbowdash`
fishcookerhttp://paste.ubuntu.com/6464264/15:52
=== Ursinha is now known as Ursinha-afk
geoffmccI 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:33
Rorygeoffmcc: How did you install ModSecurity?18:39
geoffmccRory: apt-get install libapache-mod-security18:43
Rorygeoffmcc: Why do you think the config file should be in mods-available?18:44
Rorygeoffmcc: Do you have anything in /etc/modsecurity ?18:45
geoffmccRory: because i need to sudo a2enmod mod-security18:45
Rorygeoffmcc: Can you please pastebin the output of "sudo apt-get purge libapache-mod-security && sudo apt-get install libapache-mod-security"18:47
Rory!paste18:47
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.18:47
geoffmccRory: http://paste.ubuntu.com/6465032/18:50
geoffmccRory: I should also say, I purged it prior to you asking to do it that why says not installed18:52
Rorygeoffmcc: OK now can you do your a2enmod ?18:57
geoffmccRory: ERROR: Module mod-security does not exist!18:58
geoffmccRory: everything i read says it should be there.. I think i might try to git it rather than apt-get18:58
Rorygeoffmcc: Does the file mod-security.conf exist in /etc/apache2/conf.d ?18:59
Rorygeoffmcc: If it does, you could try moving it out of there into /etc/apache2/mods-available/18:59
geoffmccRory: Yeah, i read that somewhere but  /etc/apache2/conf.d: No such file or directory19:00
Rorygeoffmcc: Can you do "sudo updatedb && locate mod-security.conf"19:00
geoffmccRory: No results.... I think something changed from 12.04 to 13.1019:01
geoffmccRory: 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 long19:02
RoryI'd go with 12.04 probably19:03
RoryThat's what I use on servers19:03
geoffmccRory: 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 though19:04
lifelesshallyn_: around by any chance?21:29
lifelessrbasak: hey22:34
lifelessrbasak: 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.22:35
=== Guest66951 is now known as Mapley

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!