[01:04] <altf2o> when working w/ NIS + NFS + autofs , anyone ever seen it take a /local/ (to the client) user account and do weird stuff with it? My admin account was just 'user' but today when booting back up the owner was 1004 and group 1005. I could not log in nor do i have ANY account named 'user' being exported in NIS i wanted that admin account local only?
[01:06] <altf2o> i'm also getting 'permission denied' errors when trying to install software on my clients. Permissions for /home/<user> on the server are: 750 , didn't have issues yesterday either.
[01:15] <kansan> question:  how do i a command so that on every startup it gets executed?
[01:21] <maxb> kansan: Given the channel we're on, I assume you mean in the context of a server. But, do you mean a "command" that does something and then quits, or "command" as in starting a long-lived server process?
[01:22] <kansan> specifically i want to add a command to /etc/rc.local ... "wget http://169.254.169.254/latest/meta-data/user-data; chef-client -J user-data;' .... how can i do that from the command line?
[01:22] <kansan> i want that to be run on every startup
[01:22] <kansan> so the latter
[01:23]  * altf2o_ things his server is going kaput?!
[01:24] <sommer> kansan: I'd place the command into a shell script in /etc/init.d/ then do sudo update-rc.d script_name default
[01:24] <sommer> kansan: least I think that should work
[01:25] <kansan> sommer, is it not enough to add it in /etc/rc.local ?
[01:25] <kansan> and if not, why not?
[01:25] <maxb> kansan: Wait... if you know you want to put it into /etc/rc.local, why are you asking what to do?
[01:25] <sommer> kansan: that should work too
[01:25] <kansan> maxb, cuz i worry that because its launching a daemon of sorts
[01:26] <kansan> that /etc/rc.local might not be the right place?
[01:26] <sommer> rc.local will only launch a deamon if the contents are deamon applications... so your wget command will run then stop, and the system will continue with the boot process
[01:27] <kansan> sommer, but if i put semilcolons in between;  it will still run chef-client -J part
[01:27] <kansan> right?
[01:28] <sommer> it should... you can also to && which will only run if the first command is successful
[01:28] <kansan> is it good/bad idea to put pre authorized public keys of machines we want to be loggin in from into a server image?
[01:29] <sommer> should be fine... I mean they're "public" keys :)
[01:29] <kansan> hah ;p
[01:30] <sommer> I actually load my ssh key into cloned vms without any issue, it's a nice convenience
[01:30] <kansan> yes
[01:30] <kansan> i'm trying to figure out how to do it from command line
[01:30] <kansan> i.e. echo 'ing and >> to authorized_keys
[01:31] <kansan> i'm not sure how that command looks like
[01:31] <sommer> you could just create a standard authorized_keys file and copy it where needed
[01:32] <kansan> yes thats much easier
[01:46] <kansan> sommer, what should permissions me
[01:46] <kansan> be
[01:46] <sommer> for /etc/rc.local?
[01:46] <kansan> no for authorized_keys
[01:47] <kansan> 600?
[01:47] <sommer> kansan: something like that, mine are 644
[02:31] <zoopster> !pastebin
[02:38] <kansan> chroot '/mnt/build/ubuntu' apt-get install -y ruby ==> chroot: cannot run command `apt-get': No such file or directory .... ideas on how to fix?
[02:44] <owh> kansan: I suspect that you might need to specify a path to apt-get.
[02:48] <altf2o_> quick question: anyone know why i'd be getting a: Error reading /home/altf2o/.nano_history: Permission denied , when simply launching: nano foo.c , ? I do launch 'nano' while 'sudo'ing for editing files, could that have messed with me?
[02:51] <erichammond> altf2o_: quick answer: yes
[02:52] <erichammond> altf2o_: See also: http://ubuntuforums.org/showpost.php?p=1185470&postcount=4
[03:01] <JanC> altf2o_: the first time you launch nano, it should be as your own user, then you'd prevent this from happening
[03:02] <JanC> + the ubuntuforums post
[03:13] <kansan> owh, is there a place i can specify the path so it'll work with ch_root?
[03:18] <maxb> kansan: What are you trying to do with this chroot?
[03:18] <maxb> Beware that chroots, whilst not *hugely* complicated, aren't as simple as they may seem, either
[03:19] <kansan> maxb, build an ec2 image
[03:20] <kansan> in /mnt/build/ubuntu
[03:20] <kansan> i'm really getting frustrated with it :(
[03:20] <maxb> I don't know anything about ec2. Can I assume that it's roughly like building an image on a second hard drive to later boot it directly in other hardware?
[03:20] <kansan> eeys
[03:20] <kansan> yes
[03:21] <maxb> How did you create the basic stuff in the chroot?
[03:21] <maxb> debootstrap?
[03:21] <kansan> ah thats the issue
[03:21] <kansan> i'm trying to run a scirpt that was meant to be used at the end
[03:22] <kansan> once stuff in the new chroot was installed
[03:22] <kansan> and it cant find it
[03:22] <kansan> i was trying to test the script if it worked on its own
[03:22] <kansan> cuz dloading all the packages takes time
[03:41] <kansan> ok i'm using eric hammonds script:  wget http://ec2ubuntu-build-ami.notlong.com  to build an buntu server image.  how can i ensure that the resulting /etc/rc.local has:   wget http://169.254.169.254/latest/meta-data/user-data; chef-client -J user-data;   inside it?
[03:41] <kansan> it uses debootstrap i believe
[03:41] <kansan> maxb, ?
[04:13] <maxb> kansan: so, it looks like you're supposed to hook into it by writing a customization script for the --script option
[04:14] <kansan> well i did
[04:14] <kansan> we'll see if it works ;p
[06:53] <jef_buntu> hi
[06:56] <jef_buntu> I have configured a server that is supposed to boot diskless clients but the client i have to boot now doesnt have a screen and its not booting with it
[07:04] <jef_buntu> I have configured a server that is supposed to boot diskless clients but the client i have to boot now doesnt have a screen and its not booting
[07:08] <jef_buntu> hi
[07:08] <jef_buntu> can someone help me?
[07:47] <kaushal> hi
[07:48] <kaushal> is there a step by step guide to install Oracle9i Release 2 Database Server on Ubuntu 8.10 server ?
[07:54] <domas> the best method is: apt-get install mysql-server
[07:54] <domas> \o/
[07:56] <hads> I think you mis-spelled postgresql
[07:56] <domas> no, no, indeed, it is mysql :)
[07:57] <hads> Oh, sorry, I thought you were talking about an Oracle substitute :)
[07:57] <domas> I'm talking about next generation database! :)
[07:57] <domas> not about substitutes
[07:57] <hads> So I was right.
[07:58] <domas> in a way :)
[07:58] <frippz> kaushal: I'm guessing that you've already tried Google?
[07:58] <genii> postgres has it all over mysql
[07:58] <kaushal> frippz, yes
[08:08] <genii> kaushal: You could try https://help.ubuntu.com/community/Oracle10g   The author asserts he has tested it with LTS (8.04)
[08:31] <simplexio> :) mysql vs postgresql is allways fun. but you can ( ithink) convert oracle pgsql and tables easily to postgresql compatible form
[08:32] <simplexio> not so long ago i found page where someone used same dataset in oracle and pg8.3, without any optimizations pg was 5-10x faster per query (both db didnt have load there).. too bad that i dont have that link
[08:49] <AnRkey> what is the correct way to set /proc/sys/net/ipv4/ip_forward to 1?
[08:50] <hads> echo 1 > /proc/sys/net/ipv4/ip_forward
[08:50] <AnRkey> i have logged in to a client's server a couple times now to find it off and the box has not rebooted. Is there a reason why this would be?
[08:50] <_ruben> edit /etc/sysctl.conf
[08:50] <AnRkey> ta
[08:50] <hads> If you want it done on reboot, what he said.
[08:51] <_ruben> nothing will prevent it from being changed by whatever service/script/etc though
[08:51] <_ruben> there's several ways to get the same result .. investigate what changes the value remains an issue i'd say
[08:51] <AnRkey> thanks _ruben that seems to be the elegant way to do it
[08:52] <AnRkey> i had echo 1 > ... in the rc.local file
[08:52] <AnRkey> then i added my own cron
[08:52] <AnRkey> and now /etc/sysctl.conf
[08:52] <hads> Use a hammer too? :)
[08:53] <AnRkey> naa :) i think i got it now thanks
[08:53] <AnRkey> i need this client, still it would be damn funny to see his face when i cruise in there with a 4 pounder :)
[10:16] <milestone> hi all
[10:18] <milestone> i think it might be good to keep my server configurations inside a subversion repository. is there a tool which provides the management of such a task? Most importnant that hooks in with apt-get to merge configuration changes by that back into the repository? something like etckeeper
[10:18] <milestone> http://kitenet.net/~joey/code/etckeeper/
[10:19] <henkjan> milestone: its being worked on https://wiki.ubuntu.com/EtcUnderRevisionControlSpec
[10:20] <milestone> henkjan: great thanks. Although i want to use my subversion repository and etckeeper does not support svn
[10:20] <milestone> will the stuff being worked on support svn as well?
[10:22] <Deeeps> having read the page
[10:22] <Deeeps> i'd say no, given that it's build on etckeeper and using bzr
[10:22] <Deeeps> given that there's absolutely no mention of svn anywhere on the page either, i'd highly doubt it
[10:22] <milestone> Deeeps: i think its in the nature of the VCS internal structure
[10:23] <milestone> bzr and git are distributed repositories
[10:23] <milestone> subversion is a central repository
[10:24] <milestone> which has control of what is being out there, while git allows for managing the repository locally
[10:27] <milestone> anyone aware of http://lists.debian.org/debian-devel/2005/02/msg00495.html
[10:27] <milestone> ?
[10:37] <domas> milestone: I use bzr :)
[10:44] <spc> hi anibody uses ESMTP ? i have problems settin it up.
[10:44] <spc> on one location work ok on other no
[10:54] <davmor2> Guys I've been using webmin to configure my ubuntu hardy server.  However being that I'm an Ubuntu tester I thought it would be more prudent to use the ebox platform instead.  To that end I have set up a test box so I can play about with ebox and get the server the way I'd like it.  In the doc for 8.04 is says if you want to install all the packages use ebox-all meta package this doesn't seem to exist or am I doing s
[10:56] <Deeeps> davmor2: try apt-get install ^ebox-.*
[10:56] <Deeeps> to install all modules
[10:57] <davmor2> Deeeps: Thanks I was going to do that after, I found a howto but wanted to check if the docs were correct or not first.
[10:59] <Deeeps> looks like the docs may be wrong if the ebox-all package doesn't exist
[10:59] <Deeeps> recommend filing a bug report!
[11:02] <davmor2> Deeeps: Thanks anyway :)
[11:41] <frippz> I'm not really sure if I understand the concept of ebox. is it possible to administer several server from one ebox installation?
[11:41] <frippz> *servers
[11:44] <_ruben> iirc you'd install ebox on each server you'd want to manage
[11:45] <frippz> hmm, ok. a little unfortunate for some servers that would otherwise be very lean (i.e. a pure DNS-server) if Apache and other stuff has to go there as well
[11:48] <_ruben> you'd use solutions like cfengine for that .. we use own script for it actually .. bash+cvs
[11:48] <_ruben> which is kinda like etckeeper i think
[13:48] <dayo__> awesome
[13:50] <dayo__> i'm trying to set up a server. i've installed openldap and, now i need to install powerdns and dhcp3-server. which of these two do i install first?
[13:51] <_ruben> no apparent order .. you could install em all at once if you want
[13:53] <dayo__> ruben: ok, thanks! i was wondering, because the instructions i'm following talked about setting dns servers in /etc/resolv.conf, which made me think maybe the order of installation mattered.
[13:53] <dayo__> that is the dhcp installation instructions
[14:08] <cjwatson> dayo__: worst case you get to restart both of the servers after you've configured everything *shrug*
[14:09]  * _ruben takes a stroll down to the serverroom .. server isnt coming after a (what appeared to be a successful) remote install .. sigh
[14:10] <_ruben> coming up that is
[14:15] <dayo__> cjwatson: well, i've installed and configured dhcp3-server. now on to install pdns-server and pdns-ldap-backend
[14:29] <dayo__> that's pdns-backend-ldap ...... maybe that's why tutorials have been hard to google. hmmm
[14:32] <AnRkey> I have a backup of /var/spool/mail and I want to know how I can get the restored files to be processed and delivered to the maildirs?
[14:36] <dayo__> AnRkey: this is what i use: http://www.howtoforge.com/linux_backuppc
[14:42] <dayo__> does anyone know any good tutorials for installing powerdns with LDAP as backend?
[14:53] <cedeel> Hi. Does somebody have experience in getting MPD to work on the server edition?
[14:58] <soren> cedeel: What's the problem?
[14:59] <cedeel> seems to have resolved itself... was a permission problem with the default user not being in the audio group
[15:01] <rdw200169> dayo__, you're talking about the same thing bind does; it *can* (though few do) store records in ldap; is this what you're talking about?  like the A records, etc...?
[15:06] <rdw200169> dayo__, there's are examples in /usr/share/doc/pdns-backend-ldap
[15:06] <rdw200169> dayo__, and there's a manpage that's installed: zone2ldap
[15:07] <rdw200169> dayo__, and you have to add the schema dnsdomain2 to openldap; i can't remember how to do this, because ubuntu uses the dn=config configuration storage method
[15:08] <rdw200169> dayo__, but it did install that for you, so that step is done... in /etc/ldap/schema
[15:08] <MatBoy> are people using here seperate MySQL servers to authenticate ProFTP or is running it locally a wiser idea ?
[15:09] <rdw200169> MatBoy, security-wise you mean?
[15:11] <looseparts> Hello, I'm trying to set up samba on my Ubuntu server, so I can map a drive from my windows boxes and store files on the server. I've a problem in the smb.conf (?) where the username in the windows logon box automatically adds the windows macnine name to the login name - like this. I type <bobby> <passwd> and click OK, it immediately pops back up with <MACHINE-NAME\bobby> <blank> and of course won't let me succeed in logging in
[15:13] <rdw200169> looseparts, you don't need samba for that; you can just mount a samba share using mount; i.e. cifs
[15:13] <looseparts> from the windows side?
[15:14] <rdw200169> looseparts, ah, i got it the other way around
[15:14] <looseparts> i want to store windows files on the linux server
[15:14] <AnRkey> dayo__, that does not help much i'm afraid
[15:15] <AnRkey> i have the files restored, but the mails are not being delivered
[15:15] <rdw200169> looseparts, so you're talking about windows -> linux, right?
[15:15] <looseparts> rdw200169, yes
[15:16] <rdw200169> looseparts, yah, just mount the windows share on the linux server
[15:16] <Deeeps> i think he wants to store the files on the server
[15:16] <Deeeps> and thus, mount a share from his linux server on his windows clients
[15:17] <looseparts> uh. shouldn't i be mounting the linux share on my windows boxes?
[15:17] <Deeeps> looseparts: what version of ubuntu are you using>
[15:17] <rdw200169> looseparts, that's what i'm been asking; trying to figure it out
[15:18] <looseparts> see, i want to run Robocopy and incremenatlly backup my wife (unending) work on my linux server for safekeepping.
[15:18] <Deeeps> rdw200169: 1514.37 < looseparts> i want to store windows files on the linux server
[15:18] <looseparts> it's 8.04 lts
[15:18] <looseparts> and xp
[15:19] <Deeeps> looseparts: see https://help.ubuntu.com/8.04/serverguide/C/configuring-samba.html, scroll down to the section headed 'user accounts'
[15:19] <looseparts> (sorry - I meant my wife's unending work - she's doing a lot of writing...
[15:19] <looseparts> Deeeps, i'll look there - thanks
[15:21] <looseparts> Deeeps, et al. I'm off the work - I'll (re)read the configuing-samba.html and touch back in an hour or two. thanks for your help.
[15:22] <refnumzx> I am trying to get the version of kvm available in jaunty to run on intrepid.  The  amd64 version available on the packages pages makes dpkg produce an error that udev will break and fails to install.  I do not know how to build debian packages from source, i did try exploring that yesterday.  Does anyone have any suggestions?
[15:23] <Deeeps> refnumzx: https://wiki.ubuntu.com/Prevu may be relevant to your interests
[16:15] <refnumzx> 0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0~0
[16:33] <Deeeps> kirkland: loving the new dark theme
[18:39] <kaje> I have a script I want to run whenever someone logs in (via ssh, gdm, whatever)... I though I could just put it in /etc/profile.d/, but that didn't seem to work. Any suggestions?
[18:48] <pmatulis> shell-dependent i would say
[19:30] <andol> kaje: The content in /etc/profile.d/ is sourced not run.
[19:46] <thehook> Hello everyone :) I have made a script that updates the system and installs Nginx with PHP support and MySQL with minimal user-interaction (only asks for mysql root password pretty early). If anyone could please check it out and give me some feedback it would be great! http://insecure.no/2009/01/easy-nginx-php-and-mysql-installer-script/
[19:49] <thehook> And if anyone knows how to suppress the big blue screen asking for MySQL root password so i can set it manually later? Hope anyone has a tips or two for me :)
[19:55] <kaje> andol: Where should I put a script that I want to run whenever someone logs in?
[19:56] <jmarsden|work> kaje: I'd say that /etc/profile.d/ is the right idea; just do it as a shell script fragment that will be sourced (executed in the current login shell) not executed in a separate process.
[19:56] <domas> hi!
[19:59] <jmarsden|work> kaje: So you can do   echo 'echo Hello shell user' |sudo tee /etc/profile.d/hello.sh   and then log in and it should display that little message to everyone who logs in.
[20:00] <maxb> kaje: Define "logs in" - console? ssh? X? What about the difference between interactive and non-interactive ssh?
[20:01]  * domas points to 'sudo bash' ;-)
[20:01] <domas> thehook: you can specify dpkg 'noninteractive mode'
[20:01] <domas> thehook: the easiest way is just sending to background :)
[20:02] <thehook> domas: will the script continue then?
[20:02] <domas> thehook: you can also put in < /dev/null
[20:02] <domas> so dpkg notices it doesn't own terminal
[20:02] <domas> dunno :)
[20:02] <domas> I wouldn't use mysql package from ubuntu
[20:03] <domas> I'd use one from mysql.com :)
[20:03] <thehook> hehe, i dont think it will work with > /dev/null at leaast but maybe the noninteractive mode
[20:03] <domas> thehook: < /dev/null
[20:03] <domas> thehook: not > /dev/null
[20:03] <domas> anyway, there's a way to set batch behavior somehow
[20:04] <thehook> and that's the way im looking for :P hehe, but i cant find it though :s
[20:05] <domas> I told you, try redirecting input
[20:05] <thehook> some guy said something about search google for "dpkg default priority" but all i find is dpkg-reconfigure --priority="low"
[20:05] <domas> or running with & :)
[20:05] <thehook> i am trying :) but i think the script will hang if it isn't getting any input
[20:06] <domas> hehehe
[20:06] <domas> you have limited thinking then!
[20:06] <jmarsden|work> thehook: Read the debconf(7) man page, look at the non-interactive front end option...
[20:06] <domas> anyway, I'll reiterate, I wouldn't use ubuntu package myself
[20:07] <domas> or at least I'd do considerable changes to it
[20:07] <domas> after I install it
[20:08] <domas> it has at least 3 major mistakes
[20:10] <thehook> domas: like what then? the only reason i'm using apt-get is because it will get updates automatically later :)
[20:10] <thehook> jmarsden: thanks, i will :)
[20:10] <thehook> jmarsden|work: thanks, i will :)
[20:11] <jmarsden|work> :)  I should have /away'ed before I left for work... I forgot to do that today!
[20:11] <thehook> hehe
[20:14] <thehook> jmarsden|work: how do i get the debconf(7) i just seem to get debconf(1).. im not to familiar with the man :P
[20:16] <jmarsden|work> man 7 debconf
[20:16] <jmarsden|work> BTW, you should also do man man and read that :)
[20:17] <thehook> hehehe, i tried man debconf 7 actually :P
[20:24] <thehook> domas: would you please tell me what the 3 mistakes with ubuntu package of mysql? :)
[20:25] <thehook> im trying to make the script as secure as possible so i would love to hear what.
[20:25] <domas> thehook: 1. CHECK TABLE on every restart 2. ~mysql permissions
[20:25] <domas> 3. old mysql version
[20:25] <thehook> mysql permission?
[20:26] <thehook> and is it bad that it does CHECK TABLE on every restart?
[20:27] <domas> thehook: if you had any 300GB innodb tables, you wouldn't like that ;-)
[20:27] <domas> well, even 10G is noticeable
[20:27] <thehook> is there any way to fix this with configuration after install?
[20:27] <domas> yes
[20:27] <domas> you have to edit the file installed by package
[20:28] <thehook> the config files right? what about the permissions? i will try to add this in my scripts :)
[20:30] <domas> just change mysql userdir to /nonexisting
[20:30] <domas> ~mysql should never be writable by mysqld
[20:30] <thehook> i'm not that into mysql configuration and would love if you maybe could help me a little bit to make a secure configuration :)
[20:31] <domas> come to my talk at mysql conference!
[20:31] <thehook> where?
[20:31] <domas> http://en.oreilly.com/mysql2009/public/schedule/detail/6753
[20:31] <domas> :-D
[20:32] <thehook> nice :) but too bad im living in norway :s
[20:34] <thehook> but i would love to if it was possible
[20:35] <domas> it is a good conference
[20:35] <thehook> im sure it is, i want to go already
[20:36] <thehook> but brb, i think i need some food :P
[20:51] <jef_buntu_> hi
[20:52] <jef_buntu_> i was able to makeup a NIC by sending an handmake frame but now my dhcp tftp servers dont boot the wakeup client...
[20:53] <jef_buntu_> makeup=wakeup
[21:03] <toehio> Can someone please give me some guidance for installing sound on my server?
[21:10] <kaje> I'm trying to get ssl working with apache on my ubuntu server. I've followed the instructions in the documentation on the ubuntu site. Now I'm getting this error when I try to look at the page in my web browser: ssl_error_rx_record_too_long
[21:10] <kaje> Any thoughts? I'm not seeing any message in the apache error log
[21:28] <genii> kaje: Perhaps see http://kainotes.blogspot.com/2008/08/creating-ssl-certificate-for-apache-on.html
[21:34] <kaje> The way I fixed it was to add NameVirtualHost *:80 \n NameVirtualHost *:443 to the top of my defaul vhost
[21:35] <kaje> Then every vhost had to be <VirtualHost *:80> or <VirtualHost *:443>
[21:35] <kaje> not sure why that was necessary, but it worked...
[22:19] <kansan> is this a valid /etc/rc.local file?  : http://pastie.org/373672
[22:21] <erichammond> kansan: You may wish to be explicit in where you expect the user-data to be downloaded (what directory) and perhaps even remove the file afterwards.
[22:21] <kansan> erichammond, where would you recommend?
[22:21] <kansan> to put it that is/
[22:22] <erichammond> kansan: /tmp is always convenient for temporary files :)
[22:22] <kansan> erichammond, once i invoke with user-data;  is it safe to delete at that point?
[22:23] <erichammond> kansan: I don't know how chef-client operates.
[22:25] <kansan> will wget overwrite the file if it already exists?  if not how can i make sure to?
[22:25] <erichammond> kansan: If you are starting with the Ubuntu AMIs I list on http://alestic.com then you can simply pass in a script to user-data and it will automatically be run on first boot.  That script could save the data file and run chef-client.
[22:26] <erichammond> kansan: I don't know how much other custom configuration you are doing, but it might even be possible to not have to build your own AMIs.
[22:26] <kansan> erichammond, i'm close to not having to build one
[22:26] <erichammond> kansan: Do you want to run chef-client on every reboot of the server? or just on the first boot?
[22:26] <kansan> erichammond, i'm now usuing chef which automates things
[22:27] <kansan> erichammond, every reboot
[22:27] <erichammond> user-data cannot be changed after the EC2 instance starts, so why does it need to be run on reboots?
[22:27] <kansan> erichammond, chef-client needs to start up
[22:27] <kansan> upon boot
[22:28] <kansan> and if it cant be changed
[22:28] <kansan> i dont need to rm it
[22:28] <kansan> problem solved
[22:28] <erichammond> right
[22:28] <erichammond> so /tmp is not the best place for that
[22:28] <kansan> ah you're right
[22:29] <kansan> i think it gets auto cleaned
[22:29] <kansan> where should i put instead?
[22:29] <kansan> i'm thinking /etc/ ?
[22:30] <erichammond> kansan: I would expect the chef documentation to have example locations under /etc or the like.
[22:30] <kansan> wait better
[22:30] <kansan> /etc/chef
[22:30] <kansan> along with chef config
[22:30] <kansan> perfect
[22:30] <kansan> erichammond, it doesnt really document how to start it up with ec2
[22:30] <kansan> folks in #chef are helping
[22:32] <erichammond> kansan: If you choose to use the user-data script hooks in the public Ubuntu AMIs, you will want to have that script install a chef-client startup program under /etc/init.d and symlink from /etc/rc4.d so that it gets started on reboots.
[22:33] <kansan> erichammond, isnt it enough to put this cd /etc/chef; wget http://169.254.169.254/latest/meta-data/user-data; chef-client -J user-data;
[22:33] <kansan> inside /etc/rc.local ?
[22:33] <kansan> i thought rc.local gets run on every boot
[22:33] <kansan> oh you're saying if i choose not to bundle an ami?
[22:44] <erichammond> kansan: right on the last q.  (out to lunch, be back later)
[22:58] <fevel_> hi
[23:02] <fevel_> hello
[23:32] <RediXe> What is the terminal command to remove a user from a group? Specifically to remove a user from being able to use sudo. (admin group I think)
[23:34] <dayo__> RediXe: check the man pages for usermod
[23:34] <dayo__> RediXe: personally, i just edit the /etc/group file in vim
[23:35]  * altf2o_ wonders why his first 'sudo' command takes /forever/ to run. Subsequent ones are fast.
[23:35] <RediXe> dayo__, okay that just seems like the best way i guess. I thought there would be a more "accepted" solution using something like usermod.
[23:38] <dayo__> RediXe: imo "accepted" is whatever works and  u're most comfortable with
[23:39] <Deeeps> for auditing purposes, using sudo usermod is probably better
[23:39] <Kamping_Kaiser> RediXe, also look at gpasswd
[23:40] <JanC> altf2o_: probably because the second time all the files it needs are cached in memory?  ;)
[23:40] <RediXe> dayo__, okay :D I have used that method before I am just writing a wiki entry for setting up new machines for new employees (small office) I'll looking into usermod and gpasswd thanks :)
[23:40] <Kamping_Kaiser> :)
[23:40] <altf2o_> that's my guess, it's just annoying, i have no idea why it's starting to do this out of nowhere. One day it took 3 seconds for the first one, now it takes 30
[23:40] <Kamping_Kaiser> iirc the command would be `gpasswd -R $username $groupname`
[23:41] <JanC> altf2o_: oh, that sounds like something else is wrong
[23:41] <Deeeps> RediXe: probably better off having them use one of those tools for your office environment then, rather than vi, as the change can be logged then
[23:41] <altf2o_> JanC: yeah and i've been messing with so many things i have no idea where i could've jacked something up.
[23:41] <RediXe> Deeeps, okay.
[23:52] <MatBoy> I have some weird issues with proftpd and mysql... my quota is not updated in the DB...