=== peter is now known as Guest76762 | ||
=== medberry is now known as Guest57266 | ||
=== freeflying_away is now known as freeflying | ||
=== omdreams1 is now known as omdreams^home | ||
=== Catdaemon is now known as Catdaemon` | ||
=== Catdaemon is now known as Catdaemon` | ||
=== Catdaemon is now known as Catdaemon` | ||
=== justizin_ is now known as justizin | ||
=== Catdaemon is now known as Catdaemon` | ||
=== RoyK^ is now known as RoyK | ||
=== Nem0 is now known as n3m0 | ||
=== railsraider_ is now known as railsraider | ||
joshu | I just received an email notification saying that my fail2ban jails stopped. Then they restarted. Seems odd why they would stop. Any suggestions on how to check if this was malicious? | 16:37 |
---|---|---|
=== Ursinha is now known as Guest33606 | ||
MoleMan | Could somebody provide instructions / a basic how-to for compiling SSH Server 6.2 for Ubuntu server 12.04, or even better provide a link to pre-compiled version please? | 19:41 |
Patrickdk | let me guess | 19:42 |
Patrickdk | pci compliance report? | 19:43 |
MoleMan | no, just want to use multiple auth function | 19:43 |
Patrickdk | hmm | 19:43 |
MoleMan | for Google Auth 2 factor TOTP and SSH keys | 19:43 |
Patrickdk | heh? I do that now | 19:44 |
MoleMan | how? | 19:44 |
Patrickdk | it *just works* | 19:44 |
Patrickdk | I'm doing it on openssh 5.3p1 | 19:45 |
Patrickdk | that is much much older than 12.04 ssh :) | 19:45 |
Patrickdk | ok, there it is | 19:46 |
Patrickdk | man sshd_config | 19:46 |
Patrickdk | and read the UsePAM section | 19:46 |
Patrickdk | ChallengeResponseAuthentication (otherwise, ask for token) | 19:46 |
MoleMan | oh yeah, I want to require 2 methods | 19:47 |
Patrickdk | mine does | 19:47 |
Patrickdk | I use password + token | 19:47 |
MoleMan | so SSH key, AND challengeResponse with PAM for the TOTP | 19:47 |
Patrickdk | ya | 19:47 |
Patrickdk | ssh key will bypass password+token | 19:47 |
Patrickdk | cause ssh key will bypass pam | 19:47 |
MoleMan | yeah | 19:47 |
MoleMan | thats not what I want | 19:47 |
Patrickdk | ok, that, you might need 6.2 for :) | 19:47 |
MoleMan | I want to require SSH key and TOTP, which is a 6.2 feature with the 'AuthenticationMethods ' option | 19:48 |
Patrickdk | it's in saucy | 19:48 |
Patrickdk | it should be simple to download the saucy source, and resubmit it for precise | 19:49 |
Patrickdk | or just compile it locally | 19:49 |
Patrickdk | http://packages.ubuntu.com/saucy/openssh-server | 19:49 |
Patrickdk | on the right, download source package, download all 3 | 19:49 |
Patrickdk | then, dpkg-source -x openssh_6.2p2-6ubuntu0.1.dsc | 19:49 |
Patrickdk | then dpkg-buildpackage -us -uc | 19:50 |
MoleMan | do the compressed files need extracting first or just leaving as they were downloaded? | 19:52 |
Patrickdk | as is | 19:52 |
MoleMan | okay, thanks, I'll try that | 19:52 |
MoleMan | sounds a fair bit simpler than I was expecting :) | 19:52 |
Patrickdk | the issue your likely have, maybe, is dependencies | 19:53 |
MoleMan | which is why I was hoping someone had a PPA or something for it :p | 19:53 |
Patrickdk | but that should be easy to fix | 19:53 |
Patrickdk | I don't, but I could add it to mine in a few min :) | 19:53 |
Patrickdk | I have lots of other things in there :) | 19:53 |
MoleMan | hehe :p | 19:54 |
MoleMan | just discussing how easy it would be to upgrade the server completely not sure whether it's worth the hassle | 19:55 |
Patrickdk | I personally wouldn't | 19:55 |
=== Ursinha-afk is now known as Ursinha | ||
=== Ursinha is now known as Guest96296 | ||
Patrickdk | looks like it, just works :) | 20:03 |
MoleMan | the first command you gave works, the second is giving me errors trying to find a changelog though | 20:06 |
Wilkim | hello | 20:06 |
Wilkim | I have been trying to follow tutorials online on how to use LVM to test some stuff out on my OS, I understand very little and am a noob. when i set the OS up I just did the normal setup, how can i tell what my volume group is? | 20:07 |
Wilkim | or the default voume group | 20:07 |
MoleMan | can you remember if when you set it up, you told it to use LVM or not? | 20:07 |
MoleMan | Wilkim: `sudo vgs` should list all volume groups | 20:10 |
Patrickdk | you need to be in the openssh-6.2p2 folder | 20:10 |
Patrickdk | for that second command | 20:10 |
Patrickdk | it's building in my ppa currently | 20:10 |
=== Guest96296 is now known as Ursula | ||
MoleMan | you might need to run `sudo vgscan` to scan for volume groups first | 20:10 |
Patrickdk | https://launchpad.net/~patrickdk/+archive/testing | 20:10 |
=== Ursula is now known as Ursinha | ||
Wilkim | thank you! now i tried sudo lvcreate -L 4G -s -n initalconfig /dev/ubuntu-vg/initalconfid and i get back: Snapshot origin LV initalconfid not found in Volume group ubuntu-vg. | 20:11 |
Wilkim | config* | 20:11 |
Wilkim | i corrected my spelling ther first time, | 20:12 |
Patrickdk | looks like the ppa is going be 30min though | 20:12 |
Wilkim | sudo lvcreate -L 4G -s -n initalconfig /dev/ubuntu-vg/initalconfig: Snapshot origin LV initalconfig not found in Volume group ubuntu-vg. | 20:12 |
MoleMan | jesus :p thats why I don't compile stuff then if it takes that long! | 20:13 |
Patrickdk | no, it's the ppa | 20:13 |
Patrickdk | it took me like 2min to compile | 20:13 |
MoleMan | ah okay | 20:13 |
Patrickdk | but the ppa, is 11min till it gets to compile it, currently | 20:13 |
Patrickdk | it will take the ppa like 10min to compile it or so | 20:14 |
Patrickdk | then another 5-10min for it to publish the results | 20:14 |
Patrickdk | ppa's are slow for this stuff, but good to distribute | 20:14 |
MoleMan | I don't know how PPAs work | 20:14 |
MoleMan | I just presumed compiling it would create a standard package or something, that could be distributed / added to a repo | 20:15 |
MoleMan | didn't realise they were different | 20:15 |
Patrickdk | it does | 20:15 |
Patrickdk | but the ppa first has to build a buildserver to compile it on | 20:15 |
Patrickdk | and then it has to publish it to a repo when finished | 20:15 |
Patrickdk | so, 30min turnaround time for a ppa is good | 20:16 |
MoleMan | ah okay | 20:16 |
Patrickdk | sometimes it's so busy, it will say, 12hours till it has time to compile :( | 20:16 |
MoleMan | hmm, now getting unmet dependancy errors | 20:17 |
MoleMan | probably not the best time to be doing this | 20:17 |
Patrickdk | well, I had them all, so you probably just don't have it installed for your version | 20:17 |
Patrickdk | apt-get build-dep openssh-server | 20:17 |
Patrickdk | I had already customized the 12.04 openssh server, so I had them already installed | 20:18 |
Patrickdk | it was if they changed from 12.04 to 13.10 I was worried about | 20:18 |
MoleMan | ah | 20:18 |
MoleMan | of fun, adding all the clutter to my AWS instance :p | 20:21 |
Patrickdk | heh, I have one vm I use to package stuff on | 20:22 |
Patrickdk | keeps all the mess there, or really keeps it clean of non-build stuff | 20:22 |
MoleMan | yeah | 20:23 |
MoleMan | probably should, but I'm lazy | 20:23 |
MoleMan | I've not compiled anything in as long as I can remember | 20:25 |
MoleMan | well, I lie, I know I compiled /something/ at /somepoint/ no idea what or when though | 20:25 |
Wilkim | Anyone know why when I try this: "sudo lvcreate -L 4G -s -n initalconfig /dev/ubuntu-vg/initalconfig" I get this as an error: Snapshot origin LV initalconfig not found in Volume group ubuntu-vg. | 20:26 |
Patrickdk | Wilkim, try a valid command? | 20:27 |
Wilkim | Patrickdk what do you mean, sorry | 20:28 |
Patrickdk | well, what are you attempting to snapshot? | 20:28 |
Wilkim | just my whole os the way it is | 20:29 |
Patrickdk | ok, and it's name? | 20:29 |
Wilkim | honestly, I dont know lol, im new to linux | 20:29 |
Patrickdk | learn to use, lvs | 20:29 |
Wilkim | "/dev/sda2" | 20:31 |
Patrickdk | that is not in lvs | 20:31 |
Patrickdk | pastebin the output of lvs | 20:31 |
Patrickdk | or better | 20:32 |
Patrickdk | the output of vgs and lvs | 20:32 |
Wilkim | ah sorry, ty | 20:32 |
Wilkim | http://pastebin.com/aAvUCCTe | 20:32 |
Patrickdk | lvcreate -L 4G -s -n root-initalconfig ubuntu-vg/root | 20:33 |
Wilkim | http://pastebin.com/psgA2M7U | 20:33 |
Wilkim | thank you! | 20:34 |
Wilkim | how can i list all snapshots? :s | 20:37 |
Patrickdk | lvs | 20:37 |
Patrickdk | a snapshot shows up as a normal entry, makes it alittle confusing | 20:37 |
Patrickdk | why I put the root- in front | 20:37 |
Wilkim | its ok thank you, when i try to run the command it says: Volume group "ubuntu-vg" has insufficient free space (13 extents): 1024 required. | 20:38 |
Patrickdk | that is cause root has it all | 20:38 |
Patrickdk | your volume is only 37gigs | 20:38 |
Patrickdk | and it's all used up, between root and swap | 20:39 |
Wilkim | I see, meh I didnt know i had to reduce "root" in order to use lvm =/ | 20:39 |
Patrickdk | well, you need emptyspace to create new stuff | 20:40 |
Wilkim | ah its ok, ill re-create the os, i havnt really done much new stuff | 20:41 |
Wilkim | much stuff to it * ty | 20:42 |
Patrickdk | no need | 20:42 |
Patrickdk | resize2fs to make it smaller | 20:42 |
Patrickdk | then use lvresize to adjust the lvm smaller | 20:42 |
Wilkim | wow theres a lot you can do in linux eh | 20:43 |
Wilkim | I am a windows guru but such a noob in linux | 20:43 |
bekks | People calling themselves "gurus" arent gurus at all, to my experience. :> | 20:43 |
Wilkim | resize2fs makes the partition smaller? | 20:44 |
Patrickdk | both smaller and larger | 20:44 |
bekks | resize2fs resizes filesystems - depending on the options and the filesystem you are using, it may even work online. | 20:44 |
Wilkim | Well I am not a guru, but IT techs at work come to me for questions about windows when they need somthing lol | 20:44 |
Patrickdk | to make smaller, I don't think it can do it online | 20:44 |
Patrickdk | for that I like to reboot using the sysrescd iso | 20:45 |
bekks | shrinking filesystems doesnt work online. | 20:45 |
Wilkim | thank you Patrickdk thank you i will try to do all that in a little, gotta take care of something | 20:45 |
Patrickdk | heh, easier than my last 7 hours on the phone with vmware | 20:45 |
Wilkim | thats a long time on the phone lol | 20:47 |
Wilkim | I hope everything works out for you | 20:47 |
Patrickdk | ya, back where I started before the call :) | 20:47 |
Wilkim | thats how it goes for me usually lol | 20:47 |
Wilkim | So, for when I do this, all i did out of the box of ubuntu-server is setup a static ip and installed dnsmasq, so its like 5 mins to re-do that | 20:48 |
Wilkim | if i reinstall ubuntu-server, do I just not want to use some space to use it for snapshots? :s | 20:48 |
Patrickdk | ya, but your going get into lots of lvm fun, to setup custom partitioning | 20:49 |
Patrickdk | cause it will always go maxsize by default | 20:49 |
Wilkim | meh, ill deal | 20:49 |
Wilkim | thank you! | 20:49 |
Patrickdk | ya, it's deal with that install interface to do it, or do it afterwards :) | 20:50 |
Patrickdk | I feel afterwards is quicker, requires less thought too :) | 20:50 |
MoleMan | feck | 20:52 |
MoleMan | Patrickdk: can you compile for i386 on an amd64 platform? | 20:53 |
Patrickdk | only amd64 :) | 20:53 |
Patrickdk | but the ppa is compiling now | 20:53 |
MoleMan | yeah | 20:54 |
MoleMan | I just though fuck it, use the ppa | 20:54 |
MoleMan | I may just replace my AWS instance to 13.10 to keep the crap off it | 20:54 |
MoleMan | but PPA will be useful for my home server for the next few weeks until I finish replacing it at least :p thanks :) | 20:55 |
Patrickdk | oh, i386 is done | 20:57 |
MoleMan | thanks :) I think I trust you not to have done anything dodgy with it ;) | 20:57 |
Patrickdk | why the source is included | 20:58 |
Patrickdk | amd64 done | 20:58 |
Patrickdk | just have to wait for publish now | 20:58 |
Patrickdk | I did leave that nsa patch in it | 20:58 |
MoleMan | haha :) | 20:59 |
Patrickdk | ok, the ppa is ready to be used | 21:06 |
Karlthane | Anyone have any experience with Zarafa? | 21:43 |
bekks | !anyone | Karlthane | 21:44 |
ubottu | Karlthane: A high percentage of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? See also !details, !gq, and !poll. | 21:44 |
jrwren_ | what is zarafa? | 22:24 |
jrwren_ | oh, email and groupware http://www.zarafa.com/ | 22:25 |
tsilenzio | hello | 23:06 |
CappyT | Hi everyone, I have a big problem with samba... When I create a user for samba DC (i use samba4 as domain controller) with samba-tool, user is created but I can't add that user to a samba share, because is not also a system user... | 23:32 |
jrwren_ | CappyT: yes. that is true. | 23:54 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!