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

ScottKkirkland: Looking at it now.00:37
ScottKkirkland: Uploaded.  Thank you for your contributioin to Ubuntu.00:50
uvirtbotNew bug: #301104 in mysql-dfsg-5.0 (main) "mysql-server-5.0.postinst causes seg fault" [Undecided,New] https://launchpad.net/bugs/30110401:26
kirklandScottK: :-D  cheers01:27
MatBoydoes someone know anything about advetisements in /etc/motd ?01:27
jmarsdenMatBoy: Read http://www.sabi.co.uk/Notes/linuxHelpAsk.html and avoid "Does someone..." ?  What is your real question?01:38
MatBoyjmarsden: I just heard from someone about such an advertisement in /etc/modt01:39
jmarsdenThat's not a question... what are you trying to do or to fix or ...?01:39
MatBoyit goes about canonball (or how I type it) ads01:39
MrWGWspecifically01:39
MatBoyjmarsden: they guy wants it removed :)01:39
MrWGWit was alleged by someone in #nexenta01:39
MrWGWthat Ubuntu Server, if you do a dpkg-update, IIRC01:40
MrWGWwill replace, every hour, /etc/motd, with a plug for Landscape01:40
Deepsurrr, lol01:40
MatBoyDeeps: no fun at all ;)01:41
jmarsdenMatBoy: You can edit the file /etc/motd yourself to remove anything in there.  I'd be very surprised if anyt official package from Ubuntu would mess with it.01:41
jmarsdenMatBoy: Dowe know which package or packages "someone" thinks does this?01:41
ScottKkirkland: ^^^ I'm not a big fan of the advert for landscape myself.01:41
MatBoyjmarsden: ask MrWGW he came up with it in different channel and I thought, I will ask :)01:42
MrWGWindeed01:42
jmarsdenMrWGW: OK... do we know which package is doing this?01:42
MrWGWactually it was dotwaffle in #nexenta who levied the allegation01:42
MrWGWthey're saying its update-motd01:42
jmarsdenThis appears to be related to bug 26844701:43
uvirtbotLaunchpad bug 268447 in landscape-client "MOTD should not point to https://landscape.canonical.com if you are not a customer" [Undecided,New] https://launchpad.net/bugs/26844701:43
MrWGWok good, so its a bug01:44
MrWGWwhew01:44
KiraTelnet is not installed/enabled by default on Ubuntu Hardy server, right?01:44
MrWGWbecause if you were doing this deliberately I would be pissed01:44
jmarsdenRead the bug, Mark Shuttleworth thinks it is OK, from what I read.  And BTW I am not Canonical, so the "you" is misdirected  :-)01:44
MrWGWahh so its not a bug?01:45
MrWGWwoo01:45
jmarsdenMrWGW: Looks like if you remove the landscape-client package you will solve the "problem".  DO you need/use landscape-client?01:46
MrWGWoh I don't even use Ubuntu Server, I was just curious if this was actually the case01:47
jmarsdenOK, then read all about it in bug 268447 -- end of thread.01:47
uvirtbotLaunchpad bug 268447 in landscape-client "MOTD should not point to https://landscape.canonical.com if you are not a customer" [Undecided,New] https://launchpad.net/bugs/26844701:48
MrWGWhep01:48
MrWGWyep01:48
MrWGWrather01:48
jmarsdenMrWGW: I just added a comment to that bug describing one way to remove the ad.02:22
kirklandjmarsden: MrWGW: ScottK: sudo apt-get remove landscape-common02:32
jmarsdenkirkland: That prevents me from getting the stats in motd; I prefer my way of removing the ad, see comment added to bug 26844702:36
uvirtbotLaunchpad bug 268447 in landscape-client "MOTD should not point to https://landscape.canonical.com if you are not a customer" [Undecided,New] https://launchpad.net/bugs/26844702:36
ScottKkirkland: Sure.  If it's appropriate for Canonical to advertise their proprietary offerings, then it's appropriate for others too.  I'd rather we don't head down that path, but if we do, we do.03:04
* Kamping_Kaiser didnt notice adverts in motd as part of the landscape discussion ;)03:14
* Kamping_Kaiser wonders if his posts were moderated through03:14
* Kamping_Kaiser goes to find out what happened to that thread - not seen it recently03:37
Kamping_Kaiserheh. i killed it03:39
Kamping_Kaiser:S'03:39
SausageMy server has 3 IP addresses, and I want to use something other than the default for opening a new connection under one user or process, can someone help me?04:43
ropetinSausage: I'm not sure how much help I can give, but...  Are they all on the same subnet or different ones?04:50
SausageDifferent ones04:50
Sausage64.79.197.221, 67.223.236.193 and 209.59.207.5804:51
SausageI want to use one to connect a friend to an IRC server using his domain instead of mine.04:51
ropetinCool, that helps.  Will any other user or process ever need to connect to the IP(s) that you want to connect to?04:51
SausageWell I made him change his domains to use 67.223.236.193 instead, so yes.04:51
ropetinHmm, I was going to suggest setting a static route for the destination IP going through the specific device04:52
ropetinBut I guess that won't work04:52
SausageIf it's possible to change all connections from his account to that IP it would be awesome :(04:52
ropetinWould an IRC Bouncer helP?04:52
SausageI'm using an IRC bouncer.04:52
SausageRight now he's using the same one I'm on though.04:52
SausageSo he's Wolfdog!sausage@tehsausage.com for now04:53
ropetinAnd you'd rather he show as @somethingelse?04:53
SausagePretty much.04:53
ropetinSee, I KNEW I wouldn't be much help!04:53
SausageXD04:54
SausageStill waiting for the DNS changes to kick in though, so it doesn't matter how long I take.04:54
ropetin:D04:54
DeepsSausage: muh and psybnc both allow you to specify an outbound ip04:54
SausageReally? I wonder if znc does then.04:54
SausageI just dropped psyBNC for being screwy with openvpn (and being hard to set up =[)04:54
Deepssbnc does as well i believe04:54
SausageDo you know how they actually do it? bind() before connect() or something?04:55
SausageWell, that doesn't make sense XD04:56
Deepsno idea, you're in luck though, they're all open source04:56
SausageBut something like that.04:56
* Sausage gets the psybnc source04:56
ropetinYeah, I just checked, psyBNC seems to allow you to set different vHosts for different users04:56
SausageAnyway, looks like znc has no option for that :x04:56
SausageI might have to switch back to psyBNC if there's no way.04:57
SausageI need to fix mysql too, that's failing since I rebooted XD04:57
Sausage081123  4:57:30 [ERROR] mysqld: Can't create/write to file '/var/run/mysqld/mysqld.pid' (Errcode: 2)04:57
* Sausage investigates04:57
SausageDirectory disappeared, oh well XD04:58
ropetinIt's not your day, is it Sausage?05:02
ropetin :D05:02
SausageMeh, not so bad05:02
SausageI upgraded my VPS, double RAM, bandwidth etc.05:03
ropetinWhich provider?05:03
Sausagevpslink05:05
Sausagehttp://tehsausage.com/bc.txt05:05
SausageI don't think I'll be hitting any of those limits any time soon05:05
SausageVHost - This is a list of allowed vhosts. It is used by the webadmin module for users to select one. (Set different vhosts in "Settings" on your Webadmin-Interface first - one per line - to make them appear in users configs afterwards)05:07
SausageThat's in the znc docs, might be able to after all.05:07
Sausagew00t05:18
SausageWolfdog (wolfdog@daIRC-411416E4.net) has joined #eohax05:18
SausageIt's cloaked but I can tell what that is :P05:18
ropetin:D05:21
MrWGWvery good stuff re: that advert06:13
bugfixeshello all06:13
jmarsdenMrWGW: Yes. Now you (or whoever it was really had the issue on their server) have multiple ways to get rid of the ad :)06:18
uvirtbotNew bug: #301211 in dhcp3 (main) "fail to install/upgrade" [Undecided,New] https://launchpad.net/bugs/30121108:21
AnRkeymy imap server is set to use tls, how can i turn this off? I am using postfix, dovecot-imap, promail, and fetchmail11:50
AnRkeyprocmail soz11:50
AnRkeyok never mind, found it. in /etc/dovecot/dovecot.conf i changed disable_plaintext_auth = yes to no11:52
=== byr0n is now known as phaidros
Santolinahello ... I am a complete newbie ... I have a Ubuntu server with no graphical environment, and for some reason a couple of hours ago the images folder content (several subfolders with hundreds of jpegs) has DISSAPEARED ... the rest seems to be OK (Apache conf, PHP scripts and MySQL tables) ... any clues of which log files should I check in order to know if somebody has hacked my server?14:12
Santolinahow can I see if somebody has run a rm command recently?14:15
Santolinawhich log files should I check in order to know if somebody has hacked my server?14:17
joerlendif someone has broken your password by brute force, then you'll probably see lots of entries in auth.log14:18
joerlendhowever, if someone has taken advantage of a hole in a service, then it might not be possible to see it.14:18
joerlendif the rm command required root access, then you can see it in auth log too, as all sudo commands are logged. If it didn't, I don't think it's really possible, though you could inspect their history.14:19
Santolinaso my first check should be auth.log?  where is it stored?14:23
Santolinais there any way a folder content can be deleted for any reason ... and the rest of the disk not?  I have no idea ... a full disk?? this is very strange since I was not logged in when it happened, I just detected it when accessing the web server from home14:25
Deepslogs for most applications and services can be found in /var/log14:26
Santolinathe only explanation I can see is that somebody deliberately deleted the images folder14:26
=== BrunoXLamber7 is now known as BrunoXLambert
joerlendto delete that folder, would you need to use sudo before the rm command? If so, it will have been logged.14:27
Santolinano ... I have entered a command to let root login14:27
Deepsall sudo commands get logged by default!?14:27
joerlendyes.14:28
SantolinaI don't remember the command, I was tired of typing sudo at any time14:28
Deepswhere?14:28
joerlendauth.log14:28
Deepsoh i seee14:28
Santolinahow can I restore the original situation ... forcing me to type sudo before deleting /var/www/images/  ?14:29
Santolinaright now, I can log in as root14:30
Santolinabut at the beginning I could not ... I needed to login as myname and then type sudo before deleting folders outside /home/myname14:30
Deepsunforuntately, if you have been hacked, the only really safe course of action would be to wipe and start again14:31
Santolinaare there any known holes in Apache2 letting somehow delete folders remotely?14:32
Deepsthe problem wont be in apache, it'll more likely be in your php application14:33
Deeps(if the attack vector used was via web)14:33
Deepspoorly coded php websites lead to easy exploits14:34
Santolinayou mean showing PHP errors ?14:34
SantolinaI have set error messages to none14:34
Deepswell, for starters, you've mentioned php and mysql, have you protected your code against sql injection attacks?14:35
Santolinayou mean escaping ' and " ?14:36
Deepsthere's a bit more to it than that, but that's a good start14:36
Santolinawhere can I read about problems that could arise this way?14:37
Deepsgoogle14:37
Santolinaok thanks14:38
Santolinaa lto14:38
Santolinaa lot  ;)14:38
Santolinabut ... I supose this way you can run malicious SQL queries ... but is there a way to delete folders by sql injection?14:40
wazonhi15:21
wazoncould someone tell me how to put my old mail in a dovecot server?15:22
wazonI've tried creating ".old", but it doesn't appear in squirrelmail15:22
uvirtbotNew bug: #298893 in samba (main) "winbind 3.0.28a-1ubuntu4.7 won't install/start" [Undecided,Invalid] https://launchpad.net/bugs/29889316:47
Rob123anyone here with any webmin experience?17:06
Rob123I've installed Webmin on a VPS and and now trying to figure out how to create a CSR for an SSL certificate (not sure if I need Virtualmin for this?)17:08
Rob123hello?17:44
=== ssd7 is now known as Guest1061
uvirtbotNew bug: #301301 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 5.0.51a-3ubuntu5.4 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/30130119:33
mindframe-is there another way to create a virtual IP address besides creating a virtual interface?20:03
mindframe-this situation is causing issues with bandwidth monitoring20:03
mindframe-since kernel doesnt really create statistics on the virtual interfaces20:03
=== Guest1061 is now known as ssd7
marshallhey guay23:55
marshall*guys23:55
marshalli've installed apache, php and mysql in my LAMP installation. I also installed phpMyAdmin and Its not allowing me to login as a normal user or as root. it keeps saying access denied for user23:56
marshallwhy can't i login to phpMyAdmin?23:56

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