/srv/irclogs.ubuntu.com/2007/11/30/#ubuntu-server.txt

kgoetzhi all. has anyone here tried no-TLS postfix under gutsy?03:34
kgoetzwe've disabled it in the configuration, but its still been requested somehow03:35
pschulz01kgoetz: That's a very good question.03:37
pschulz01kgoetz: We are having the same problem here.03:37
kgoetzguess i'll have to wait then ;)03:37
kgoetzpschulz01: its smtpd_tls_security_level = encrypt03:57
kgoetzjust comment it out :P03:57
Caplainhey i have 4 ethernet adapters in my box which is acting as a bridge, 1 is wireless and connects to the router for the internet, i can ping it from the box, i can ping my bridge from my client but i cant ping the router from my client04:34
CyberMadi would like to install virtual machine at ubuntu-server, but i confuse to choose between VMware-server or VirtualBox, which one do you recommend ?05:11
krautmoin07:41
=== fernando_ is now known as fernando
=== dendro-away is now known as dendrobates
J-_Is there anyway to install an encrypted server? If so, will that prevent it from getting hacked, or have better preventative measures against getting hacked? I'm running a LAMP server, and I think I got hacked becuuse it's not working proper. And looking at exim, 2 IP's have been download content, I don't think when viewing a website that a regular user would pull 8+mb of data.13:16
ivoks?13:17
ivokswhat is encrypted server?13:17
ivoksyou can encrypt filesystem, you can provide cypted service13:17
ivoksbut crypted server?13:17
J-_WELL, obviously you know A BIT more than me, so rather than flame. SUGGEST something that I would have ment.13:18
J-_or could13:18
J-_whatever13:18
J-_SO YES, encrypted filesystem is what I ment.13:20
J-_I guess that was your effort. FLAME someone, then don't suggest anything.13:21
* J-_ chuckles13:22
ivoks?13:22
ivoksJ-_: where did i flame? i asked13:22
ivoksand encrypted filesystem is an option during install13:23
ScottKJ-_: It's probably not the most productive thing to whine at the people that are trying to help you.13:23
* ScottK was too late. missed it by that much.13:23
ivoksand encrypted filesystem won't save you from net attacks13:24
ivoksand i'm not sure how exim could provide logs about LAMP :)13:24
ivoksoh, he left :)13:26
ivoksdidn't notice that :D13:26
_rubenheh13:28
_rubenminor detail13:28
henohas anyone tested the latest server images on real metal (or vmware even). It still doesn't boot in virtual box13:28
henoinstalls fine though13:28
=== zobbo_ is now known as zobbo
zeasierhiya, trying to migrate samba accounts from one machine to the next. what files do i need to copy? using the smbpasswd backend15:26
zeasierfound /var/lib/samba/passdb.tdb, but is that the only file needed?15:27
sommerzeasier: don't forget /var/lib/samba/secrets.tdb15:28
sommerand /var/lib/samba/group_mapping.tdb15:28
sommerif you have issues you might copy all the files in /var/lib/samba15:29
zeasierhmm15:29
zeasierthat sounds promising but i'd still like to find some documentation about this online15:30
zeasierthose files names will help a lot15:30
sommerzeasier: you can look through the samba docs: http://samba.org/samba/docs/man/Samba-HOWTO-Collection/index.html15:32
sommerI'm not sure how much you'll find on replicating accounts though.15:33
zeasierthat might be faster than searching for keywords across the web, thanks15:33
sommernp... if you don't need the second machine up right away the best thing may be just to copy the files and see if the accounts are there.15:35
sommerif not copy another file, and so on15:35
zeasieractually maybe we should switch to pam auth15:35
zeasierthat way we won't have to deal with multiple passwords anymore15:36
sommerthat works too, also using LDAP works too15:36
zeasierone of these days i'd like to get a centralized authentication system going15:37
zeasiereven for plain user accounts15:37
sommerIMHO LDAP is the way to go15:38
zeasieryeah i need to bite the bullet the figure it out one of these days15:39
=== heno_ is now known as heno
zeasierwhat's the default windows workgroup for xp?16:05
zeasieri forget if it's WORKGROUP or MSHOME16:06
sommerzeasier: I think workgroup16:06
mralphabetworkgroup16:06
sorenReally?16:07
sommer"I think"... been a while since I've used XP16:07
mralphabetperhaps it varies per flavor of xp, but I just installed xp on a machine a week ago and I swear it was workgroup16:08
zeasierah yes, browsing our network all our unconfigured boxes are there16:08
zeasierso it's workgroup16:08
sorenWe changed our default (in Samba) to MSHOME to match Windows.16:08
sorenDid they change it at some point?16:08
zeasiermaybe it depends on what eddition of xp you have16:08
mralphabetperhaps on XP Home it is MSHOME and on XP Pro or the Corp install it is WORKGROUP16:09
sommeris it MSHOME for vista?16:09
mralphabetnot on ultimate16:09
zeasierswitching to WORKGROUP that's what 2k used by default and that's the best version of windows anyway16:10
zeasiereven if no one uses it anymore16:10
mralphabetI still deploy it ;)16:11
zeasierif you have to use windows it's the best if you can get away with it16:12
zeasierdoesn't support ie7 but then again you shouldn't using ie at all anyway16:12
zeasierbtw looks like those tdb files worked16:13
zeasierjust copied all of them16:13
zeasierlooks like they all were needed according to the docs16:13
sommerzeasier: party!16:18
zeasierhttp://samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#tdbpermfiledesc16:19
zeasierthanks for the help16:24
sommernp16:25
=== zobbo_ is now known as zobbo
mikonehey, i just did a dist-upgrade from feisty to gutsy 32bit and now my machine does not boot properly anymore. it seems like the boot process is not running as root. when it should mount the partitions it tells me "you need to be root to do that". did anyone else experience this problem and maybe knows a solution?18:06
=== nxvl_work_ is now known as nxvl_work
sommeranyone else order one of those OLPC XO laptops?20:16
kshahokay, i'm not sure, but I think someone keeps trying to ssh into my server that shouldn't be there, i just happened to find /var/log/auth.log and found hundreds of login attempts from the same ip21:22
kshahmy server is not at all secure21:22
kshahthis is the first time i've ever had to administrate my own server21:22
kshahwhat do I do? how do I secure this box21:22
kshahits all from 62.205.163.157.. like a billion attempts to login21:23
DM|what does "sendmail: fatal: open /etc/postfix/main.cf" no such file or dir mean? it pops up everytime i try to run a sudo command21:24
sommerkshah: if you have ssh open to the Internet I'd add this config option to /etc/ssh/sshd_config: AllowUsers username21:26
sommerAllowUsers is a space seperated list, then restart ssh21:27
kshahokay21:27
kshahI mean, I don't know *anything* about what i'm doing21:27
kshahthis is my first time using linux letting alone administrating a server let alone securing one21:27
kshahwhat are the general measures I should be taking21:27
sommerkshah: you can also look into hosts.deny, I've never used it, but I know people do.21:27
kshahfirewalls, all that good stuff21:27
DM|Anyone?21:29
kshahshould i change my ssh port for the hell of it?21:29
sommerkshah: sure iptables is the firewall shipped with Linux21:29
kshahi've never used that, learning curve?21:29
kshahwhat is pam_unix21:30
sommerkshah: can be a little steep, but there are gui "editors" that can help you create configs... I think firestarter and shorewall are a couple21:30
kshahi'm not running x on the server21:30
kshahthat would be bad, right?21:31
sommerpam_unix is the authentication system (Pluggable Authentication Module... I believe)21:31
kshahl21:31
kshahkl21:31
sommerkshah: if you're running a ubuntu desktop I believe you can install firestarter on it then copy the script to the server.21:31
kshahwin:(21:31
kshahAllowUsers user, will only allow that user to login?21:32
sommerhere's an iptables guide: https://help.ubuntu.com/community/IptablesHowTo21:32
kshahdo I have to enabled the Allow only option somewhere?21:32
sommerkshah: only allow that user/s to login using ssh... any user can still login from the console21:32
kshahthank you sommer21:35
kshahi'm going to play around21:36
kshahits a bit scary when you see a hundred failed login attempts21:36
sommernp... another quick precaution is to change your password, making sure it's hard to guess symbols, numbers, upper case and all that21:37
mralphabethrm, I thought sshd_config had PermitRootLogin set to no by default21:40
kshahsommer: i typically randomly generate an 8 character pass21:42
DM|what does "sendmail: fatal: open /etc/postfix/main.cf" no such file or dir mean? it pops up everytime i try to run a sudo command21:42
kshahdo you have a mailbox filled with unauthorized access attempt notes? :)21:43
DM|I dont even have a mailbox21:44
DM|this is a new install21:44
nealmcbnijaba, soren - where do we stand on getting the iso to work with qemu or xen?  Last I tried in qemu, I got stuck at an initramfs prompt21:45
nijabanealmcb: for 7.10, no go21:46
DM|dmesg21:46
DM|oops21:46
nijabanealmcb: but for 8.04 it should and will be solved.  I think soren is working on it21:47
DM|kshah any idea?21:47
kshahdid you install mail?21:47
kshahmailx21:48
kshahsudo apt-get install mail21:48
nealmcbcan the problem at least be documented?  what sort of fix is soren looking at?21:50
=== heno_ is now known as heno
DM|kshah Im really not sure21:52
kshahDM| what happens when you type 'mail'21:52
DM|kshah lemme try21:53
DM|no mail for dmserver21:53
kshahsommers: so iptables seems straightforward enough, but when I specify --dport ssh, i'm not specifying the port (which is not longer 22 btw :)21:53
nealmcbnijaba:  or can the build script be referenced so folks can fix it themselves?  I just hate the idea of 6 months of saying to folks "our chosen virtualization target platform doesn't run our iso (since we decided that either qemu or xen is the platform of choice - did we ever get back to that discussion?  I recall a posting to the devel list being the next thing to do?)21:53
kshahsommers: does it just figure it out from the service, or should I actually specify --dport xxx instead of --dport ssh21:53
DM|kshah i removed mailx for now.. but still giving me that error21:54
nijabanealmcb: AFAIK that's our choice for Hardy, right?21:54
kshahDM|: i wish I could help you but I am far far far from someone knowledgable, maybe someone here can help21:54
DM|: (21:54
DM|kshah ok do you know about sudoers though?21:55
kshahyeah, i know of the file, and how to edit it21:55
kshahsudo visudo21:55
nealmcbnijaba: well I'm still digging for more info, but the choice I'm thinking of for gutsy is telling folks how to make a fixed iso.  can isos go in ppas?21:56
nealmcbis there an open bug for this?21:56
sorennealmcb: The problem was getting the ends to meet, i.e. making the kernel and qemu agree on a usable driver for things.21:56
kshahare you guys core developers or something?21:56
sorenkshah: Some of us are.21:57
nealmcbqemu works great with the linux-virtual kernel for what I've done21:57
nealmcbit is the iso that seems to stop dead21:57
kshahwoah21:57
nealmcbon reboot, after install21:57
sorenEr.. Why do you boot the iso after you've installed?21:58
DM|kshah lol it doesnt complete and gives that same error message21:58
nealmcbI'm not booting the iso, I'm booting the disk I installed it on21:58
soren22:57:27 < nealmcb> it is the iso that seems to stop dead21:58
soren?21:58
kshahDM| are you logged in as the user you first created when you installed?21:58
nealmcb(after installing from iso in that case)21:58
DM|yep21:58
sorennealmcb: Oh...21:59
nealmcbso I can run kvm or qemu with the virtual kernel and ubuntu-jeos-builder just fine.  but when I install from iso, I can't boot the disk I installed to21:59
lamontDM|: your sendmail error means that sudo is attempting to send mail without bothering to see if it should.21:59
kshahDM| you have something far wronger with your system than I (will ever) know how to fix21:59
DM|lamont so how do i get rid of it21:59
sorennealmcb: that's really... odd.21:59
sorennealmcb: They ought to be just the same.22:00
sommerkshah: --dport xxxx you can use --dport ssh because ssh is listed in /etc/services I believe22:00
sommerkshah: so if you change it you'll need to specify22:00
kshahsommer: okay, yeah, i saw it automatically associated 80 with www, slick22:00
nealmcbof course I might have done the install wrong or something - it is such a slow pain to try again....22:00
DM|lamont i want to just get rid of mail for now, but im new to the server world, so can you offer your help22:00
lamontln /bin/true /usr/sbin/sendmail :)22:01
nealmcbnijaba, soren - does a wiki page https://wiki.ubuntu.com/JeOS-Builder make sense for me to work on?22:01
lamontor install a mailer and configure it22:01
nijabanealmcb: IMO, yes, definitely !22:02
sorennealmcb: Apart from the fact that it'll get renamed real soon, sure.22:02
nealmcbi.e. the name, and choice of the wiki since it is pre-release22:02
nealmcbsoren: that's what I'm asking.....22:02
sorennealmcb: We can rename pages on the wiki, no problem.22:02
nijabanealmcb: should not prevent you from working on it :)22:02
nealmcbbut we can't re-point links  - what name are you thinking of?22:02
DM|lamont since im not that exp yet, im not going to attempt  to configure a mailer,22:03
nijabanealmcb: yes, but we can maintain a redirect page...22:03
nealmcbof course - I just prefer to get it right and avoid confusing folks22:04
nijabanealmcb: the naming issue is still something we have to figure out.  It should not prevent us from working on the tool22:04
nealmcbwhat is the process for figuring it out?22:05
nijabanealmcb: discussion?22:05
nijabanealmcb: and a bit of marketing of course...22:06
sorenWell, there are two options:22:06
sorena) Come up with a good, flashy name22:06
sorenor22:06
sorenb) rename it to ubuntu-vm-builder (because I say so)22:06
soren:)22:06
DM|lamont same error22:06
sorenIf a) doesn't happen within... um... let's say two weeks, I'll go with b).22:07
nealmcbhow is virt-manager looking?22:07
nijabasoren: even though I think ubuntu-vm-builder makes sense, I think we should bring it up with other people, such as gerry...22:07
nealmcbvirt-install etc22:08
sorennijaba: Indeed.22:08
sorennealmcb: virtinst just got built an hour ago.22:08
nijabasoren: do you want me to put it in my todo list for monday?22:08
nealmcb:-)22:08
sorennijaba: That would be much appreciated.22:08
nijabasoren: will do then22:08
lamontsoren: finish default-mta packaging yet? :-)22:08
sorennealmcb: It took a while for it to go trough NEW, but now we're getting somewhere.22:08
nealmcbsoren: is there a chance we'd just go with it?22:09
sorennealmcb: Not if I have any say in it.22:09
nealmcbbuilt in a ppa, or for hardy alpha 1??22:09
sorennealmcb: alpha 1 was yesterday.22:09
nealmcbsoren: and who would give YOU any say in it?22:10
nealmcb:-)22:10
sorennealmcb: Er... Sorry, I got confused, apparantly.22:10
sorennealmcb: "is there a chance we'd just go with it?" what is "it"?22:10
sorenlamont: gah... /me looks22:10
nealmcbI think you got it right - q was if adapting virt-install would be preferable to ubuntu-jeos-builder22:11
nealmcbsoren: so did it build for hardy?  or still just in your ppa?22:12
sorennealmcb: The source is in the official archive now.22:12
sorennealmcb: The binaries are in the NEW queue.22:12
nealmcbsounds good22:12
sorenlamont: My biggest problem right now is the long description. I've rewritten it three times and I'm still not happy with it.22:13
nealmcband how would you compare what it can or should be able to do with your very nifty builder script?22:13
nealmcb I'm just thinking that pushing a whole free virtual machine infrastructure is a big job, and wondering where it makes sense to invest time and effort22:14
sorenQuite. I need to look into it a bit more. I've been blocked by a few bugs in it, so I haven't been able to look too much at it.22:15
* nealmcb needs to just look at it more himself, but has lots of other things still cooking....22:15
nealmcbsoren: you do manage to get an amazing amount of stuff done.....22:16
lamontsoren: feel free to toss it at me and I'll mess with it and upload it and we can deal with the inevitable bug reports. :)22:16
sorenlamont: Should it just depend on exim4 or something more specific?22:17
sorennealmcb: It doesn't feel that way.22:17
nealmcbWhere might I go to gather more info about this bothersome initramfs prompt?  I haven't found much relevant documentation.  or might I just ship you the vm that I built from the iso for qemu?22:17
lamontfor debian, I think it's exim4... not sure.22:17
sorennealmcb: I've ticked *one* think off on my todo list this week.22:17
sorens/think/thing/22:17
sorennealmcb: Er.. I can probably look into it some time early next week.22:18
nealmcbcan you be more specific about the mismatch between the kernel and qemu you were talking about?22:18
nealmcbi.e. which driver might be an outage for qemu?22:19
* nealmcb needs to just do a proper bug report, like he should have done weeks ago, rather than just posting on the forum thread about it22:20
sorennealmcb: I forget the exact details. Gutsy is old hat. :)22:21
nealmcbshould I file the iso reboot bug on ubuntu-jeos?  or on the kernel somehow? or ???22:23
sorenThat's a might good question.22:23
nealmcbinstaller? initramfs?22:24
sorenThe trouble is that it's unlikely to be severe enough to warrant an SRU anyway.22:24
sorenlamont: http://people.ubuntu.com/~soren/dmta/  <-- The current stuff22:25
nealmcbwell, getting it documented for hardy is a good start....22:25
sorennealmcb: Hopefully, the problem won't exist in hardy :)22:25
nealmcbwell it still needs a bug....22:26
sorennealmcb: I suppose.22:27
nealmcbsoren: you seem unsure - I'm confused22:28
sorennealmcb: It's just that there's a lot of focus on exactly these things.. qemu and kvm  and the kernel running inside them.. It's unlikely to not be fixed regardless of whether you spend time reporting the bug.22:29
nealmcbmy point is just that qemu and the existing kernel seem fine - it is just the iso that is having problems.  xen may be a whole different issue - I haven't tried it22:30
nealmcbiso or install process or whatever22:30
sorennealmcb: Ah.22:32
sorennealmcb: Erm.. I'm not sure what I'd report it against.22:33
nealmcbany good doc on the initramfs busybox prompt?22:33
sorennealmcb: Not that I know of.22:33
nealmcband how to figure out how I got there22:33
sorennealmcb: You land there if the early userspace stuff fails to get you a proper root.22:34
nealmcbI just just run it in a vm and watch what happens.   oh yeah - I am....22:34
sorennealmcb: This can be for any number of reasons.22:34
sorennealmcb: So to reproduce this, I just take which iso and do what?22:35
nealmcbinstall jeos iso via qemu, reboot, ignore error, restart qemu with the new disk, see initramfs prompt22:36
nealmcb(ignore the "you've still got a cdrom loaded" error)22:36
sorennealmcb: Added to my todo list. I'll figure out what to report it against.22:38
nealmcb:-)22:39
InnatechHello. Could someone point me in the right direction in terms of installing a shorewall package from 7.10 on a 7.04 box? Or just in getting shorewall updated to 2.3.2 or better?23:18
Innatechhow do I go about using Prevu to try a 7.10 .deb on 7.04 ?23:38
=== Drazha739 is now known as Drazha

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