[00:11] <greg-g> is the only place your shell defined in /etc/passwd? I want to puppetize it and it seems overkill to puppetize that entire file (and fraught with danger upon reinstalls)
[00:47] <rick_h> greg-g: chsh?
[02:48] <cmaloney> http://openmetalcast.com/2017/07/17/open-metalcast-episode-158-dont-let-up/
[02:48] <cmaloney> greg-g / rick_h Yeah, I'd use chsh after the fact.
[02:48] <cmaloney> that or Ansible has a module for adding a user and setting the shell. Wonder if Puppet has something similar
[02:49] <cmaloney> agreed: carryinf arround the passwd file is a bad move
[13:01] <jrwren> greg-g: yes, that is the only place the shell is defined.
[13:43] <ColonelPanic001> anyone ever use kdialog? I use it in a script to pop up a window with a text area input, then append what I put there into a file
[13:44] <ColonelPanic001> but, I'd like to ideally also have a textbox (just display text from a file) above or below that, looks like kdialog is just one-at-a-time
[13:44] <ColonelPanic001> not a big deal, but would be nice, if anyone knows something simple to do something like that. It's not worth me actually writing significant code for (at least not now)
[13:45] <jrwren> kdialog $(cat file) ?
[13:45] <jrwren> :)
[13:46] <ColonelPanic001> well, I tried the dead obvious - just do --textinputbox, and also --textbox <file>
[13:46] <ColonelPanic001> appears to just take the second one
[13:46] <ColonelPanic001> not a shock, it's not for building out entire UIs, just quick dialogs
[13:46] <ColonelPanic001> but figured it was worth the four seconds it took to try it
[13:55] <_stink_> you'll never get those 4 seconds back
[13:56] <ColonelPanic001> I know :\
[13:56] <ColonelPanic001> that's why I came here. Trying things for myself is a waste.
[13:56] <ColonelPanic001> nah, looks like `yad` might have some promise
[13:56] <ColonelPanic001> it's just not worth writing this as an actual "real" gui right now. All I do is type into the box, and it dumps it in a file.
[14:10] <ColonelPanic001> yeah, fwiw, it's a little less than ideal, but good enough
[14:10] <ColonelPanic001> yad, that is
[14:11] <ColonelPanic001> all I care is "show the tail of a file, then let me type in the next entry below". this is good enough.
[14:33] <ColonelPanic001> there. Now that I've wasted an hour on my dumb little script, I can actually start doing work
[14:36] <jrwren> :)
[14:48] <ColonelPanic001> I regret this already. My dumb little script was still more intersting than work
[14:54] <greg-g> jrwren: cmaloney rick_h yeah, chsh, I bet puppet does have something. /me looks more
[14:54] <jrwren> greg-g: is puppet creating the user?
[14:55] <greg-g> jrwren: no, this is for my laptop(s), so I do it when I install the OS
[14:55] <jrwren> wow, hardcore.
[14:56] <jrwren> its been over 10yrs since I installed any OS on a laptop that I gave a damn about anything setup wise. :p
[14:56] <jrwren> thanks apple.
[15:08] <greg-g> "not care" vs "can't care/change" :P
[15:13] <jrwren> its true.
[15:13] <jrwren> we all choose what to value and I chose not to value that. :)
[15:13] <jrwren> it was entirely intentional.
[15:15]  * greg-g nods
[15:21] <cmaloney> greg-g: That guy here: have you looked at Ansible for this?
[15:21] <jrwren> rofl.
[15:21] <greg-g> cmaloney: no, but only because we use puppet at work, so, I can cargo cult more easily :P
[15:21] <cmaloney> hey, there's always one
[15:21] <cmaloney> no worries. Figured there was some inertia to the decision
[15:22] <cmaloney> If it were me I'd use Ansible, but only because I have the intertia for it
[15:22] <jrwren> i'd use cloud-config for the same reason :)
[15:25] <cmaloney> Because why use a toothpick when a shotgun will clean your teeth nicely.
[15:28] <Scary_Guy> said Kurt :p
[15:29] <rick_h> Makefile ft
[15:29] <rick_h> ftw
[15:29] <cmaloney> rick_h: I'm banning you from Makefiles. ;)
[15:29] <greg-g> heh
[15:29] <rick_h> it's how I setup a new laptop
[15:30] <jrwren> here is my makefile flowchart:  are you building software: NO -> don't use a make file.
[15:30] <rick_h> git clone xxxx && cd xxxxx && make install install_python
[15:30] <cmaloney> heh
[15:30] <rick_h> jrwren: :)
[15:30] <greg-g> doing this in puppet at least gives me some (beginning of a) useful skill for the future... can't say that for makefiles :P
[15:30] <Scary_Guy> Compiling from source is great because security.  Binaries are great because I'm too lazy to read through all that code.
[15:30] <rick_h> it takes 4 git repos to setup a machine, dotfiles, vim files, ssh files, and email files
[15:31] <jrwren> why not a monorepo with all of that?
[15:31] <rick_h> because vim is public, and ssh is special and doesn't go on every machine
[15:31] <rick_h> and not every machine does email work (offlineimap/etc)
[15:32] <rick_h> so I've got different targets in the makefile to just handle what I want the machine to do
[15:33] <greg-g> puppet can deal with that in your site.pp :)
[15:34] <jrwren> why wouldn't ssh go on every machine?
[15:34] <jrwren> you don't have private keys there, do you?
[15:59] <Scary_Guy> IDK, maybe it's a resource or extra security thing?  If you don't need it why have it?
[16:01] <greg-g> I have ssh::x230 and ssh::x200s (my two laptops) and ssh::do1 (digitalocean host) for my .ssh/config's
[16:04] <Scary_Guy> Also, because unexpected things like this can't happen if the software isn't there in the first place to be exploited http://www.zdnet.com/article/serious-security-flaw-found-in-openssh-puts-private-keys-at-risk/
[16:12] <jrwren> that is true Scary_Guy