guzzlefry | Quick question, is the default httpd.conf for apache2 supposed to be blank? | 00:38 |
---|---|---|
guzzlefry | derp, apache2.conf :P | 00:41 |
sarnold | guzzlefry: yes | 00:42 |
sarnold | oh 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 | ||
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:52 |
fishcooker | but 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_ | 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:57 |
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? | 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 directory | 06: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 in | 06:04 |
_root_ | maccam_: it seems more like the problem with your sshd config file | 06: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 ok | 06: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 themselves | 06:11 |
maccam_ | _root_ noting against root ;) | 06:12 |
vedic | Hello friends, is it possible to find if somebody has tried logging into the server via Live CD? or single user mode? | 06:46 |
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:47 |
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:48 |
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:49 |
vedic | is it possible to find if somebody has tried logging into the server via Live CD? or single user mode? | 06:53 |
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 | 06:54 |
tbird | i want to point http://mydomain.com to localhost in the hosts file. how do i do this? | 07:23 |
tbird | what 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` | ||
fishcooker | http://paste.ubuntu.com/6464264/ | 15:52 |
=== Ursinha is now known as Ursinha-afk | ||
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:33 |
Rory | geoffmcc: How did you install ModSecurity? | 18:39 |
geoffmcc | Rory: apt-get install libapache-mod-security | 18:43 |
Rory | geoffmcc: Why do you think the config file should be in mods-available? | 18:44 |
Rory | geoffmcc: Do you have anything in /etc/modsecurity ? | 18:45 |
geoffmcc | Rory: because i need to sudo a2enmod mod-security | 18:45 |
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:47 |
ubottu | For 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 |
geoffmcc | Rory: http://paste.ubuntu.com/6465032/ | 18:50 |
geoffmcc | Rory: I should also say, I purged it prior to you asking to do it that why says not installed | 18:52 |
Rory | geoffmcc: OK now can you do your a2enmod ? | 18:57 |
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:58 |
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/ | 18:59 |
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:00 |
geoffmcc | Rory: No results.... I think something changed from 12.04 to 13.10 | 19:01 |
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:02 |
Rory | I'd go with 12.04 probably | 19:03 |
Rory | That's what I use on servers | 19:03 |
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 | 19:04 |
lifeless | hallyn_: around by any chance? | 21:29 |
lifeless | rbasak: hey | 22:34 |
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. | 22:35 |
=== Guest66951 is now known as Mapley |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!