[00:01] superboot: http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04.3-server-amd64.list ? === martinst is now known as martins-afk === markthomas|away is now known as markthomas === markthomas is now known as markthomas|away [01:09] In 14.04 is it advisable to install mariadb from the base repositories or use their repository? [01:10] storrgie: base repo is probably fine, one of our users (otto) does a good job keeping up on security fixes [01:10] storrgie: though feel free to use their repository if you'd feel better about that [01:16] sarnold, hypothetical, if someone was able to gain underprivileged user access, say through wordpress (if I have a php or wordpress user to run their garbage code), would that user be able to see the crontab, or is that a root only thing? [01:16] I ask because I typically do this on my mariadb installs: @weekly mysqlcheck -o --user=root --password= -A [01:20] storrgie: that should be safe [01:20] sarnold, along those same lines, whats the convention for installing something like wordpress? I always just make a wordpress user and chown the wp install directory(s) with that user account [01:20] storrgie: the crontabs are stored in /var/spool/cron/crontabs/, which has restrictive permissions, and the individual files have restrictive permissions, too; [01:21] storrgie: that's a good approach; especially if you make sure the user running the webserver / wordpress executables doesn't have write access to its own files [01:23] sarnold, isn't there a way to pass an arg when you make the user account that makes it a 'system' account effectively iwth no home directory? [01:24] sarnold, is there a guide on hardening nginx that you'd recommend? [01:24] sorry with all the questions, I still have more [01:25] is fail2ban considered useful or is there alternatives that are better? [01:26] storrgie: hmm, adduser seems to create homedirs even with --system ... that's probably n ot terrible though, only things that use getent(3) would care. You could set the permissions on its directory to forbid it from writing in the directory, if you wish [01:26] storrgie: nginx hardening is best asked to teward ^^ [01:27] teward, sir are you present? [01:27] storrgie: and some people do like fail2ban, I think it's better to just turn off password authentication once your keys are on the system, and avoid bruteforce password searches entirely that way, but blocking those hosts via iptables isn't a bad idea [01:27] storrgie: ufw can also do rate limiting, which may help avoid need for fail2ban too [01:28] storrgie: .. I'm just reluctant to run scripts as root on data supplied by attackers, even if the log files "should" be safe ... [01:36] sarnold, thats a good point [01:37] I've already installed it, is it easy to remove (will it leave system cruft)? I'm already using key based auth and a diff port [01:37] storrgie: apt-get purge will clean up config files too [01:40] I like the ufw limit a lot more [01:47] sarnold, just installed php5 and php5-fpm, do you know where the php.ini file is located now days? [01:48] on fedora/centos its /etc/php.ini [01:49] sarnold, nvm, found it at: sudo vim /etc/php5/fpm/php.ini === kees_ is now known as kees === neunon_ is now known as neunon [04:19] Evening folks, having a few issues with ubuntu server. for some reason when i try to boot normally the boot fails and the process restarts. the message i keep getting is / boot terminated with error 1 [04:19] any clues? [04:19] However when i boot into recovery and continue normal boot i lets me into console :| [05:25] apologies to those that just saw this on #ubuntu, how are most folks managing user accounts/ids/groups on 20+ systems. ldap? [05:25] or just synchronizing passwd/shadow/etc [05:27] fattywumpus: Probably using LDAP at that point. [05:30] fattywumpus: Another method would be to use something like puppet to roll out user accounts. [05:31] jpds_: that's what i was wondering, if folks are digging into that route these days. it's been a few years and i've done ldap a few times [05:31] haven't tried any of the cool new tools for managing users [05:31] I hear freeipa is good. [05:33] whoa, never heard of it, looks interesting..thanks! [06:09] Good morning. === DenBeiren is now known as zz_DenBeiren [07:19] Hello [07:20] Please give me command line for format root sda [07:20] debian [07:26] megapixel: you want to remove the current partitions on your /dev/sda disk and create a new one, or? [07:26] yes [07:27] you could use 'fdisk' or 'sfdisk' for that [07:27] sfdisk is probably easiest [07:28] although it doesn't understand GPT [07:28] there is also 'parted' === Lcawte|Away is now known as Lcawte [08:23] Hello? [08:23] Is there a grep command to search for a line of code, as I can't find the file containing the code? [08:37] linuxmint: yes [08:48] I'm trying to setup dovecot with sieve and a default script in the path: /var/lib/dovecot/sieve/default.sieve. But when an email arrives i get the following error: Error: sieve: main script: failed to stat sieve script: stat(/var/lib/dovecot/sieve/default.sieve) failed: Permission denied (euid=1011(halvors@halvors.org) egid=1004(halvors.org) missing +x perm: /var/lib/dovecot, we're not in group 0(root), dir owned by 0:0 mode=0750) [08:48] I understand that this is a permission problem somehow, but what user is supposed to own it? [08:54] halvors: also "missing +x perm" [09:01] i did chmod +x default.sieve [09:01] Walex: But what user should be the owner of the default.sieve file? === frickler_ is now known as frickler [09:07] that depends on which user is running the dovecot and/or sieve processes. [09:08] halvors: also note that the 'sieve' process needs to traverse the '/var/lib/dovecot' directory, and as the message says its mode is "=0750". === cripperz is now known as CripperZ [09:40] Walex: How can i find out what user is running the sieve process? [09:47] hi all, it seems that some packages in my update list on my server can't be authenticated? does that mean I waited too long to update or something ? === CripperZ is now known as cripperz === cripperz is now known as CripperZ [10:16] hm, if i put '/var/log/folder/file*' in a custom logrotate.d/file , is it smart enough to not match the .gz files created by logrotate in the past? [10:21] halvors: with 'ps' with the 'u' option. [10:21] halvors: if you are asking basic questions like this perhaps you need a system administrator to help you... [10:22] Sling: the psychic version of 'logrotate' will be released soon :-) [10:24] Walex: well I would expect it to only rotate textfiles, for example :) [10:24] oh well I've fixed it now by just specifying the files in full === bilde2910|away is now known as bilde2910 [11:24] Walex: Seems like root is running dovecot. [11:24] I don't see why this wouldn't work then. [11:24] 1055 root 20 0 17768 1528 1236 S 0.0 0.0 0:00.03 dovecot [11:24] 1164 dovecot 20 0 9276 956 812 S 0.0 0.0 0:00.00 anvil === Lcawte is now known as Lcawte|Away === DalekSec_ is now known as DalekSec === martins-afk is now known as martinst === martinst is now known as martins-afk [11:54] halvors: Have you checked the dovecot apparmor rules? === martins-afk is now known as martinst === Lcawte|Away is now known as Lcawte === Lcawte is now known as Lcawte|Away [13:20] sarnold: Thanks for the manifest link. Just got it now. === mrt333_ is now known as mrt333 === caribou_ is now known as caribou === jhenke_ is now known as jhenke === danjared_ is now known as danjared === kickinz1` is now known as kickinz1|afk === kickinz1|afk is now known as kickinz1 === Faylite_ is now known as Faylite [15:14] rbasak: is it correct in case of juju-core: dpkg-source: warning: Version number suggests Ubuntu changes, but there is no XSBC-Original-Maintainer field [15:14] rbasak: i though that i lost it while baking 1.22.0 but it looks like it was not available even before it [15:18] strikov: that's fine to ignore, since we maintain it primarily in Ubuntu and it is not derived from Debian. [15:43] rbasak: ok, thanks [15:45] rbasak: https://github.com/juju/juju/pull/2072/files [15:45] rbasak: could you review this please [15:45] rbasak: looks ~okay to me (don't know how to make it better) [16:02] strikov: looks great to me. === markthomas|away is now known as markthomas [16:57] rbasak: allocate some time tomorrow afternoon please to review/upload juju-1.22.1 to vivid; i modified tests to install upstart and finished d/copyright; need to wait for a single upstream fix and we're done [17:10] strikov: OK === Lcawte|Away is now known as Lcawte === kickinz1 is now known as kickinz1|afk === kickinz1|afk is now known as kickinz1 === markthomas is now known as markthomas|away [20:02] what do you guys recommend ansible or puppet or chef? === markthomas|away is now known as markthomas [20:14] arcsky: juju and maas === roaksoax_ is now known as roaksoax === martinst is now known as martins-afk === lifeless1 is now known as lifeless === martins-afk is now known as martinst === martinst is now known as martins-afk === bilde2910 is now known as bilde2910|away === zz_DenBeiren is now known as DenBeiren === essembe is now known as sbeattie === Lcawte is now known as Lcawte|Away