[00:23] <fulat2k> hi folks, i'm using jaunty and it's giving broken packages error when installing freeradius-mysql.  any ideas?
[00:56] <sudit0> hola
[00:56] <sudit0> tu si hablas español no? xD
[00:57] <jpds> !es > sudit0
[01:54] <batfastad> Hi guys. Trying to install msttcorefonts in 9.04 and getting a message saying its been obsoleted, tried ttf-mscorefonts-installer as well with the same result. Any ideas?
[02:02] <Sam-I-Am> have you tried ttf-liberation?
[02:04] <batfastad> No I havn't. Will they all have the same names? I need them for the JPgraph PHP class
[02:05] <rashed2020> How would I go about setting up jabber gateway servers that would work with Google talk as the client?
[02:06] <rashed2020> I've got a few general ideas but I don't want to invest a lot of time in them only to find out I'm doing it wrong.
[02:18] <xperia> hello to all. i have a full working bind9 dns server in my lan and want now to log all the querys for debuging some network stuff.
[02:18] <xperia> i have included this lines
[02:18] <xperia> http://paste-bin.com/view/d60fac37
[02:18] <xperia> to /etc/bind/named.conf.local and executed also
[02:18] <xperia> sudo touch /var/log/query.log
[02:18] <xperia> sudo chown bind /var/log/query.log
[02:18] <xperia> sudo /etc/init.d/bind9 restart
[02:18] <xperia> my problem is that after this steps the file /var/log/query.log is still empty even when i call up some domains that my bind dns server only can resolves ! what could be wrong with the steps is some caching active or what else ?
[02:29] <xperia> okay it looks like app-armor needed to be informed about this too !
[02:29] <xperia> https://help.ubuntu.com/8.04/serverguide/C/dns-troubleshooting.html
[02:29] <xperia> Before named daemon can write to the new log file the AppArmor  profile must be updated.
[02:31] <xperia> strange thing is that i dont have still named query-logs in my log file !
[02:31] <xperia> are the permission of my new logfile really good ?
[02:31] <xperia> -rw-r--r--  1 bind   root       0 2009-12-13 03:06 query.log
[02:32] <xperia> oohhh woow it worls now :-))
[02:33] <xperia> thanks for the help still :-)) see you next time again ! bye !
[03:05] <lingga> hi all.. could you tell me how do controlling services by console. is there an application like gnome has ?
[03:06] <MTecknology> lingga: you mean like top?
[03:07] <lingga> no, I want to disable or enable the services..
[03:09] <MTecknology> I should know the name off the top of my head...
[03:10] <MTecknology> update-rc.d
[03:13] <MTecknology> lingga: I wish it could just list the current settings - there's another great app but I can't think of it's name now
[03:13] <lingga> MTecknology: for example, I need to disable mysql service what should I do
[03:15] <MTecknology> update-rc.d mysql stop 2 3 4 5
[03:17] <lingga> MTecknology: ha, thanks. but is there an application to control it like yast in suse ?
[03:18] <MTecknology> 21:12 < MTecknology> lingga: I wish it could just list the current settings - there's another great app but I can't think of it's name now
[03:19] <lingga> MTecknology: did you meant update-rc.d mysql enable 2 3 4 5 ?
[03:20] <MTecknology> I meant disable
[03:20] <MTecknology> 21:13 < lingga> MTecknology: for example, I need to disable mysql service what should I do
[03:21] <lingga> MTecknology: Ok thanks a lot :)
[03:24] <twb> I recommend rcconf as a simple GUI wrapper for update-rc.d
[03:26] <MTecknology> twb: THAT! That's what I couldn't think of :)
[03:27] <twb> Although it occurs to me now that I hadn't noticed update-rc.d STOP -- I had been using REMOVE, and then digging through the relevant .postinsts when I wanted to turn it back on...
[03:29] <MTecknology> !info sysv-rc-conf
[03:29] <twb> Yeah, I don't like sysv-rc-conf
[03:29] <MTecknology> !info rc-conf
[03:30] <twb> !info rcconf
[03:30] <MTecknology> oh...
[03:30] <twb> Mainly because it provides runlevels as individual checkboxes, and is laid out to generally be overwhelming
[03:31] <twb> rcconf also used to suppress rcS services (a bug), which I considered to be a huge feature.
[03:31] <MTecknology> nicex
[03:31] <twb> Since you usually want to disable, say, apache -- not mountall
[03:31] <MTecknology> looking at pics - I do like it better
[03:47] <crohakon> So, is it possible to limit a user to only certain directories?
[03:50] <twb> crohakon: depends on what you're limiting.
[03:51] <crohakon> for example, could I limit a user to their directory and, say, /srv/www/whatever/ ?
[03:52] <fulat2k> hi folks, some help for the freeradius-mysql installation in Jaunty
[03:52] <fulat2k> ?
[03:54] <twb> crohakon: how is that "their directory"?
[03:54] <twb> crohakon: how is the user using the system?  For example, are they simply putting and getting files over SFTP?  Do they have a shell account?
[03:56] <crohakon> twb, I was considering giving a friend a shell account to my little server in my basement for her to play around on. But I would rather she did not have access to anything to important.
[03:56] <twb> Unless you give her ssh access, she won't be able to break anything but her own stuff.
[03:56] <twb> She will be able to *read* files outside her home directory.
[03:57] <twb> She will also, by default, be able to do things like forkbombing.  Restricting filesystem access won't help you there.
[04:01] <fbdystang> I just installed 9.10 server, this is my first server. 9.10 desktop comes with an operating system with guis and such. However, I just booted up the server and all I get is a command prompt. Is that how it is supposed to be?
[04:02] <twb> fbdystang: the server install media will not install any GUI by default.
[04:03] <fbdystang> twb: How do I tell if it is working then? thanks
[04:03] <twb> fbdystang: define `working'.
[04:03] <fbdystang> twb: running, and giving me some fileserver space for other ubuntu and windows boxes
[04:04] <twb> It's obviously running, because you can see stuff on the screen.
[04:04] <twb> As to whether it is serving files, you can check this by attempting to connect to it from a client, and if that doesn't work, by testing lower-level things, like whether the service has an active process and is binding to the appropriate ports.
[04:04] <fbdystang> This really is new to me, how can I find it from other ubuntu desktops then? it is all on a router
[04:05] <fbdystang> does ubuntu desktop come with such a client?
[04:05] <twb> You presumably know what IP it has.
[04:06] <rashed2020> fbdystang: If all you're looking for is file sharing I'd recommend a specialized distro.
[04:06] <crohakon> sudo apt-get install gnome.... *innocent expression*
[04:06] <twb> If you control the router, you can configure the router to give it a static IP and a name.
[04:06] <fbdystang> NOPE :( but i can check from logging into my router
[04:06] <twb> crohakon: ITYM "ubuntu-desktop".
[04:06] <twb> fbdystang: you can also check the IP from the ubuntu server console, of course.
[04:07] <fbdystang> twb: what is that command for IP?
[04:07] <twb> "ip address"
[04:07] <crohakon> fbdystang, https://help.ubuntu.com/9.10/serverguide/C/index.html
[04:07] <sub> ip addr
[04:08] <fbdystang> thankx
[04:10] <fbdystang> OK there are a bunch of IP addresses with that, is INET the one I am looking for?
[04:11] <jmarsden> fbdystang: Yes.  The inet one for interface eth0
[04:12] <fbdystang> rashed2020: that is all I am looking for, I thought 9.01 ubuntu server was a specialized distro, what do recommend then?
[04:13] <crohakon> fbdystang, ubuntu server is a specialized distro, for general server needs (exempli gratia, LAMP)
[04:13] <jmarsden> fbdystang: If this is just serving a few files on a local LAN for a few workstations, and you are already familiar with Ubuntu 9.10 desktop, then you could just use that.
[04:14] <rashed2020> fbdystang: Take a look at FreeNAS. Not as expandable as Ubuntu Server, but much simpler if it's just file sharing.
[04:15] <fbdystang> I tried that with samba to no avail :( I have an old desktop that I am making into a simple fileserver for both windows and linux computers at home
[04:15] <crohakon> Can windows access NFS?
[04:15] <fbdystang> I couldn't get it to access ntfs
[04:16] <crohakon> I did not say ntfs =)
[04:16] <rashed2020> Windows can access NFS, there's an official MS how to.
[04:16] <rashed2020> http://support.microsoft.com/kb/324055
[04:17] <fbdystang> That means a repartition then right?
[04:17] <rashed2020> If it's just a local thing though, I'd stick with Samba.
[04:17] <rashed2020> No.
[04:17] <crohakon> fbdystang,  I was going to suggest using NFS (id est Network File System) but was not sure if windows can access it
[04:17] <rashed2020> And for Samba you can just use Ubuntu 9.10.
[04:17] <rashed2020> fbdystang: Have you tried following a tutorial?
[04:18] <fbdystang> rashed2020: haha, many, but it is always tuff understanding terminology, especially in networking
[04:20] <rashed2020> https://help.ubuntu.com/9.04/serverguide/C/samba-fileserver.html
[04:20] <rashed2020> Just follow that exactly. It should get you up and running.
[04:20] <jmarsden> fbdystang: Why not start by enabling samba on one of the existing "Linux computers at home" and share a few directories that way, on a computer you already know and understand.  Then come back later and create a dedicated server when you have more confidence and understanding of setting up samba.
[04:22] <fbdystang> Good idea, rashed: i actually just found that page. I will install gnome and create some shared directories as you have advised ;)
[04:22] <fbdystang> Thanks all
[04:22] <crohakon> jmarsden, when I set up my first lamp server I had no idea what I was doing. Jumping right in and getting dirty really helped me learn quickly. Also, since the box was not needed for anything else it was okay if I made mistakes. I could just reinstall.
[04:23] <crohakon> fbdystang, that being said, I say set up your dedicated server and learn as much as you can doing it.
[04:23] <fbdystang> yea, thats where I am at, most important is learning to set it up
[04:24] <jmarsden> fbdystang: Then read the Ubuntu Server Guide and try it out.
[04:25] <jmarsden> Learning to set up samba is the same on an existing Linux box with a GUI as on a dedicated server box with shell access only... but which way you learn is up to you.
[04:26] <rashed2020> I try to never use the GUI
[04:26] <rashed2020> So if worst comes to worst I have a general idea of what to do.
[04:31] <fbdystang> Well... I just ran into that. How can I edit these files without gnome? is there a terminal command to open smb.conf?
[04:34] <sub> there are several text editors you can use
[04:34] <sub> nano is probably one of the easiest to use, although i personally use vim
[04:35] <terinjokes> anyone know how to have the beep ring the system (aka motherboard) bell?
[04:35] <fbdystang> sub: that worked after installing it, thanks
[04:42] <jmarsden> terinjokes: sudo modprobe snd-pcsp   # Or something close to that... you need the driver for the PC Speaker, basically.
[04:43] <terinjokes> jmarsden: i'm still getting o terminal bell, not a system bell
[04:44] <crohakon> fbdystang, I highly suggest that you do not install gnome on your server. Stick to the command line. It will really improve your understand of the OS.
[04:45] <jmarsden> terinjokes: Hmmm.  Most people ask this question the other way around... they want to get rid of the PC speaker beep :)
[04:46] <fbdystang> crohakon: Yea, that is what I am doing. But I may chime in every once in a while to get command line help :(
[04:46] <fbdystang> dir
[04:46] <terinjokes> jmarsden: i know ;) the problem is that if my workstation is off, or i'm not ssh'd into the box, i'm going to be missung critical system beeps, no?
[04:46] <crohakon> fbdystang, dir?
[04:46] <fbdystang> haha wrong computer, hahaha
[04:46] <fbdystang> I have two computers with 2 keyboards in front of me :)
[04:46] <crohakon> fbdystang, are you a dos user? ;)
[04:47] <fbdystang> yup
[04:47] <terinjokes> fbdystang: an you're either using DOS/NT or on an FTP on one of them ;)
[04:47] <crohakon> fbdystang, I prefer the ls command just because of the highlighting
[04:48] <fbdystang> terinjokes: actually, most dos commands are also available in unix/linux
[04:48] <jmarsden> terinjokes: critical system beeps?  When would you expect those?  People put servers in machine rooms and do not then employ staff to sit around all day listening for "critical system beeps" ... so it's probably OK to leave your own Ubuntu server without hearing it beep, too?
[04:49] <jmarsden> If you want to monitor it, set it up to send you email or SMS messages or whatever, rather than staying within earshot of it 24x7.
[04:49] <terinjokes> jmarsden: this particular box runs here at my desk... but yes, generally it would go to the pagers
[04:50] <terinjokes> jmarsden: and by "critical system beeps" i mean various notifications i have
[04:52] <jmarsden> Loading that module should make that device visible... or it used to... trying it now on a Karmic desktop...
[04:52] <fbdystang> wow, ls is even in color now ;)
[04:55] <crohakon> fbdystang, yes, now change all the files to random permission and look at the beautiful art!
[04:57] <jmarsden> terinjokes: OK, on my PC here after modprobe snd-pcsp I have a new device /dev/dsp2 which is the PC speaker, so at that point catting junk to it produces audio from it... how to actually make it beep is left as an "excericse to the reader" :)
[05:02] <terinjokes> jmarsden: no luck
[05:02] <terinjokes> let me reboot and try again
[05:04] <fbdystang> OK, I think I have a samba share set up. How do I access it from windows? through workgroup? or can I just us IP in internet explorer?
[05:09] <terinjokes> jmarsden: no luck
[05:09] <terinjokes> (in other news, that's how online games should handle the should disappearance of the gateway)
[05:10] <jmarsden> fbdystang: From DOS you can do   net use Q: \\1.2.3.4\sharename       stuff.    From Windows Explorer you can click Tools -> Map Network Drive.
[05:16] <terinjokes> while i'm in this channel, anyone know why the fink package depends on gstreamer, which seems to pull in half of X?
[05:18] <qman`> terinjokes, did you try --no-install-recommends?
[05:19] <terinjokes> qman`: it's depends, not recommended
[05:19] <qman`> ah
[05:19] <terinjokes> qman`: which makes no since, to pull half of X for a console application
[05:20] <terinjokes> finch*
[05:21] <qman`> hmm
[05:21] <qman`> I just checked on a hardy server, it only recommends gstreamer
[05:21] <qman`> not depends
[05:21] <qman`> might be a bug with the newer package
[05:21] <terinjokes> right... for hardy
[05:23] <terinjokes> although, i just checked online, and it's recommending gstreamer-plugins, but still depending gstreamer
[05:23] <terinjokes> (for hardy)
[05:23] <qman`> also only recommended in jaunty
[05:24] <qman`> well, it depends on libgstreamer, but that shouldn't also pull in X packages
[05:24] <terinjokes> qman`: correct, i think i subconsciencely (i can't spell, don't worry) i droppe the "lib"
[05:25] <qman`> but it would pull in a lot of stuff if you are installing recommends, which is the default
[05:27] <terinjokes> i'm on karmic, which depends (diff from juanty) libdbus, libdbus-glib, libgstfarsight, libgstreamer-plugins-base, libidn11
[05:28] <qman`> might have a protocol in there or something
[05:29] <qman`> can't see any other reason a text-based client would use anything gstreamer
[05:29] <fbdystang> It Works!! Thanks for your help guys, Anyone know if I can also see these on a MAC? if so, do I just have to map it?
[05:34] <terinjokes> qman`: well it's pulling in support of every a/v codec in the world it seems... think a maintainer is using a GUI and not realizing what's happening (perhaps?)
[05:35] <terinjokes> i don't think a simple text-based client should be 109MB
[05:38] <qman`> terinjokes, it shouldn't be doing that if you're not installing recommends
[05:38] <terinjokes> qman`: did ---no-install-recommends
[05:38] <terinjokes> (except 2 dashes ;) )
[05:38] <qman`> in that case, I'd file a bug
[05:39] <qman`> because it certainly doesn't depend on all that nonsense in previous editions
[05:39] <qman`> it DOES depend on a lot of libraries, but not codecs
[05:41] <terinjokes> qman`: http://pastebin.ca/1712912
[05:42] <terinjokes> i realize all those aren't a/v codecs, but still
[05:43] <qman`> that's far too much
[05:43] <qman`> if I had to guess, I'd say gconf is pulling most of that in
[05:44] <qman`> the gtk and X stuff, anyway
[05:44] <qman`> it's also depending on some sound codecs, likely the work of gstreamer, unless it has voice chat or something
[05:45] <terinjokes> and video
[05:45] <terinjokes> (i see libv4l in there)
[05:45] <qman`> another possibility is that keyring package
[05:46] <qman`> if they implemented that functionality, and the keyring package depends on gtk, that would cause a big mess
[05:46] <terinjokes> qman`: it i gtk, wouldn't I just use pidgin?
[05:46] <terinjokes> if i had*
[05:47] <qman`> well
[05:47] <qman`> that's just libraries
[05:47] <qman`> it's not actually installing X, just a lot of libraries generally used in gtk and X applications
[05:47] <qman`> and some fonts
[05:48] <qman`> I agree though, that's way too heavy for a console-based application
[05:48] <terinjokes> qman`: i know that, i recognize most of these from by brief stint as a fink maintainer... but still, i don't want to install a bunch of unneccesary libraries
[05:48] <qman`> but that's either a design choice or packaging error
[05:48] <terinjokes> exactly, creating a launchpad account now
[05:50] <qman`> I gave up on instant messaging networks a long time ago, IRC does it better :)
[05:51] <terinjokes> qman`: it's fine and dandy it the other people use IRC ;)
[05:59] <terinjokes> Launchpad #395001
[06:09] <lwizardl> hi
[06:11] <lwizardl> other then the howtoforge guides whats a good guide to follow for configuring a complete working web server ?
[06:17] <twb> lwizardl: the ubuntu serve admin guide?
[06:17] <twb> *server
[06:17] <twb> http://tinyurl.com/ubuntuserverdoc
[06:19] <qman`> not sure what exactly you're after, since a "complete working web server" is provided by checking that little box next to LAMP in the installer
[06:21] <lwizardl> qman`, yeah I know it does but I seem to fail at being able to get any working sites on the server. example domain.tld when i have my registar pointing to my server they just time out
[06:22] <qman`> do you mean that you have a DNS service pointing names to your IP, or you have your registrar pointing to you for DNS?
[06:22] <qman`> because in the latter case you need a DNS server
[06:24] <lwizardl> no i use zoneedit for the dns servers but then i have zoneedit pointing to my ip and then i have port 80 forwarded to the server.
[06:24] <qman`> so when you run a dig on your domain, it points to the right IP?
[06:25] <lwizardl> yeah
[06:25] <qman`> in that case, the problem is most likely to do with the apache site configurations
[06:26] <qman`> if you're getting any errors, troubleshoot those, otherwise pastebin one of your site configurations and I'll have a look
[06:26] <twb> qman`: or his DNAT rule
[06:26] <qman`> yeah, that too
[06:26] <qman`> are you sure the port forward works?
[06:27] <twb> You have to test the port forward from OUTSIDE your local network
[06:27] <twb> e.g. ssh into alioth and run a w3m there
[06:27] <lwizardl> i followed the guide on the howtoforge site for 9.04
[06:27] <qman`> guides can be wrong, you need to test it
[06:28] <lwizardl> i'll try it again and if it fails this time then i'll post the configs
[06:28] <twb> IME guides are almost always wrong
[06:28] <qman`> also, you should always look at ubuntu-specific documentation first
[06:29] <qman`> a lot of things are different distro to distro
[06:29] <qman`> and if you don't notice it can really mess you up
[06:29] <twb> You should start with Ubuntu's OWN documentation for the release you're running.
[06:29] <lwizardl> k
[06:30] <twb> One guy here was configuring openldap (on 8.04) based on what he found on some blog for 6.06 or something
[06:30] <twb> Which is obviously going to have differences
[06:30] <qman`> yeah, a lot can change over two years
[06:30] <Hajuu> Hi, i'm trying to setup samba, but when I try to connect from my windows 7 computer, it seems like even though as my username I enter 'hajuu' it tries to use 'MICHAEL1\hajuu' as my username. Which is wrong obviously.
[06:30] <twb> Quite apart from the unreliability of "stuff I found on a blog"
[06:30] <twb> Hajuu: MICHAEL1 is your domain
[06:31] <Hajuu> Thats my windows pc's name
[06:31] <Hajuu> which obviously has no relevance to my samba username on my other computer :(
[06:31] <qman`> Hajuu, that shouldn't make a difference in a workgroup configuration
[06:31] <qman`> unless you're actually in a domain setup, the domain field is generally ignored
[06:31] <Hajuu> do I need to define my samba password for my user or something maybe?
[06:31] <twb> qman`: I think it depends on how he's doing samba auth
[06:32] <qman`> I've always had to do that
[06:32] <qman`> at least for any users that existed before configuring samba
[06:32] <qman`> smbpasswd -a
[06:32] <Hajuu> thanks ill try, sec.
[06:34] <Hajuu> hmm
[06:34] <Hajuu> I *think* im connected
[06:34] <Hajuu> how do I make a share?
[06:35] <qman`> Hajuu, /etc/samba/smb.conf
[06:35] <qman`> though the magic homes share should be enabled by default IIRC
[06:35] <Hajuu> yeah I had a look through heh
[06:35] <qman`> try \\server\hajuu
[06:36] <Hajuu> it seems to connect to \\server
[06:36] <Hajuu> but not \\server\hajuu
[06:36] <qman`> perhaps it isn't defined then
[06:36] <qman`> the shares are defined in smb.conf, at the bottom
[06:36] <qman`> there should be plenty of examples commented out
[06:38] <Hajuu> yay
[06:39] <Hajuu> connecting to \\share\hajuu now
[06:39] <Hajuu> but still cant see my home folder
[06:41] <twb> Run "smbclient -L 127.0.0.1" on the server
[06:41] <twb> That should tell you about the available shares
[06:42] <Hajuu> haha oh im dumb
[06:43] <Hajuu> the folder *was* empty
[06:43] <Hajuu> xD
[06:43] <Hajuu> thanks so much guys
[06:44] <danielrheath> Hi everyone
[06:44] <danielrheath> I'm having trouble installing ubuntu 9.10 server
[06:45] <danielrheath> when I select the install option
[06:45] <danielrheath> I get a message about kernel requires an x86-64 CPU, but only detected an i686 CPU
[06:45] <danielrheath> sorry, that was meant to have quotes
[06:45] <danielrheath> "kernel requires an x86-64 CPU, but only detected an i686 CPU"
[06:45] <danielrheath> I
[06:45] <danielrheath> I'm installing on an HP pavilion machine
[06:46] <qman`> danielrheath, that means you don't have a 64-bit CPU and need the i386 version of ubuntu
[06:46] <danielrheath> OK
[06:47] <danielrheath> so just get the other ISO and all should be OK?
[06:47] <qman`> yes
[06:47] <twb> danielrheath: or change CPU
[06:47] <twb> But that might require a new motherboard and stuff
[06:47] <danielrheath> it's just a home server with an old machine
[06:48] <qman`> the oldest 64-bit CPUs are the original athlon 64s and Pentium 4 extreme 3.0GHz+ models
[06:48] <qman`> anything older than that is only 32-bit and requires the i386 ISO
[06:49] <danielrheath> ok
[06:49] <qman`> there are very few differences between the two as far as user experience is concerned
[06:49] <danielrheath> thanks very much :)
[06:49] <Hajuu> hm. I made a new share entirely other than the magic homes share
[06:49] <Hajuu> and I can see it fine
[06:49] <Hajuu> but even though I set writable = yes
[06:49] <Hajuu> I still can't write/delete
[06:50] <qman`> Hajuu, try writeable = yes and read only = no
[06:54] <twb> qman`: within the 80x86 family, at least
[06:54] <qman`> yeah
[06:54] <twb> Alpha, POWER and SPARC had 64-bit CPUs much earlier.
[06:54] <qman`> IA64 too
[06:54]  * Hajuu has a sparc station heh xD
[06:54] <qman`> but I meant x86-based
[06:54] <Hajuu> and a thinware client
[06:55] <qman`> I'm excited for ARM netbooks :)
[06:55] <twb> Nod nod nod
[06:55] <twb> I should write to Pegatron again
[06:56] <Hajuu> heh easy question im sure
[06:57] <Hajuu> how do I add a user to a group?
[06:57] <Hajuu> like I want to add my samba user to my webservers group so that it can access the hosted files
[06:57] <qman`> oh, there's about a thousand ways to do that ;)
[06:57] <twb> Hajuu: usermod
[06:57] <Administrator_> i have question , why do we need to setup ubuntu server what its use?
[06:58] <qman`> adduser user group
[06:58] <qman`> edit the /etc/group file
[06:58] <qman`> all these ways work
[06:58] <Hajuu> ahh its ok, did it with usermod
[06:58] <Hajuu> heh
[06:58] <Hajuu> cheers
[06:59] <qman`> Administrator_, Ubuntu Server can be used for just about any use you want, including but not limited to mail, web, and file servers
[06:59] <Hajuu> ok and final dumb question (hopefully)
[06:59] <Hajuu> how do I set the file permissions so that the owner group (not username) can read and write to the files
[07:00] <qman`> Hajuu, chmod 775 for executables, 664 for regular files
[07:00] <Hajuu> what do the two mean exactly
[07:01] <qman`> the numbers are based on read/write/execute, user/group/world
[07:01] <qman`> read is 4, write is 2, execute is 1
[07:01] <qman`> add them up for the number
[07:01] <qman`> each digit refers to user, group, world, in that order
[07:02] <Hajuu> ah ok
[07:02] <Hajuu> sweet
[07:02] <qman`> you can also use the textual syntax if that doesn't sit well with you
[07:02] <Hajuu> cheers
[07:02] <qman`> it's in the man page for chmod
[07:02] <Hajuu> meh nah thats much better
[07:02] <Hajuu> yeah
[07:02] <Hajuu> heh now I cant connect at all for some reason
[07:02] <Hajuu> what fun xD
[07:08] <Hajuu> hmm now im confused
[07:08] <Hajuu> I can see my share
[07:09] <Hajuu> like if I connect to my server I see a list with my share in it
[07:09] <Hajuu> but it says I dont have permission to access it all the sudden
[07:12] <jtaji> lol, that's not a bug
[07:12] <Hajuu> im guessing that my samba user is somehow prohibited from accessing the path
[07:14] <Hajuu> what user does samba run as?
[07:14] <Hajuu> hmm ok if its running as root, seems unlikely that it cant access the folder :/
[07:14] <Hajuu> any other ideas?
[07:24] <klear> hello, I am having problems with static IP on my fresh installation of Ubuntu Server -- problem is I cannot ping/connect to machine from outside but I can ping other IPs from the Ubuntu Server
[07:26] <qman`> Hajuu, despite separate authentication, samba doesn't actually have separate users, it uses system users for access
[07:26] <jmarsden> klear: By "outside" do you mean other machines on the same local LAN subnet?  Did you attempt any firewalling of any kind?
[07:26] <qman`> it's pretty odd but that's how it works
[07:27] <klear> jmarsden: I try to ping it from an external IP (96.57.xxx.2) to Ubuntu's IP (96.57.xxx.4) -- I flushed and stopped the firewall, no rules active
[07:28] <Hajuu> blah dont even know why I was bothering with samba, ssh's inbuilt sftp is just as good
[07:29] <jmarsden> klear: So the server is directly connected to a public Internet IP address -- no router at all in the way?  No NAT or anything?
[07:30] <klear> yup, well it's connected to a CISCO router that comes from my ISP but it doesn't have any NAT as far as I know, it just serves as an IP delegator of sorts
[07:30] <Hajuu> can I change the password of the www-data user or will that break apache?
[07:30] <qman`> Hajuu, that user should never have a password
[07:30] <Hajuu> heh well ok im trying to mod that directories files but not having much luck as the user I added to the www-data group
[07:31] <jmarsden> klear: OK, and you know that Cisco allows pings through in both directions?
[07:31] <klear> yes, as I have 2 other IPs using the same CISCO and those IPs can be pinged fine
[07:31] <jmarsden> OK.  You could try using tcpdump to watch for incoming packets on the relevant interface and so see if they get to your new Ubuntu machine?
[07:32] <klear> but this is not just ICMP though, it's definitely blocking any type of access
[07:32] <klear> ok
[07:34] <klear> jmarsden: I'm definitely getting responses from "tcpdump -i eth0" ... what am I looking for exactly?
[07:34] <jmarsden> Well, the question is who or what is "blocking"... Use  something more like sudo tcpdump -i eth0 icmp   # so you only see ICMP traffic.
[07:35] <jmarsden> Then ping the .4 machine from another machine on the same local LAN and see whether any of the incoming pings show up in tcpdump.
[07:35] <klear> ok, listening, nothing moving, let me ping now
[07:35] <klear> hm... cannot get local because Ubuntu is the only machine connected to .4
[07:35] <jmarsden> You said you had 2 other IPs behind that CISCO... so those should be on same subnet, right?
[07:36] <klear> oh right, same subnet, sorry misunderstood you
[07:36] <jmarsden> Use one of those machines... or am I misunderstanding this?
[07:36] <jmarsden> OK.
[07:36] <klear> yeah, doing that right now, pinging from .5 and nothing showing up on tcpdump
[07:37] <klear> right, so CISCO has 4 ports and 2 of them have Linksys routers with a bunch of computers each. Right now I'm on .5 which is behind a NAT (Linksys) connecting to the CISCO
[07:37] <Hajuu> blah this file permission thing is really annoying, my user is a member of the www-data group, he can connect and browse folders, including his home which he can write to
[07:37] <Hajuu> however he cant see any files in /var/www
[07:37] <klear> Hajuu: did you try to jail users?
[07:37] <Hajuu> he can go into the folder, but its empty and unwritable
[07:37] <Hajuu> nope just trying to connect to a remote server
[07:38] <Hajuu> /var/* is set as 764
[07:38] <qman`> klear, sounds like a routing issue to me
[07:38] <jmarsden> klear: Hmm.  Either .5 is on the same subnet, or it isn't... behind a linksys doing NAT means it isn't...
[07:38] <jmarsden> klear: Can you document your routing setup and pastebin it somewhere?
[07:39] <qman`> Hajuu, that's the problem
[07:39] <klear> sure, give me one sec
[07:39] <qman`> should be 775
[07:39] <qman`> err
[07:39] <qman`> the directory, /var/www should be 775
[07:39] <Hajuu> I dont want people being able to execute stuff in the documents folder..
[07:39] <jtaji> Hajuu: execute for a directory means to list it's contents
[07:39] <qman`> executable means something different for files versus directories
[07:39] <twb> Hajuu: mount it -o noexec, then
[07:39] <Hajuu> oh realyl
[07:39] <Hajuu> heh
[07:40] <qman`> the executable bit toggles whether you're allowed to list contents in a directory
[07:40] <twb> Anything like /home or /srv/www should be mounted -o noexec,nodev,nosuid
[07:42] <Hajuu> im not using samba anymore.
[07:42] <Hajuu> I'm using ssh-ftp
[07:42] <twb> Hajuu: you mean SFTP?
[07:42] <Hajuu> yeah
[07:43] <Hajuu> ok I corrected its permissions but still isnt working
[07:43] <Hajuu> I cant just not list, I cant write either
[07:43] <Hajuu> although I still cant list either
[07:43] <twb> Is the connecting user trusted?
[07:43] <Hajuu> its just for me :/
[07:43] <Hajuu> to get files from production to live
[07:44] <klear> jmarsden: http://pastebin.com/d76b3d084
[07:44] <twb> Hajuu: does ssh work?
[07:44] <twb> Hajuu: you need to isolate the problem.
[07:44] <Hajuu> yes, both *work* though, I can ssh in with this account, I can write to the users home folder through both sftp and ssh.
[07:45] <Hajuu> I just cant write to, or list the contents of, /var/www
[07:46] <twb> Hajuu: which user are you connecting as?
[07:47] <qman`> Hajuu, ls -alh /var | grep www
[07:47] <jmarsden> klear: OK, so can you check or pastebin or both (!) the IP address, subnet mask and default gw of the Ubuntu server, the Linksys router at .5, and the machines behind the Linksys router?  This sounds like a misconfiguration somewhere...
[07:47] <Hajuu> one I created, 'phpnet'
[07:47] <twb> Hajuu: and why should this user have execute permissions on /var/www/?
[07:47] <Hajuu> drwxrw-r-x  3 www-data www-data 4.0K 2000-01-01 23:25 www
[07:47] <Hajuu> I said I DONT want them to have execute permissions.
[07:47] <klear> sure thing, give me a few minutes
[07:47] <Hajuu> Let's try to stay on point here.
[07:47] <Hajuu> :P
[07:48] <qman`> Hajuu, that's 765, not 775
[07:48] <twb> Hajuu: you cannot list a directory unless it is executable
[07:48] <qman`> the user is not allowed to list the contents of /var/www
[07:48] <Hajuu> bleh I just made it 777
[07:48] <Hajuu> still cant.
[07:49] <twb> Hajuu: you do "ssh phpnet@fs ls /var/www/" ?
[07:49] <Hajuu> im using nautilus
[07:49] <Hajuu> for the file operations atleast
[07:49] <twb> I canot help you with nautilus.
[07:50] <qman`> are you sure the permission change stuck?
[07:50] <Hajuu> hajuu@phpnet:~$ ssh phpnet@10.1.1.9 ls /var/www/
[07:50] <Hajuu> ssh_exchange_identification: Connection closed by remote host
[07:50] <Hajuu> No, I dont think it did
[07:50] <qman`> 'sudo chmod 775 /var/www'
[07:51] <Hajuu> sudo: /var/run/sudo writable by non-owner (040765), should be mode 0700
[07:51] <twb> Hajuu: you have broken sudo
[07:51] <jmarsden> twb: He's broken permissions on a lot of things under /var I think...
[07:51] <Hajuu> yay.
[07:52] <twb> I don't understand why www still defaults to /var instead of /srv
[07:52] <twb> I guess because policy says /srv is for the local admin alone...
[07:53] <klear> jmarsden: done -- http://pastebin.com/d41f689e1
[07:53] <Hajuu> eh great so now I cant change any permissions and I cant become root
[07:53] <Hajuu> how wonderful.
[07:54] <twb> Hajuu: this is why you do not just make changes at random and hope it fixes things
[07:55] <jmarsden> klear: You can check the default gw on the Ubuntu server using   netstat -nr
[07:55] <Hajuu> no, this is why you dont hand complete administrator control over to some random easilly disabled application.
[07:55] <klear> hmmm, it says 0.0.0.0
[07:55] <qman`> Hajuu, it is only possible to break sudo with root access
[07:55] <klear> but I have defined it in /etc/network/interfaces though, how can this be?
[07:55] <Hajuu> if I could become root, it would be easilly fixed, and the ability to log into root is pretty hard.
[07:55] <qman`> root is the highest level of access there is
[07:55] <twb> Hajuu: if you deliberately make sudo's infrastructure insecure, it is fully justified in refusing to be a gaping security hole.
[07:56] <Hajuu> Yeah break sudo..
[07:56] <Hajuu> not break root
[07:56] <Hajuu> then atleast I could fix it.
[07:56] <Hajuu> what am I supposed to do now.. reinstall my fucking os?
[07:56] <Hajuu> :(
[07:56] <twb> If you have physical access, you can easily become root.
[07:56] <qman`> yeah
[07:56] <Hajuu> I do
[07:56] <Hajuu> urgh
[07:56] <qman`> though it's likely more work to fix than to reinstall
[07:56] <qman`> what I assume you've done is blanket change permissions on everything in /var
[07:56] <qman`> which is a very bad thing
[07:56] <Hajuu> yeah ill livecd it up
[07:56] <qman`> don't need a live CD, just hit escape when grub is loading
[07:57] <twb> Indeed.  If you fuck up badly enough to break sudo, it's likely that you have broken a lot of other things.
[07:57] <qman`> and choose recovery mode
[07:57] <jmarsden> klear: The second column of the line of netstat -nr output should be the gateway, in the line that starts with 0.0.0.0
[07:57] <twb> jmarsden: still using netstat instead of ss? ;-)
[07:57] <Hajuu> bleh yeah I dont even know what the correct permissions of any of the folders are.
[07:57] <Hajuu> ill just reinstall.
[07:57] <jmarsden> twb: Old habits die hard :)
[07:57] <klear> jmarsden: you mean the 2nd row? because on 2nd row I do see the gateway IP
[07:58] <Hajuu> and waste 3 hours of my time.
[07:58] <Hajuu> yay.
[07:58] <jmarsden> klear: CAn you pastebin the whole netstat -nr output ?
[07:58] <klear> sure, one sec
[07:59] <qman`> I've always used the route command
[07:59] <twb> qman`: route ≠ ss/netstat
[08:00] <twb> qman`: route corresponds to ip route
[08:00] <qman`> yes, I just mean to show the routing table
[08:00] <twb> Oh, icky.  I didn't realize netstat even included that functionality
[08:00] <qman`> I didn't either, always used route [-n]
[08:01] <klear> jmarsden: here is netstat -nr: http://pastebin.com/d12d9c8e2
[08:02] <qman`> but netstat -[n]r shows roughly the same thing
[08:02] <jmarsden> twb: It's been there a long time, that functionality.  Works on Windows too... and on NetBSD and FreeBSD... I don't remember when or why I started using netstat -nr rather than route -n, both work.
[08:03] <klear> what do the Flags "UG" mean?
[08:03] <twb> klear: up, gateway
[08:04] <klear> thanks
[08:04] <jmarsden> Looks fine to me.  Hmm.  Want to reveal the xxx so I can try pinging your machine from here?
[08:04] <klear> sure
[08:04] <twb> I dunno why people bother to obscure IPs
[08:04] <klear> haha, i know, i thought it was lame, too
[08:04] <klear> 96.57.248.4 <- the Ubuntu Server
[08:05] <jmarsden> It's perfectly pingable from here :)
[08:05] <qman`> mm
[08:05] <klear> wait, what
[08:05] <qman`> you do realize that information is available to everyone on this network, just by viewing your host line?
[08:06] <qman`> yep, responding here too
[08:06] <klear> qman: I thought so, goddamnit, this is what corporate life has done to me :(
[08:06] <jmarsden> I can ping 96.57.248.4  from here in Southern California...
[08:06] <jmarsden> So the issue is with your other PC, the one behind the Linksys, or with that Linksys, I would guess.
[08:06] <klear> ok, so it must be my .5 setup that needs a whooping
[08:06] <jmarsden> Yes.
[08:06] <qman`> what's most likely
[08:07] <qman`> the machines behind the linksys don't know the route
[08:07] <qman`> or the linksys itself doesn't know the route
[08:07] <klear> how could that happen though
[08:07] <qman`> or for some reason the cisco is blocking the traffic
[08:07] <klear> Linksys has DNS servers from my ISP
[08:07] <qman`> DNS and routes are two totally separate things
[08:07] <klear> sorry, I'll take that back
[08:08] <klear> how would Linksys not know the route in this case then?
[08:08] <jmarsden> We're using IP addresses, not names, so DNS isn't (yet?) involved here.
[08:08] <qman`> ah, I know what's up
[08:08] <qman`> the cisco is not forwarding the packets out the other port
[08:09] <qman`> using a switch instead of a router as a switch would solve it
[08:09] <qman`> the linksys knows it's directly connected to the subnet your ubuntu server is on
[08:09] <qman`> except it isn't
[08:09] <qman`> it has to go through the cisco
[08:09] <klear> right
[08:09] <qman`> the cisco sees the packets coming from the subnet they're destined to
[08:09] <qman`> and drops them
[08:09] <klear> and the Cisco is just ignoring it
[08:09] <klear> I see, it makes sense
[08:10] <klear> let me try to ping another IP on the same subnet then
[08:10] <klear> omg, that's right!!!
[08:10] <klear> wtf man, I feel so good talkin to you guys about this!
[08:10] <qman`> a true bridge of the cisco's ports should solve that, but using a switch would be easier
[08:11] <klear> honestly I don't even know why they had to bring in the Cisco whereas a Netgear switch would do fine -- is that correct?
[08:11] <qman`> yes, if everything connected to it is using statically assigned external IPs
[08:11] <qman`> a switch is the right device for that job
[08:12] <klear> but then how does this explain complete blocking of the system -- I understand Cisco dropping ICMP packets but I can't even access Ubuntu via SSH or anything from the same subnet
[08:12] <jmarsden> klear: It just doesn't forward any packets to/from the same subnet.
[08:12] <qman`> the router is preprogrammed to ignore traffic destined to the 'local' subnet of each port
[08:12] <jmarsden> That set of pprts on the back of the Cisco are not acting like a switch
[08:13] <klear> oh, i thought it was only applicable to ICMP packets
[08:13] <qman`> no, all packets
[08:13] <qman`> it's the router barrier
[08:13] <klear> ohh
[08:13] <qman`> if there's no routing to be done, they're simply dropped
[08:13] <klear> is there any way I can change that in the Cisco myself or would my ISP have blocked it?
[08:13] <qman`> you would have to bridge the ports together
[08:13] <jmarsden> klear: ISP will not lightly give you their cisco password :)
[08:13] <qman`> not sure if the router is capable of that
[08:14] <qman`> what you could also do, is plug all your stuff into a switch, and plug the switch into one port on the router
[08:15] <klear> on the Linksys router?
[08:15] <klear> or the Cisco
[08:15] <qman`> no, the cisco router
[08:15] <qman`> modem -- cisco -- switch --{ everything else, linksyses and ubuntu server
[08:15] <klear> but the switch would have to be configured with the static IP info... it would have to be a managed switch?
[08:15] <qman`> no
[08:15] <klear> oh
[08:15] <qman`> the switch doesn't need an IP
[08:15] <jmarsden> klear: everything that now goes to the back of the cisco goes into the new switch, and one port from the new switch goes to the back of the cisco.
[08:15] <klear> analyzing...
[08:16] <klear> hmm
[08:16] <jmarsden> A cheap 10/100 5 port switch would do if you have nothing better :)
[08:16] <klear> then I could configure the 2 differenet Linksyses to have static IPs and they would work?
[08:16] <qman`> yes, as well as the ubuntu server having its own static IP
[08:16] <jmarsden> klear: Yes, and plug both their WAN ports into the switch.
[08:16] <klear> wow, never thought of it that way
[08:16] <qman`> everything plugged into that switch would use a public, static IP
[08:17] <klear> so a 4-port switch would have my 2 Linksyses and the Ubuntu Server... all 3 of these configured with Static IPs... then the Switch has the 4th cable going to Cisco
[08:17] <qman`> yes
[08:17] <jmarsden> klear: Yes.
[08:18] <klear> I have to try that
[08:18] <klear> but doesn't that just render Cisco useless though?
[08:18] <klear> could I not just bypass it?
[08:18] <klear> and connect that switch directly to modem?
[08:18] <qman`> unless they have some strange proprietary configuration, yes
[08:18] <klear> yeah, they probably configured the modem during provisioning to work with Cisco's MAC or something
[08:19] <jmarsden> No it may be doing all kinds of stuff... it may see all the 96.57.248.* traffic coming in router to some other IP , for example... be careful...
[08:19] <qman`> in theory all you need is a switch
[08:19] <qman`> but your ISP could be doing some odd things
[08:19] <qman`> so the safe thing to do is leave it there and just put your switch behind it
[08:19] <klear> they are weird
[08:19] <jmarsden> Why rock the boat, leave the Cisco in place.  Jut add a small switch behind it.
[08:19] <klear> I have a couple of those small switches laying around
[08:19] <klear> yeah, I'll have to
[08:20] <klear> thank you guys, you're awesome
[08:20] <klear> I didn't even expect this kind of help, honestly
[08:20] <jmarsden> You're welcome.
[08:20] <klear> Ubuntu rocks
[08:20] <klear> sorry for a little outro rant but...
[08:20] <klear> I'm falling in love with the damn thing
[08:21] <klear> it's like the first time I started making music back 15 years ago... hearing music come out of the computer seemed wonderful
[08:21] <klear> now I'm building a server and decided to go with Ubuntu precisely because of the huge community behind it
[08:21] <klear> and, wow, Ubuntu really really rocks!
[08:22] <klear> and everyone involved
[08:22] <klear> thank you guys, I will install mIRC and try to come here regularly
[08:23] <qman`> eww, mIRC
[08:23] <klear> sorry, been a long time
[08:23] <klear> what is used nowadays?
[08:23] <klear> Pidgin?
[08:23] <jmarsden> klear: Or switch to xchat :)
[08:23] <qman`> irssi, xchat, pidgin, anything open source preferrably
[08:23] <klear> damnit!
[08:23] <klear> I feel old -- and I'm not!
[08:24]  * jmarsden feels old, and *is* :)
[08:24] <qman`> be wary of the "official" windows xchat port though
[08:24] <qman`> it's trialware and violates the GPL
[08:25] <klear> back in my day, "/me slaps X around the neck with a large trout" was the norm
[08:25] <klear> yeah, xChat does look nice and simplistic but trialware doesn't sound good for an OS product
[08:25] <jmarsden> There's an unofficial one from ... silver*something* that I've used on Windows... http://www.silverex.org/
[08:25] <qman`> yeah
[08:26] <qman`> and there's a number of other clients too
[08:26] <qman`> mIRC just hasn't changed for the better at all, it's not standards compliant and looks straight out of 1998
[08:27] <klear> we used to 'crack it' back then
[08:27] <klear> it was trialware then too
[08:28] <klear> what about Pidgin, I installed it once but could not get it off Windows ever... had to format my laptop
[08:28] <klear> has it improved now?
[08:28] <_ruben> its algo was so simple you could create a keygen its own scripting engine .. enough offtopic though :p
[08:28] <qman`> I honestly haven't used it since they first changed the name from gaim
[08:28] <qman`> I quit using other IM protocols around that time
[08:29] <_ruben> lots of coworkers use  pdigin to connect to our jabber server
[08:29] <klear> i'm using webchat.freenode.net right now... it's hot :P
[08:29] <qman`> irssi is my favorite IRC client, but it's console based so not for everyone
[08:29] <qman`> running xchat on this
[08:30] <klear> yeah, it looked like a colorful Putty
[08:30] <_ruben> irssi here as well .. running in putty ;)
[08:31] <klear> yeah, Putty's nice allright but the Gnome default on 9.10 is just beautiful
[08:31] <klear> I was expecting a GUI for the server edition at first but then blushed at the thought... it was embarrasing
[08:33] <klearr> haha! here I come, Ychat up in here!
[08:35] <klearr> thank you guys for your help and putting me up for other IRC clients
[08:35] <klearr> I'll be back!
[08:46] <Hajuu> heh ok
[08:46] <Hajuu> and im back
[08:46] <Hajuu> Error: Host key verification failed
[08:46] <Hajuu> i'm getting that trying to ssh in
[08:46] <Hajuu> (i've reinstalled)
[08:47] <jmarsden> Hajuu: Delete the line from your local ~/.ssh/known_hosts file
[08:47] <jmarsden> It still has a value from the previous install left in there.
[08:47] <Hajuu> It shouldnt, I completely removed my partition table lol :(
[08:47] <Hajuu> sec
[08:48] <jmarsden> On your local machine that you are connecting from?
[08:48] <Hajuu> the one im connecting to
[08:48] <jmarsden> Hajuu: Delete the line from your local ~/.ssh/known_hosts file  -- LOCAL, the machine you use the ssh CLIENT on.
[08:49] <Hajuu> ahh that worked
[08:49] <Hajuu> yeah
[08:49] <Hajuu> I got what you meant :P
[08:49] <Hajuu> Worked perfectly, thanks :D
[08:50] <_ruben> it even tells you the line number to remove :)
[08:50] <Hajuu> meh I got that from nautilus
[08:50] <Hajuu> so I dont think it does
[08:51] <_ruben> ah, never used nautilus, so wouldnt know
[08:57] <twb> sed -i 99d ~/.ssh/known-hosts to delete the 99th line :-)
[08:57] <Hajuu> ok.. so. Now i'm back where I was.
[08:58] <Hajuu> I am able to sftp in with nautilus to my server running sshd.
[08:58] <Hajuu> the connected client can manipulate files in the users home directory
[08:58] <Hajuu> however he cannot modify files in the server directory (for authoring files to the live server)
[08:59] <twb> Hajuu: if this is just a private server, why not use ~/public_html?
[08:59] <Hajuu> I did this command to add the user to the www-data group
[08:59] <jmarsden> Hajuu: OK, so now you can sftp your files up to your home dir (NOT /var/www/) .  Then on the server (in a ssh session) you can move them around to whereever you need to.
[08:59] <Hajuu> it IS ssh, it's all the same system
[08:59] <Hajuu> same permissions
[08:59] <Hajuu> and yes, I did test that.
[09:00] <Hajuu> sudo usermod -G www-data --append hajuu
[09:00] <Hajuu> thats what I did to add him to the www-data group
[09:00] <Hajuu> and to give group full access to the folder I did..
[09:00] <Hajuu> sudo chmod -R 775 /var/www/*
[09:01] <twb> Technically, SFTP is a component subsystem of ssh.
[09:01] <Hajuu> exactly :P
[09:01] <Hajuu> its really awesome. I'm in awe of the way it just worked
[09:01] <Hajuu> and its only like 4mb.
[09:01] <Hajuu> Truely a standard to live upto :P
[09:02] <Hajuu> this is purely a permissions error I still reckon
[09:02] <Hajuu> but I cant get it to work as I want
[09:03] <Hajuu> oh wait
[09:08] <Hajuu> blah yeah I just cant get it to work
[09:15] <Hajuu> drwxr-xr-x  3 root root  4.0K 2000-01-02 01:55 www
[09:15] <Hajuu> whatever I do
[09:15] <Hajuu> it seems to stay as root
[09:15] <Hajuu> no matter how I try to chmod it
[09:16] <Hajuu> :(
[09:21] <Hajuu> hahah
[09:21] <Hajuu> um
[09:21] <Hajuu> looks as though
[09:21] <Hajuu> ssh caches its permissions
[09:21] <Hajuu> or something
[09:21] <Hajuu> cause I terminated all my connections
[09:21] <Hajuu> restarted ssh
[09:21] <Hajuu> and now all is well
[09:23] <Hajuu> one final question
[09:23] <Hajuu> is it possible to use mount or fstab to mount an sftp to a place on the filesystem?
[09:24] <twb> Hajuu: you are thinking of sshfs.
[09:25] <twb> It isn't fantastic... but no network filesystem is.
[09:25] <Hajuu> meh thats ok it just would have made synchronizing stuff to the live server easier
[09:26] <_ruben> synchronize = rsync in my book :)
[09:31] <Hajuu> itd be cool if they added like a filesystem wrapper sshfs:// or something and included it - it'd be like the complete package then
[09:32] <Hajuu> I guess not everyone needs or wants that though
[09:32] <Hajuu> anyway, thanks a lot for all your help :D
[09:32] <Hajuu> peace
[19:04] <erik78se> http://uk.groups.yahoo.com/group/thepirateparty/members
[19:15] <Bilge> How does someone get started with C++ programming for Linux? Where is there documentation of the functions and stuff you have available on the platform?
[19:20] <MTecknology> Bilge: aptitude install build-essential
[19:21] <Bilge> That's documentation?
[19:21] <Bilge> It's already installed on my machine
[19:21] <Bilge> The description says it's for package building
[19:22] <MTecknology> then any C++ programming guide ylou can find applies
[19:22] <Bilge> Are you implying that any Windows functions and constants and whatever are also available on Linux?
[19:22] <Bilge> Because I find that hard to believe
[19:22] <Bilge> Therefore invalidating your claim that any guide applies
[19:23] <Bilge> In any case I have no such definitive guide
[19:23] <MTecknology> and the attitude invalidates me providing further help..
[19:24] <Doonz> Afternoon guys, Is there a way i can install ubuntu server on to a server that has no monitor attached to it.
[19:24] <Doonz> if i could just get the thing to boot off of an cd that would just provide me with ssh access to the box it would be all i needed
[19:25] <MTecknology> Doonz: I think your easiest option would be to setup a virtual machine on your own system and mimic the keypresses you provide
[19:25] <MTecknology> Doonz: You could use the installer to install openssh-server
[19:26] <Doonz> hmm
[19:27] <Doonz> so im kinda screwed i pretty much need a monitor to get the install going then
[19:27] <MTecknology> The other option would be to try to build your own installation cd that would do it all automatically which is very likely far too painful to do fo that
[19:27] <Doonz> well my settings would be fairly
[19:27] <MTecknology> I think I could do most of a server install without seeing the screen - it's mostly just all enter
[19:28] <Doonz> hm
[19:29] <MTecknology> I did a server install once when I was royally wasted; just referencing a vm a little should be pretty easy I'd think
[19:29] <Doonz> yeah i was just hoping there would be a unnatended install option
[19:30] <MTecknology> There's network boot options too..
[19:30] <MTecknology> Check out this page - https://help.ubuntu.com/community/Installation
[19:31] <Doonz> yeah i was reading those
[19:37] <MTecknology> Doonz: I'm not finding anything more helpful than what's on there
[19:37] <Doonz> yeah thats ok
[19:37] <Doonz> thanx tho
[19:37] <Doonz> ill just pull it up stairs
[19:37] <Doonz> :(
[19:39] <MTecknology> Ya, it's hard to do anything without having some sort of interaction on the system
[19:39] <MTecknology> hrm...
[19:39] <MTecknology> if you're comfortable with an ssh install....
[19:39] <MTecknology> Try out a systemrescuecd
[19:42] <MTecknology> it'll get you to a liv evironmet with no interaction. I think you just need to run one command to enable ssh access to the system
[19:53] <LizardK|ng> how is the server different than the desktop, other than having no gui?
[19:55] <guntbert> !server
[19:55] <MTecknology> LizardK|ng: different kernel; the install presents you with tasksel; and ya, all that
[19:56] <LizardK|ng> tasksel?  why a different kernel?  optimized for server tasks?
[19:58] <LizardK|ng> i am running jaunty as a server and i'm considering using ubuntu server, but i will want a gui.  would it be difficult to do that?
[20:01] <pmatulis> LizardK|ng: kernel flavour differences are best discerned by examining the kernel config options used to compile them.  good question though
[20:14] <ScottK> Starting with Karmic for i386, there is not a server specific kernel.  Server uses generic.
[21:02] <Anril> is it normal for /dev/md0 to be clean after a forced reboot without resyncing?
[21:26] <ghostlines> --pidfile: command not found
[21:26] <ghostlines> I'm trying to make a star-stop-daemon script for an app but I'm getting an --make-pidfile command not found error. Any ideas?
[21:45] <MatBoy> mhh I need some packagemanagement tool, but not landscape :)
[23:30] <LyonJT> How can i give a user full access rights to a folder?