From melwalters at telus.net Wed Feb 1 07:53:47 2012 From: melwalters at telus.net (Mel Walters) Date: Wed, 01 Feb 2012 08:53:47 -0700 Subject: [clug-talk] Revisiting Linux Users Group's Mandate Message-ID: <1328111627.2771.2549.camel@hawk.calgary.lan> Here is that first very ruff draft again, this time in the more readable portable document format. http://clug.ca/mandateRevisit.pdf be prepared to replace it with more than the first draft later though We have already seen efforts in implementing this great user experience in a variety of Linux distributions. I would like to speak very briefly on that quest for the better operating system and beyond. Mel From president at clug.ca Wed Feb 1 13:50:56 2012 From: president at clug.ca (president at clug.ca) Date: Wed, 1 Feb 2012 13:50:56 -0800 Subject: [clug-talk] UG News: Get Git Today and Save 50-60% - New "McCullough and Berglund on Mastering Advanced Git" and More Message-ID: <1328133056.25939.0.308339@post.oreilly.com> This message, originally from "O'Reilly Media" , has been forwarded to you by president at clug.ca with the following comment: Sale that may interest some of our members. Note that Videos and ebooks from oreilly.com are DRM-free View in browser: http://post.oreilly.com/rd/9z1ze9ddt0j4v6md8be4ltrvu6e891ddj119vjq8uog Forward this announcement to your user group or a friend: http://post.oreilly.com/f2f/9z1zjksl0ud1oukkg16he6qrbar7sqjopbeguvmoe9g *** Save 50-60% - Get Git *** Videos and ebooks from oreilly.com are DRM-free. You get free lifetime access and free updates. Deal expires Feb. 8, 2012, and cannot be combined with other offers. _____________________________________________ New Video: McCullough and Berglund on Mastering Advanced Git http://post.oreilly.com/rd/9z1z1er1r6kgr839uqmj4iqroertn2909buglatode8 Was: $39.99 Now: $19.99 (Save 50%) Add to Cart: http://post.oreilly.com/rd/9z1zouur8evfu7rmouj0meo06nm0b4p9l576ua09o38 Go beyond the basics and take Git to a higher level of productivity. If you're familiar with this popular distributed revision control system (DVCS), Mastering Advanced Git will help you leverage Git's powerful yet underused advanced features. ____________________________________________ OR Buy the Collection and Save 60% McCullough and Berglund on Mastering Git (Video) http://post.oreilly.com/rd/9z1z46iejbgdso28n4od3b6nnvtqui232jio4gelh4o McCullough and Berglund on Mastering Advanced Git (Video) http://post.oreilly.com/rd/9z1z3894fjqrsj3ochmulfji33lq46t1973pd2attn8 Version Control with Git (Ebook) http://post.oreilly.com/rd/9z1zp4aoa4bbp6m6gf91d27ta76pnuof86a76u1lmgg Was: $117.97 Now: $47.20 Add Collection to Cart: http://post.oreilly.com/rd/9z1zkk7g6j7m9mujqpavo47dki0vb3glbsrl80jop1g Forward this special offer to a friend: http://post.oreilly.com/f2f/9z1zjksl0ud1oukkg16he6qrbar7sqjopbeguvmoe9g -------------------------------------------------------------- O'Reilly - Spreading the knowledge of innovators | oreilly.com -------------------------------------------------------------- You are receiving this email because you are a User Group contact with O'Reilly Media. If you would like to stop receiving these newsletters or announcements from O'Reilly, send an email to: usergroups at oreilly.com O'Reilly Media, Inc. 1005 Gravenstein Highway North, Sebastopol, CA 95472 (707) 827-7000 This message may contain advertising or solicitation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kwong at csa-pdk.com Wed Feb 1 15:26:47 2012 From: kwong at csa-pdk.com (kwong at csa-pdk.com) Date: Wed, 01 Feb 2012 17:26:47 -0600 Subject: [clug-talk] Apologies & change in meeting space In-Reply-To: <1328073395.2771.1870.camel@hawk.calgary.lan> References: <1328073395.2771.1870.camel@hawk.calgary.lan> Message-ID: <20120201172647.71141u5my77o0zzr@mail.csa-pdk.com> Quoting Mel Walters : > Only Dave has stepped up so far for talks/demos, but some meetings end > up having a maelstrom of enjoyable group discussion. > > Attend, so you will not miss anything. Come and make new friends and > also reconnect. > See you there! > > http://clug.ca/node/642 > http://clug.ca/events > > Also, please refer to the attached thumb nail sketch: mandateRevisit.txt > > The PDF version mandateRevisit.pdf is too big (95K) to add to the email > but it was much easier to read. > I will bring the file and print outs. > > mandateRevisit.txt =====> > Revisiting Linux Users Group's Mandate > > Mel Walters > January 31, 2012 > Calgary Linux Users Group (or Guild) Mandate > > To encourage and promote the use of free[footnote: > Free as in freedoms > ] and open source software.[footnote: > This was mostly by memory, as I did not yet find the original > statement > ] > > How is it going so far > > 1 Introspection (To look within) > > 1.1 What works so far > > 1.2 Maturity of the desktop > > 1.3 Missed the moving target? > > 1.4 Listening to the customer > > 1.4.1 Who is the customer? > > ? Computer/device users in general > > 1.5 What do they want? > > ? Value for their time and money > > ? Ease of start up > > ? Low maintenance costs (time and money) > > ? That it just will work! > > ? Compatible with and maximizes hardware performance > > 2 Adapting to change > > ? The customers can change (come and go, change in metrics) > > ? Technology in vogue > > ? Main point being: Give them what they want and exceed their > expectations, OR lose the customer > > 3 Keep the basics simple > > ? Expand on the I want it all part only when simple is already covered > > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying From kwong at csa-pdk.com Wed Feb 1 15:30:32 2012 From: kwong at csa-pdk.com (kwong at csa-pdk.com) Date: Wed, 01 Feb 2012 17:30:32 -0600 Subject: [clug-talk] Apologies & meeting change to UofC downtown campus Message-ID: <20120201173032.18865d82tcufw2e0@mail.csa-pdk.com> A thousand apologies - I did not book the space a Devry early enough and they have been rustling feathers again about charges. Only found out late yesterday and have not been able to meet and talk about space downtown until a hour ago. New space this month at University of Calgary - Downtown Campus 906 - 8 Ave SW Room 320 See you there. From dtcrsby at gmail.com Wed Feb 1 15:31:31 2012 From: dtcrsby at gmail.com (Dafydd Crosby) Date: Wed, 1 Feb 2012 16:31:31 -0700 Subject: [clug-talk] Apologies & change in meeting space In-Reply-To: <20120201172647.71141u5my77o0zzr@mail.csa-pdk.com> References: <1328073395.2771.1870.camel@hawk.calgary.lan> <20120201172647.71141u5my77o0zzr@mail.csa-pdk.com> Message-ID: Hmm, looks like Kin wasn't able to get his message through. There's been a last minute change in space - we're going to be at the University of Calgary downtown location: University of Calgary, Downtown (Room 320) 906 8th Ave. SW, Calgary, Alberta Sorry we couldn't get the message out earlier - I'll be bringing in some snacks, though! -Dafydd On Wed, Feb 1, 2012 at 4:26 PM, wrote: > Quoting Mel Walters : > > Only Dave has stepped up so far for talks/demos, but some meetings end >> up having a maelstrom of enjoyable group discussion. >> >> Attend, so you will not miss anything. Come and make new friends and >> also reconnect. >> See you there! >> >> http://clug.ca/node/642 >> http://clug.ca/events >> >> Also, please refer to the attached thumb nail sketch: mandateRevisit.txt >> >> The PDF version mandateRevisit.pdf is too big (95K) to add to the email >> but it was much easier to read. >> I will bring the file and print outs. >> >> mandateRevisit.txt =====> >> Revisiting Linux Users Group's Mandate >> >> Mel Walters >> January 31, 2012 >> Calgary Linux Users Group (or Guild) Mandate >> >> To encourage and promote the use of free[footnote: >> Free as in freedoms >> ] and open source software.[footnote: >> This was mostly by memory, as I did not yet find the original >> statement >> ] >> >> How is it going so far >> >> 1 Introspection (To look within) >> >> 1.1 What works so far >> >> 1.2 Maturity of the desktop >> >> 1.3 Missed the moving target? >> >> 1.4 Listening to the customer >> >> 1.4.1 Who is the customer? >> >> ? Computer/device users in general >> >> 1.5 What do they want? >> >> ? Value for their time and money >> >> ? Ease of start up >> >> ? Low maintenance costs (time and money) >> >> ? That it just will work! >> >> ? Compatible with and maximizes hardware performance >> >> 2 Adapting to change >> >> ? The customers can change (come and go, change in metrics) >> >> ? Technology in vogue >> >> ? Main point being: Give them what they want and exceed their >> expectations, OR lose the customer >> >> 3 Keep the basics simple >> >> ? Expand on the I want it all part only when simple is already covered >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kwong at csa-pdk.com Wed Feb 1 15:32:14 2012 From: kwong at csa-pdk.com (kwong at csa-pdk.com) Date: Wed, 01 Feb 2012 17:32:14 -0600 Subject: [clug-talk] Apologies & change in meeting space In-Reply-To: <20120201172647.71141u5my77o0zzr@mail.csa-pdk.com> References: <1328073395.2771.1870.camel@hawk.calgary.lan> <20120201172647.71141u5my77o0zzr@mail.csa-pdk.com> Message-ID: <20120201173214.20657cf8fdj7l11a@mail.csa-pdk.com> Sorry - fat fingers. From melwalters at telus.net Wed Feb 1 15:32:24 2012 From: melwalters at telus.net (Mel Walters) Date: Wed, 01 Feb 2012 16:32:24 -0700 Subject: [clug-talk] Meeting LOCATION - TIME change update - last min change - URGENT Message-ID: <1328139144.2771.3027.camel@hawk.calgary.lan> Meeting location change update - last min change - URGENT Two changes: 1/ Location: U of Calgary - downtown campus corner of 8 Street and 8 Avenue SW 2/ Time: Time is moved up to 6:00 pm This is to better use the facilities because they close earlier. Meeting will start a little later (6:15 ?) we will play that by ear this first time. To get in remember, the security guard knows Kin Wong Sorry for such a last min change but they had told me no problem before Not surprised really Hope to see you there! Mel From beta_guy at shaw.ca Wed Feb 1 19:10:53 2012 From: beta_guy at shaw.ca (Jeff Smith) Date: Wed, 01 Feb 2012 20:10:53 -0700 Subject: [clug-talk] Meeting LOCATION - TIME change update - last min change - URGENT In-Reply-To: <1328139144.2771.3027.camel@hawk.calgary.lan> References: <1328139144.2771.3027.camel@hawk.calgary.lan> Message-ID: <4F29FEBD.80206@shaw.ca> On 12-02-01 4:32 PM, Mel Walters wrote: > Meeting location change update - last min change - URGENT > > Two changes: > > 1/ Location: > U of Calgary - downtown campus > corner of 8 Street and 8 Avenue SW > > 2/ Time: > Time is moved up to 6:00 pm > This is to better use the facilities because they close earlier. > Meeting will start a little later (6:15 ?) we will play that by ear this > first time. > > To get in remember, the security guard knows Kin Wong > > Sorry for such a last min change but they had told me no problem before > Not surprised really > > Hope to see you there! > > Mel > > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying > I didn't see this e-mail, I showed up at Devry, and saw some other group using our room, didn't know where else it was being held. hopefully I'll be there next month. From dtcrsby at gmail.com Wed Feb 1 22:23:24 2012 From: dtcrsby at gmail.com (Dafydd Crosby) Date: Wed, 1 Feb 2012 23:23:24 -0700 Subject: [clug-talk] Meeting LOCATION - TIME change update - last min change - URGENT In-Reply-To: <4F29FEBD.80206@shaw.ca> References: <1328139144.2771.3027.camel@hawk.calgary.lan> <4F29FEBD.80206@shaw.ca> Message-ID: Hi Jeff, I'm really sorry about this - unfortunately, we (the CLUG executive) didn't find out that DeVry wasn't giving us a room until quite late in the day. I myself only found out about the change two hours before the meeting, and I'm the VP, so trust me when I say this was unexpected. This last-minute move caused a lot of confusion and frustration, and I would like to assure you that we're looking into alternative venues as a result. We'll have more news on this as it develops, and will make sure next month will not be so eventful :-) -Dafydd On Wed, Feb 1, 2012 at 8:10 PM, Jeff Smith wrote: > I didn't see this e-mail, I showed up at Devry, and saw some other group > using our room, didn't know where else it was being held. hopefully I'll be > there next month. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wgking at shaw.ca Thu Feb 9 23:43:05 2012 From: wgking at shaw.ca (Greg King) Date: Fri, 10 Feb 2012 00:43:05 -0700 (MST) Subject: [clug-talk] Mini SD card ? In-Reply-To: <197fb47f-5109-4dc1-93bb-b40dd2c6023e@cds015.dcs.int.inet> Message-ID: Does anyone know where I might get a "Mini SD" card locally. It should have < 2GB storage. I've checked the usual places to no avail. It is the middle one in the attached picture. I have a device that will only work with this card... Greg -------------- next part -------------- A non-text attachment was scrubbed... Name: MiniSD-card.jpg Type: image/jpeg Size: 21102 bytes Desc: not available URL: From simon at mungewell.org Fri Feb 10 07:40:14 2012 From: simon at mungewell.org (simon at mungewell.org) Date: Fri, 10 Feb 2012 10:40:14 -0500 Subject: [clug-talk] Mini SD card ? In-Reply-To: References: Message-ID: <11d57d127f96933b762b83e5ace7a488.squirrel@mungewell.org> > Does anyone know where I might get a "Mini SD" card locally. It should > have < 2GB storage. I've checked the usual places to no avail. It is the > middle one in the attached picture. I have a device that will only work > with this card... The Mini size never really caught on..... you can get a micro with adapter: http://www.memoryexpress.com/Products/MX20413 (yes this is 4GByte). I probably have a few used 2GByte micros and mini-adapters if you want to hook up next week sometime. Simon From caziz at cuug.ab.ca Fri Feb 10 20:43:45 2012 From: caziz at cuug.ab.ca (caziz) Date: Fri, 10 Feb 2012 21:43:45 -0700 Subject: [clug-talk] Clearing cache in Squid 2 on Debian In-Reply-To: <4F35EB45.3000809@shaw.ca> References: <4F35EB45.3000809@shaw.ca> Message-ID: <4F35F201.3080302@cuug.ab.ca> A buddy asked ... > Hi guys, > This is probably a simple question for someone with a little history in Squid. I'm trying to clear cache in an old > version of Squid. Tried renaming the /usr/local/squid/cache directory and 'Squid -z' as well as rebooting. Neither > prompts a clear or rebuild. The '-z' parameter just seems to be ignored and squid seems to just start at the command > line with errors usually seen in the logs. This version is too old for that I suspect. I'm initiating the command > (./squid) from /usr/local/squid/sbin, the one place I found it. This system is almost retired so I've been getting > away with just re-imaging to solve most problems. But that doesn't clear the unexpected 'page not found' the filters > are causing this time. > > I'm tempted to just disable caching instead, but the instructions I found for that probably don't apply either ;-) > > Bin to all the usual Squid sites and Debian, not seeing much for this version. > > Any help appreciated, one of the branches can't get to the company's new website due to this nagging block ;-) > > Thanks, > Ken > -------------- next part -------------- A non-text attachment was scrubbed... Name: caziz.vcf Type: text/x-vcard Size: 130 bytes Desc: not available URL: From carter.r.a.l at gmail.com Sat Feb 11 14:47:54 2012 From: carter.r.a.l at gmail.com (Richard Carter) Date: Sat, 11 Feb 2012 17:47:54 -0500 Subject: [clug-talk] Cool laptop Message-ID: This http://www.youtube.com/watch_popup?v=7H0K1k54t6A looks very cool! I wonder if you can install linux on it. Robin -------------- next part -------------- An HTML attachment was scrubbed... URL: From poprzen at gmail.com Sat Feb 11 17:32:55 2012 From: poprzen at gmail.com (Goran Poprzen) Date: Sat, 11 Feb 2012 18:32:55 -0700 Subject: [clug-talk] Cool laptop In-Reply-To: References: Message-ID: It does look cool. But you can't install Linux on it (yet). Judging from their web site, it's still in concept/design/not-yet-manufactured stage. Cheers, Goran On Sat, Feb 11, 2012 at 3:47 PM, Richard Carter wrote: > This http://www.youtube.com/watch_popup?v=7H0K1k54t6A looks very cool! I > wonder if you can install linux on it. > > Robin > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tekbudda at gmail.com Sun Feb 12 22:08:12 2012 From: tekbudda at gmail.com (TekBudda) Date: Sun, 12 Feb 2012 23:08:12 -0700 Subject: [clug-talk] Cool laptop In-Reply-To: References: Message-ID: <4F38A8CC.60104@gmail.com> Now is it just me or does the music in teh video sound like a porn soundtrack? Not that I know what they sound like...ummm...a FRIEND told me. From gustin at meganerd.ca Sun Feb 12 23:23:31 2012 From: gustin at meganerd.ca (Gustin Johnson) Date: Mon, 13 Feb 2012 00:23:31 -0700 Subject: [clug-talk] Clearing cache in Squid 2 on Debian In-Reply-To: <4F35F201.3080302@cuug.ab.ca> References: <4F35EB45.3000809@shaw.ca> <4F35F201.3080302@cuug.ab.ca> Message-ID: What version of squid and Debian are we talking about? On Fri, Feb 10, 2012 at 9:43 PM, caziz wrote: > A buddy asked ... > > Hi guys, >> This is probably a simple question for someone with a little history in >> Squid. I'm trying to clear cache in an old version of Squid. Tried renaming >> the /usr/local/squid/cache directory and 'Squid -z' as well as rebooting. >> Neither prompts a clear or rebuild. The '-z' parameter just seems to be >> ignored and squid seems to just start at the command line with errors >> usually seen in the logs. This version is too old for that I suspect. I'm >> initiating the command (./squid) from /usr/local/squid/sbin, the one place >> I found it. This system is almost retired so I've been getting away with >> just re-imaging to solve most problems. But that doesn't clear the >> unexpected 'page not found' the filters are causing this time. >> >> I'm tempted to just disable caching instead, but the instructions I found >> for that probably don't apply either ;-) >> >> Bin to all the usual Squid sites and Debian, not seeing much for this >> version. >> >> Any help appreciated, one of the branches can't get to the company's new >> website due to this nagging block ;-) >> >> Thanks, >> Ken >> >> > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustin at meganerd.ca Sun Feb 12 23:24:44 2012 From: gustin at meganerd.ca (Gustin Johnson) Date: Mon, 13 Feb 2012 00:24:44 -0700 Subject: [clug-talk] Clearing cache in Squid 2 on Debian In-Reply-To: References: <4F35EB45.3000809@shaw.ca> <4F35F201.3080302@cuug.ab.ca> Message-ID: If it is in /usr/local/ then it was probably locally built, who knows what flags it was compiled with. Is installing the version from the Debian repository an option here? On Mon, Feb 13, 2012 at 12:23 AM, Gustin Johnson wrote: > What version of squid and Debian are we talking about? > > On Fri, Feb 10, 2012 at 9:43 PM, caziz wrote: > >> A buddy asked ... >> >> Hi guys, >>> This is probably a simple question for someone with a little history in >>> Squid. I'm trying to clear cache in an old version of Squid. Tried renaming >>> the /usr/local/squid/cache directory and 'Squid -z' as well as rebooting. >>> Neither prompts a clear or rebuild. The '-z' parameter just seems to be >>> ignored and squid seems to just start at the command line with errors >>> usually seen in the logs. This version is too old for that I suspect. I'm >>> initiating the command (./squid) from /usr/local/squid/sbin, the one place >>> I found it. This system is almost retired so I've been getting away with >>> just re-imaging to solve most problems. But that doesn't clear the >>> unexpected 'page not found' the filters are causing this time. >>> >>> I'm tempted to just disable caching instead, but the instructions I >>> found for that probably don't apply either ;-) >>> >>> Bin to all the usual Squid sites and Debian, not seeing much for this >>> version. >>> >>> Any help appreciated, one of the branches can't get to the company's new >>> website due to this nagging block ;-) >>> >>> Thanks, >>> Ken >>> >>> >> _______________________________________________ >> clug-talk mailing list >> clug-talk at clug.ca >> http://clug.ca/mailman/listinfo/clug-talk_clug.ca >> Mailing List Guidelines (http://clug.ca/ml_guidelines.php) >> **Please remove these lines when replying >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rpboland at gmail.com Mon Feb 13 10:49:24 2012 From: rpboland at gmail.com (Ralph Boland) Date: Mon, 13 Feb 2012 11:49:24 -0700 Subject: [clug-talk] want to practice writing bash shell scripts Message-ID: I can write simple bash shell scripts. For example recently I wrote the following: #/bin/bash if [ $# -eq 0 ]; then vi ~/Home/Personal/phone else grep $1 ~/Home/Personal/phone fi I would like to be stronger though so I have dug up some info from the Internet that I will now go through. I figure it might be useful if anyone has some not too sys admin deep shell scripts that need writing then I could write them for practice. Proposals welcome remembering of course that you get what you pay for and I will publish my results here (unless I get complaints). Regards Ralph (Rocky) Boland -- God flunked Intelligent design From dcrosby at userful.com Mon Feb 13 11:20:04 2012 From: dcrosby at userful.com (Dafydd Crosby) Date: Mon, 13 Feb 2012 12:20:04 -0700 Subject: [clug-talk] want to practice writing bash shell scripts In-Reply-To: References: Message-ID: <4F396264.8060704@userful.com> I cut my teeth on O'Reilly's Bash Cookbook. On 02/13/2012 11:49 AM, Ralph Boland wrote: > I can write simple bash shell scripts. > For example recently I wrote the following: > > #/bin/bash > > if [ $# -eq 0 ]; then > vi ~/Home/Personal/phone > else > grep $1 ~/Home/Personal/phone > fi > > I would like to be stronger though so I have dug up > some info from the Internet that I will now go through. > > I figure it might be useful if anyone has some not too sys admin > deep shell scripts that need writing then I could write them for practice. > Proposals welcome remembering of course that you get what you pay for > and I will publish my results here (unless I get complaints). > > Regards > > Ralph (Rocky) Boland > From john_e_jardine at spamcop.net Mon Feb 13 11:30:25 2012 From: john_e_jardine at spamcop.net (John Jardine) Date: Mon, 13 Feb 2012 12:30:25 -0700 Subject: [clug-talk] want to practice writing bash shell scripts In-Reply-To: References: Message-ID: <1329161425.2689.28.camel@mywhim> Hi Rocky, We all learn differently - I learn well from books, I just kind of file it all in my brain. You may want to read something like: Learning the BASH Shell: http://shop.oreilly.com/product/9780596009656.do or The Linux Command Line: http://shop.oreilly.com/product/9781593273897.do Then when you tackle different problems you'll remember what's possible and probably even some of the techniques. The rest you can look up if/when you need to. Cheers, John J. On Mon, 2012-02-13 at 11:49 -0700, Ralph Boland wrote: > I can write simple bash shell scripts. > For example recently I wrote the following: > > #/bin/bash > > if [ $# -eq 0 ]; then > vi ~/Home/Personal/phone > else > grep $1 ~/Home/Personal/phone > fi > > I would like to be stronger though so I have dug up > some info from the Internet that I will now go through. > > I figure it might be useful if anyone has some not too sys admin > deep shell scripts that need writing then I could write them for practice. > Proposals welcome remembering of course that you get what you pay for > and I will publish my results here (unless I get complaints). > > Regards > > Ralph (Rocky) Boland > > > > -- > God flunked Intelligent design > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying From sgrover at open2space.com Mon Feb 13 11:49:10 2012 From: sgrover at open2space.com (Shawn) Date: Mon, 13 Feb 2012 12:49:10 -0700 Subject: [clug-talk] want to practice writing bash shell scripts In-Reply-To: References: Message-ID: <4F396936.9080309@open2space.com> For me the best learning tool is to have a specific need. Then after I figure out how to fill the specific need, I blog about what I learned to help gel my thoughts and make it sink in. Bash scripts are one of those overlooked awesome tools. You can do a LOT with em, though there are times where it is just plain easier to write some code (as opposed to a simple script). Most of my scripts are specific to customers/projects, but you can see the generic things at http://grover.open2space.com/search/node/bash. Hey exec! I'd probably show up if someone were doing a bash scripting presentation. Or I might allow myself to be talked into doing one.. :) Shawn On 12-02-13 11:49 AM, Ralph Boland wrote: > I can write simple bash shell scripts. > For example recently I wrote the following: > > #/bin/bash > > if [ $# -eq 0 ]; then > vi ~/Home/Personal/phone > else > grep $1 ~/Home/Personal/phone > fi > > I would like to be stronger though so I have dug up > some info from the Internet that I will now go through. > > I figure it might be useful if anyone has some not too sys admin > deep shell scripts that need writing then I could write them for practice. > Proposals welcome remembering of course that you get what you pay for > and I will publish my results here (unless I get complaints). > > Regards > > Ralph (Rocky) Boland > > > > -- > God flunked Intelligent design > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying From caziz at cuug.ab.ca Mon Feb 13 12:14:36 2012 From: caziz at cuug.ab.ca (caziz) Date: Mon, 13 Feb 2012 13:14:36 -0700 Subject: [clug-talk] want to practice writing bash shell scripts In-Reply-To: References: Message-ID: <4F396F2C.4070005@cuug.ab.ca> one I find fun as you can do several versions for improved correctness, robustness and efficiency is find duplicate files in an input list and useful every once in awhile to boot version 01 for the input file list from $* just crank md5sum, sort and show list of matches exclude empty files as all 0 byte files have the same content :-) tag your temp files with something like: $(date +%Y%m%d-%H%M%S)-$$ version 02 more efficient: add test to ensure file exists and is regular and readable first sort by file size using wc -c then only md5sum files of same size this is a chance to use bash tables or more temp files as you please consider sha1sum if md5sum matches version 3 (annoying fussy more than hard) make it work where file names have embedded spaces and other evil chars make it work to exclude duplicate file name entries as ./x.txt and x.txt are same file as are ~/mystuff.txt and ~myacct/mystuff.txt version 4 - full meal deal consider more than 1 group of matching files eg abcbbade full deal requires diff to ensure not equal ping me directly if you want to seminar some of these variants Chris > I can write simple bash shell scripts. > For example recently I wrote the following: > > #/bin/bash > > if [ $# -eq 0 ]; then > vi ~/Home/Personal/phone > else > grep $1 ~/Home/Personal/phone > fi > > I would like to be stronger though so I have dug up > some info from the Internet that I will now go through. > > I figure it might be useful if anyone has some not too sys admin > deep shell scripts that need writing then I could write them for practice. > Proposals welcome remembering of course that you get what you pay for > and I will publish my results here (unless I get complaints). > > Regards > > Ralph (Rocky) Boland > > > > -- > God flunked Intelligent design > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying > -------------- next part -------------- A non-text attachment was scrubbed... Name: caziz.vcf Type: text/x-vcard Size: 130 bytes Desc: not available URL: From melwalters at telus.net Mon Feb 13 09:15:29 2012 From: melwalters at telus.net (Mel Walters) Date: Mon, 13 Feb 2012 10:15:29 -0700 Subject: [clug-talk] Cool laptop In-Reply-To: <4F38A8CC.60104@gmail.com> References: <4F38A8CC.60104@gmail.com> Message-ID: <1329153329.4241.14.camel@hawk.calgary.lan> On Sun, 2012-02-12 at 23:08 -0700, TekBudda wrote: > Now is it just me or does the music in teh video sound like a porn > soundtrack? Not that I know what they sound like...ummm...a FRIEND told me. > Do not know the answer to your question, sorry. For variety you could go to http://myrolltop.com and it may play an introduction video, this time with a woman and different song. I find it interesting how much interest/desire the concept video they made has produced. You can even donate and/or invest via their web site with no real world hardware or prototype being evident. From gustin at meganerd.ca Mon Feb 13 17:54:34 2012 From: gustin at meganerd.ca (Gustin Johnson) Date: Mon, 13 Feb 2012 18:54:34 -0700 Subject: [clug-talk] want to practice writing bash shell scripts In-Reply-To: References: Message-ID: Here is an idea. Traverse an arbitrary directory structure (not /) looking for files with an ampersand ("&") in the file name, replace the ampersand with the word "and". I will be tackling this myself later this week. We can compare solutions. On Mon, Feb 13, 2012 at 11:49 AM, Ralph Boland wrote: > I can write simple bash shell scripts. > For example recently I wrote the following: > > #/bin/bash > > if [ $# -eq 0 ]; then > vi ~/Home/Personal/phone > else > grep $1 ~/Home/Personal/phone > fi > > I would like to be stronger though so I have dug up > some info from the Internet that I will now go through. > > I figure it might be useful if anyone has some not too sys admin > deep shell scripts that need writing then I could write them for practice. > Proposals welcome remembering of course that you get what you pay for > and I will publish my results here (unless I get complaints). > > Regards > > Ralph (Rocky) Boland > > > > -- > God flunked Intelligent design > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgrover at open2space.com Tue Feb 14 15:12:55 2012 From: sgrover at open2space.com (Shawn) Date: Tue, 14 Feb 2012 16:12:55 -0700 Subject: [clug-talk] SSH Config questions Message-ID: <4F3AEA77.3010508@open2space.com> I need to allow root logins over SSH from the local network, but deny root logins from external networks. So, I've added this to my /etc/security/access.conf: + : root : 172.16.1.0/24 #green network + : root : 160.1.1.0/24 #DMZ - : root : ALL (IPs have been changed to protect the innocent!) And in my sshd_config file I have set PermitRootLogin yes PasswordAuthentication yes UsePAM yes (I also need to allow external users to connect sometimes, without an SSH key. So the keyboard passwords are needed.) This seems to be working, and I can connect from the internal network with the root account (using my ssh key), yet external access via root is being denied though it is allowing a password entry (and I used the right password). Is there a better way to set this sort of thing up? Specifically, allowing root logins from the internal network but not remote networks? (for the curious, I need root access internally so that I can use the graphical tools (convenience!) to transfer files to the public web server). Thanks for any feedback. Shawn From anand at linizen.com Tue Feb 14 15:20:42 2012 From: anand at linizen.com (Anand Singh) Date: Tue, 14 Feb 2012 16:20:42 -0700 Subject: [clug-talk] SSH Config questions In-Reply-To: <4F3AEA77.3010508@open2space.com> References: <4F3AEA77.3010508@open2space.com> Message-ID: On 2012-02-14, at 4:12 PM, Shawn wrote: > I need to allow root logins over SSH from the local network, but deny root logins from external networks. > > So, I've added this to my /etc/security/access.conf: > > + : root : 172.16.1.0/24 #green network > + : root : 160.1.1.0/24 #DMZ > - : root : ALL > > (IPs have been changed to protect the innocent!) > > And in my sshd_config file I have set > PermitRootLogin yes > PasswordAuthentication yes > UsePAM yes > > (I also need to allow external users to connect sometimes, without an SSH key. So the keyboard passwords are needed.) > > This seems to be working, and I can connect from the internal network with the root account (using my ssh key), yet external access via root is being denied though it is allowing a password entry (and I used the right password). > > Is there a better way to set this sort of thing up? Specifically, allowing root logins from the internal network but not remote networks? > > (for the curious, I need root access internally so that I can use the graphical tools (convenience!) to transfer files to the public web server). > > Thanks for any feedback. > > Shawn Would using certificate auth instead of password auth render the internal/external config moot? Also, I'm pretty sure programs like kdesu let non-root users run X apps as root over ssh. Anand. From sgrover at open2space.com Tue Feb 14 15:25:14 2012 From: sgrover at open2space.com (Shawn) Date: Tue, 14 Feb 2012 16:25:14 -0700 Subject: [clug-talk] SSH Config questions In-Reply-To: <4F3AEA77.3010508@open2space.com> References: <4F3AEA77.3010508@open2space.com> Message-ID: <4F3AED5A.7050001@open2space.com> Correction. The external access is not blocking my login attempt. Sooo... how do I block external SSH logins with the root account, but allow internal SSH root logins? Thanks for any input. For now I've disabled Root logins. On 12-02-14 04:12 PM, Shawn wrote: > I need to allow root logins over SSH from the local network, but deny > root logins from external networks. > > So, I've added this to my /etc/security/access.conf: > > + : root : 172.16.1.0/24 #green network > + : root : 160.1.1.0/24 #DMZ > - : root : ALL > > (IPs have been changed to protect the innocent!) > > And in my sshd_config file I have set > PermitRootLogin yes > PasswordAuthentication yes > UsePAM yes > > (I also need to allow external users to connect sometimes, without an > SSH key. So the keyboard passwords are needed.) > > This seems to be working, and I can connect from the internal network > with the root account (using my ssh key), yet external access via root > is being denied though it is allowing a password entry (and I used the > right password). > > Is there a better way to set this sort of thing up? Specifically, > allowing root logins from the internal network but not remote networks? > > (for the curious, I need root access internally so that I can use the > graphical tools (convenience!) to transfer files to the public web server). > > Thanks for any feedback. > > Shawn > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying From sgrover at open2space.com Tue Feb 14 15:31:09 2012 From: sgrover at open2space.com (Shawn) Date: Tue, 14 Feb 2012 16:31:09 -0700 Subject: [clug-talk] SSH Config questions In-Reply-To: References: <4F3AEA77.3010508@open2space.com> Message-ID: <4F3AEEBD.5060504@open2space.com> I use certificate auth for the boxes I control (internal boxes, and my laptop). Using certificate auth for customers who need one-off type access (direct large file transfers, for example) is adding unnecessary overhead (IMO, for this particular use case). On 12-02-14 04:20 PM, Anand Singh wrote: > > On 2012-02-14, at 4:12 PM, Shawn wrote: > >> I need to allow root logins over SSH from the local network, but deny root logins from external networks. >> >> So, I've added this to my /etc/security/access.conf: >> >> + : root : 172.16.1.0/24 #green network >> + : root : 160.1.1.0/24 #DMZ >> - : root : ALL >> >> (IPs have been changed to protect the innocent!) >> >> And in my sshd_config file I have set >> PermitRootLogin yes >> PasswordAuthentication yes >> UsePAM yes >> >> (I also need to allow external users to connect sometimes, without an SSH key. So the keyboard passwords are needed.) >> >> This seems to be working, and I can connect from the internal network with the root account (using my ssh key), yet external access via root is being denied though it is allowing a password entry (and I used the right password). >> >> Is there a better way to set this sort of thing up? Specifically, allowing root logins from the internal network but not remote networks? >> >> (for the curious, I need root access internally so that I can use the graphical tools (convenience!) to transfer files to the public web server). >> >> Thanks for any feedback. >> >> Shawn > > Would using certificate auth instead of password auth render the internal/external config moot? Also, I'm pretty sure programs like kdesu let non-root users run X apps as root over ssh. > > Anand. > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying From carlsonmark at gmail.com Tue Feb 14 15:31:39 2012 From: carlsonmark at gmail.com (Mark Carlson) Date: Tue, 14 Feb 2012 16:31:39 -0700 Subject: [clug-talk] SSH Config questions In-Reply-To: <4F3AED5A.7050001@open2space.com> References: <4F3AEA77.3010508@open2space.com> <4F3AED5A.7050001@open2space.com> Message-ID: Did you try using a Match block in your sshd_config? I've never done it, but I think you would add something like this to the *end* of the file: Match Address blah/24 PermitRootLogin yes -Mark C. On Tue, Feb 14, 2012 at 4:25 PM, Shawn wrote: > Correction. ?The external access is not blocking my login attempt. Sooo... > how do I block external SSH logins with the root account, but allow internal > SSH root logins? ?Thanks for any input. ?For now I've disabled Root logins. > > > On 12-02-14 04:12 PM, Shawn wrote: >> >> I need to allow root logins over SSH from the local network, but deny >> root logins from external networks. >> >> So, I've added this to my /etc/security/access.conf: >> >> + : root : 172.16.1.0/24 #green network >> + : root : 160.1.1.0/24 #DMZ >> - : root : ALL >> >> (IPs have been changed to protect the innocent!) >> >> And in my sshd_config file I have set >> PermitRootLogin yes >> PasswordAuthentication yes >> UsePAM yes >> >> (I also need to allow external users to connect sometimes, without an >> SSH key. So the keyboard passwords are needed.) >> >> This seems to be working, and I can connect from the internal network >> with the root account (using my ssh key), yet external access via root >> is being denied though it is allowing a password entry (and I used the >> right password). >> >> Is there a better way to set this sort of thing up? Specifically, >> allowing root logins from the internal network but not remote networks? >> >> (for the curious, I need root access internally so that I can use the >> graphical tools (convenience!) to transfer files to the public web >> server). >> >> Thanks for any feedback. >> >> Shawn >> >> _______________________________________________ >> clug-talk mailing list >> clug-talk at clug.ca >> http://clug.ca/mailman/listinfo/clug-talk_clug.ca >> Mailing List Guidelines (http://clug.ca/ml_guidelines.php) >> **Please remove these lines when replying > > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying From carlsonmark at gmail.com Tue Feb 14 15:38:38 2012 From: carlsonmark at gmail.com (Mark Carlson) Date: Tue, 14 Feb 2012 16:38:38 -0700 Subject: [clug-talk] SSH Config questions In-Reply-To: References: <4F3AEA77.3010508@open2space.com> <4F3AED5A.7050001@open2space.com> Message-ID: Hmm... I wonder if you can still indirectly log in as root remotely, even if you are successful. If you remotely logged in as a normal user, then set up a tunnel to the SSH port on the machine, you may be able to log in as if you were sitting at that machine. -Mark C. On Tue, Feb 14, 2012 at 4:31 PM, Mark Carlson wrote: > Did you try using a Match block in your sshd_config? > > I've never done it, but I think you would add something like this to > the *end* of the file: > > Match Address blah/24 > ? ?PermitRootLogin yes > > > -Mark C. > > On Tue, Feb 14, 2012 at 4:25 PM, Shawn wrote: >> Correction. ?The external access is not blocking my login attempt. Sooo... >> how do I block external SSH logins with the root account, but allow internal >> SSH root logins? ?Thanks for any input. ?For now I've disabled Root logins. >> >> >> On 12-02-14 04:12 PM, Shawn wrote: >>> >>> I need to allow root logins over SSH from the local network, but deny >>> root logins from external networks. >>> >>> So, I've added this to my /etc/security/access.conf: >>> >>> + : root : 172.16.1.0/24 #green network >>> + : root : 160.1.1.0/24 #DMZ >>> - : root : ALL >>> >>> (IPs have been changed to protect the innocent!) >>> >>> And in my sshd_config file I have set >>> PermitRootLogin yes >>> PasswordAuthentication yes >>> UsePAM yes >>> >>> (I also need to allow external users to connect sometimes, without an >>> SSH key. So the keyboard passwords are needed.) >>> >>> This seems to be working, and I can connect from the internal network >>> with the root account (using my ssh key), yet external access via root >>> is being denied though it is allowing a password entry (and I used the >>> right password). >>> >>> Is there a better way to set this sort of thing up? Specifically, >>> allowing root logins from the internal network but not remote networks? >>> >>> (for the curious, I need root access internally so that I can use the >>> graphical tools (convenience!) to transfer files to the public web >>> server). >>> >>> Thanks for any feedback. >>> >>> Shawn >>> >>> _______________________________________________ >>> clug-talk mailing list >>> clug-talk at clug.ca >>> http://clug.ca/mailman/listinfo/clug-talk_clug.ca >>> Mailing List Guidelines (http://clug.ca/ml_guidelines.php) >>> **Please remove these lines when replying >> >> >> _______________________________________________ >> clug-talk mailing list >> clug-talk at clug.ca >> http://clug.ca/mailman/listinfo/clug-talk_clug.ca >> Mailing List Guidelines (http://clug.ca/ml_guidelines.php) >> **Please remove these lines when replying From sgrover at open2space.com Tue Feb 14 15:43:32 2012 From: sgrover at open2space.com (Shawn) Date: Tue, 14 Feb 2012 16:43:32 -0700 Subject: [clug-talk] SSH Config questions In-Reply-To: References: <4F3AEA77.3010508@open2space.com> <4F3AED5A.7050001@open2space.com> Message-ID: <4F3AF1A4.7080704@open2space.com> I'm trying to avoid having to do ssh tunnels. Low-maintenance/effort is the goal. :) Never heard of the Match Block thing. I'm investigating. Thanks for the tip. Shawn On 12-02-14 04:38 PM, Mark Carlson wrote: > Hmm... I wonder if you can still indirectly log in as root remotely, > even if you are successful. > > If you remotely logged in as a normal user, then set up a tunnel to > the SSH port on the machine, you may be able to log in as if you were > sitting at that machine. > > -Mark C. > > On Tue, Feb 14, 2012 at 4:31 PM, Mark Carlson wrote: >> Did you try using a Match block in your sshd_config? >> >> I've never done it, but I think you would add something like this to >> the *end* of the file: >> >> Match Address blah/24 >> PermitRootLogin yes >> >> >> -Mark C. >> >> On Tue, Feb 14, 2012 at 4:25 PM, Shawn wrote: >>> Correction. The external access is not blocking my login attempt. Sooo... >>> how do I block external SSH logins with the root account, but allow internal >>> SSH root logins? Thanks for any input. For now I've disabled Root logins. >>> >>> >>> On 12-02-14 04:12 PM, Shawn wrote: >>>> >>>> I need to allow root logins over SSH from the local network, but deny >>>> root logins from external networks. >>>> >>>> So, I've added this to my /etc/security/access.conf: >>>> >>>> + : root : 172.16.1.0/24 #green network >>>> + : root : 160.1.1.0/24 #DMZ >>>> - : root : ALL >>>> >>>> (IPs have been changed to protect the innocent!) >>>> >>>> And in my sshd_config file I have set >>>> PermitRootLogin yes >>>> PasswordAuthentication yes >>>> UsePAM yes >>>> >>>> (I also need to allow external users to connect sometimes, without an >>>> SSH key. So the keyboard passwords are needed.) >>>> >>>> This seems to be working, and I can connect from the internal network >>>> with the root account (using my ssh key), yet external access via root >>>> is being denied though it is allowing a password entry (and I used the >>>> right password). >>>> >>>> Is there a better way to set this sort of thing up? Specifically, >>>> allowing root logins from the internal network but not remote networks? >>>> >>>> (for the curious, I need root access internally so that I can use the >>>> graphical tools (convenience!) to transfer files to the public web >>>> server). >>>> >>>> Thanks for any feedback. >>>> >>>> Shawn >>>> >>>> _______________________________________________ >>>> clug-talk mailing list >>>> clug-talk at clug.ca >>>> http://clug.ca/mailman/listinfo/clug-talk_clug.ca >>>> Mailing List Guidelines (http://clug.ca/ml_guidelines.php) >>>> **Please remove these lines when replying >>> >>> >>> _______________________________________________ >>> clug-talk mailing list >>> clug-talk at clug.ca >>> http://clug.ca/mailman/listinfo/clug-talk_clug.ca >>> Mailing List Guidelines (http://clug.ca/ml_guidelines.php) >>> **Please remove these lines when replying > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying From akopciuch at bddf.ca Tue Feb 14 15:51:46 2012 From: akopciuch at bddf.ca (Andrew J. Kopciuch) Date: Tue, 14 Feb 2012 16:51:46 -0700 Subject: [clug-talk] SSH Config questions In-Reply-To: References: <4F3AEA77.3010508@open2space.com> <4F3AED5A.7050001@open2space.com> Message-ID: <201202141651.50089.akopciuch@bddf.ca> On February 14, 2012, Mark Carlson wrote: > Did you try using a Match block in your sshd_config? > > I've never done it, but I think you would add something like this to > the *end* of the file: > > Match Address blah/24 > PermitRootLogin yes > > AFAIK you can have multiple conditions in the Match // global PermitRootLogin no // after global // for shawn, internal Match host 192.168.0.22, 192.168.0.23, PermitRootLogin yes (... which is more secure than matching the entire internal subnet.) // for clients external Match host 64.123.123.123 PermitRootLogin yes -- matches run until the EOF, or the next Match block is found. So it's like a firewall ruleset. Turn everything off. Turn on only what you need for certain scenarios. Andy -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From sgrover at open2space.com Wed Feb 15 01:31:27 2012 From: sgrover at open2space.com (Shawn) Date: Wed, 15 Feb 2012 02:31:27 -0700 Subject: [clug-talk] SSH Config questions In-Reply-To: References: <4F3AEA77.3010508@open2space.com> <4F3AED5A.7050001@open2space.com> Message-ID: <4F3B7B6F.7000306@open2space.com> Thanks for the tip Mark. The Match block idea works. At least for the internal network. I need to hook up the laptop again tomorrow to test the external access. So, the solution is to add this at the very bottom of the /etc/ssh/sshd_config file: Match Address 172.16.0.0/16 #adjust to match your network PermitRootLogin yes And make sure the PermitRootLogin option (around line 25 in my file) is NOT set to "yes". In my case this line was commented out, but the default value seems to be "yes". I had to set "PermitRootLogin no". I also had to undo my changes to the /etc/security/access.conf file from an earlier attempt at allowing root logins from the internal network. Shawn On 12-02-14 04:31 PM, Mark Carlson wrote: > Did you try using a Match block in your sshd_config? > > I've never done it, but I think you would add something like this to > the *end* of the file: > > Match Address blah/24 > PermitRootLogin yes > > > -Mark C. > > On Tue, Feb 14, 2012 at 4:25 PM, Shawn wrote: >> Correction. The external access is not blocking my login attempt. Sooo... >> how do I block external SSH logins with the root account, but allow internal >> SSH root logins? Thanks for any input. For now I've disabled Root logins. >> >> >> On 12-02-14 04:12 PM, Shawn wrote: >>> >>> I need to allow root logins over SSH from the local network, but deny >>> root logins from external networks. >>> >>> So, I've added this to my /etc/security/access.conf: >>> >>> + : root : 172.16.1.0/24 #green network >>> + : root : 160.1.1.0/24 #DMZ >>> - : root : ALL >>> >>> (IPs have been changed to protect the innocent!) >>> >>> And in my sshd_config file I have set >>> PermitRootLogin yes >>> PasswordAuthentication yes >>> UsePAM yes >>> >>> (I also need to allow external users to connect sometimes, without an >>> SSH key. So the keyboard passwords are needed.) >>> >>> This seems to be working, and I can connect from the internal network >>> with the root account (using my ssh key), yet external access via root >>> is being denied though it is allowing a password entry (and I used the >>> right password). >>> >>> Is there a better way to set this sort of thing up? Specifically, >>> allowing root logins from the internal network but not remote networks? >>> >>> (for the curious, I need root access internally so that I can use the >>> graphical tools (convenience!) to transfer files to the public web >>> server). >>> >>> Thanks for any feedback. >>> >>> Shawn >>> >>> _______________________________________________ >>> clug-talk mailing list >>> clug-talk at clug.ca >>> http://clug.ca/mailman/listinfo/clug-talk_clug.ca >>> Mailing List Guidelines (http://clug.ca/ml_guidelines.php) >>> **Please remove these lines when replying >> >> >> _______________________________________________ >> clug-talk mailing list >> clug-talk at clug.ca >> http://clug.ca/mailman/listinfo/clug-talk_clug.ca >> Mailing List Guidelines (http://clug.ca/ml_guidelines.php) >> **Please remove these lines when replying > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying From caziz at cuug.ab.ca Wed Feb 15 08:45:51 2012 From: caziz at cuug.ab.ca (caziz) Date: Wed, 15 Feb 2012 09:45:51 -0700 Subject: [clug-talk] Clearing cache in Squid 2 on Debian In-Reply-To: References: <4F35EB45.3000809@shaw.ca> <4F35F201.3080302@cuug.ab.ca> Message-ID: <4F3BE13F.1080503@cuug.ab.ca> He found the problem and writes ... I never found why clear cache isn't working, I suspect because I didn't add it to my Path instead I called it with ./squid ? Anyway, I found the cause of the original problem. I was missing the one Remote network range that I needed on the VPN router. You'll notice the 32.0.0.0 range missing. The IP of the new webpage starts with 50. So anything in the 32-64 range would have failed. The users probably blamed any previous failures on the proxy server. I thought since DNS translated the URL to an IP that the router was doing it's job: should have done a tracer earlier. It is time to get a new router/gateway so that we can retire Squid, it's the systems the users see that get most of the attention ... Yeah, yeah not to mention retiring the Nortel routers ;-) Thanks guys, On 12-02-13 12:24 AM, Gustin Johnson wrote: > If it is in /usr/local/ then it was probably locally built, who knows what flags it was compiled with. Is installing > the version from the Debian repository an option here? > > On Mon, Feb 13, 2012 at 12:23 AM, Gustin Johnson > wrote: > > What version of squid and Debian are we talking about? > > On Fri, Feb 10, 2012 at 9:43 PM, caziz > wrote: > > A buddy asked ... > > Hi guys, > This is probably a simple question for someone with a little history in Squid. I'm trying to clear cache > in an old version of Squid. Tried renaming the /usr/local/squid/cache directory and 'Squid -z' as well as > rebooting. Neither prompts a clear or rebuild. The '-z' parameter just seems to be ignored and squid > seems to just start at the command line with errors usually seen in the logs. This version is too old for > that I suspect. I'm initiating the command (./squid) from /usr/local/squid/sbin, the one place I found it. > This system is almost retired so I've been getting away with just re-imaging to solve most problems. But > that doesn't clear the unexpected 'page not found' the filters are causing this time. > > I'm tempted to just disable caching instead, but the instructions I found for that probably don't apply > either ;-) > > Bin to all the usual Squid sites and Debian, not seeing much for this version. > > Any help appreciated, one of the branches can't get to the company's new website due to this nagging block ;-) > > Thanks, > Ken > > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying > > > > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: caziz.vcf Type: text/x-vcard Size: 137 bytes Desc: not available URL: From caziz at cuug.ab.ca Tue Feb 21 15:59:05 2012 From: caziz at cuug.ab.ca (caziz) Date: Tue, 21 Feb 2012 16:59:05 -0700 Subject: [clug-talk] Cenovus HPC Message-ID: <4F442FC9.2070605@cuug.ab.ca> Hi All, Apologize if this offends use policy. I'm trying to find out about some contract HPC positions at Cenovus. Anybody know anybody, currently or recently there, that can clue me in? Thanks, Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: caziz.vcf Type: text/x-vcard Size: 130 bytes Desc: not available URL: From sgrover at open2space.com Wed Feb 22 17:28:11 2012 From: sgrover at open2space.com (Shawn) Date: Wed, 22 Feb 2012 18:28:11 -0700 Subject: [clug-talk] OT: Mobile application developer in the group? Message-ID: <4F45962B.1000600@open2space.com> I have to turn down a small project due to time constraints. If anyone has experience building mobile applications and might be interested in a 2 week project, please contact me off list. I believe the iPhone app is covered, so a generic Android app is needed (or a "mobile" app that will work on most platforms). The project in question receives some button clicks on screen and then sends an integer to a device connected via an ad hoc wifi network. Shawn sgrover at open2space.com From john_e_jardine at spamcop.net Fri Feb 24 23:52:36 2012 From: john_e_jardine at spamcop.net (John E. Jardine) Date: Sat, 25 Feb 2012 00:52:36 -0700 Subject: [clug-talk] OT: Mobile application developer in the group? In-Reply-To: <4F45962B.1000600@open2space.com> References: <4F45962B.1000600@open2space.com> Message-ID: <1330156356.1516.5.camel@Nokia-N900-42-11> Hey Shawn, Is this the WiFly related project? Cheers, J.J. ----- Original message ----- > I have to turn down a small project due to time constraints.? If anyone > has experience building mobile applications and might be interested in a > 2 week project, please contact me off list.? I believe the iPhone app is > covered, so a generic Android app is needed (or a "mobile" app that will > work on most platforms). > > The project in question receives some button clicks on screen and then > sends an integer to a device connected via an ad hoc wifi network. > > Shawn > sgrover at open2space.com > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying -------------- next part -------------- An HTML attachment was scrubbed... URL: From john_e_jardine at spamcop.net Fri Feb 24 23:53:22 2012 From: john_e_jardine at spamcop.net (John E. Jardine) Date: Sat, 25 Feb 2012 00:53:22 -0700 Subject: [clug-talk] OT: Mobile application developer in the group? In-Reply-To: <4F45962B.1000600@open2space.com> References: <4F45962B.1000600@open2space.com> Message-ID: <1330156402.1516.10.camel@Nokia-N900-42-11> Hey Shawn, Is this the WiFly related project? Cheers, J.J. ----- Original message ----- > I have to turn down a small project due to time constraints.? If anyone > has experience building mobile applications and might be interested in a > 2 week project, please contact me off list.? I believe the iPhone app is > covered, so a generic Android app is needed (or a "mobile" app that will > work on most platforms). > > The project in question receives some button clicks on screen and then > sends an integer to a device connected via an ad hoc wifi network. > > Shawn > sgrover at open2space.com > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying -------------- next part -------------- An HTML attachment was scrubbed... URL: From melwalters at telus.net Sat Feb 25 22:46:10 2012 From: melwalters at telus.net (Mel Walters) Date: Sat, 25 Feb 2012 23:46:10 -0700 Subject: [clug-talk] March 7 Meeting Message-ID: <1330238770.19839.61.camel@hawk.calgary.lan> Two days ago, Kin informed me he got verification of the room number. I will get this up to the web site soon, but for now: CLUG March General Meeting Date: March 7th (Wed) Time: 6:00 pm Place: U of Calgary, downtown campus Room 418 906 ? 8th Avenue SW That is the North West corner of 8th and 8th There are many interesting thinks to talk about in free and open source computing these days. Who has something to share? Remember, an earlier start (6) and more of you evening will be free. See you there. Mel From melwalters at telus.net Mon Feb 27 16:04:57 2012 From: melwalters at telus.net (Mel Walters) Date: Mon, 27 Feb 2012 17:04:57 -0700 Subject: [clug-talk] For discussion -- March Meeting Message-ID: <1330387497.9031.280.camel@hawk.calgary.lan> Since the last meeting, the perfect FOSS and operating system combination have been on my mind. It did not stop with just thinking about it, I've been installing, trying out and researching as much as I can on a few different types of hardware. From very new system to some older workstations and also netbook and netbox types. Claims have been made already about the universal operating system before. So how close are we? I have started to form some opinions (getting closer on a direction to go). It may surprise you, but at least I have a vision. Bring yours along too. We would like to hear you discuss[1] your opinions. REMEMBER: a universal operating system has to serve the main group of users: NORMAL PEOPLE. Not just us computer scientist, hobbyist types. If I am able to filter out the extra chaff that would end up only boring you anyway, I could give a talk about what I have found, and where the answers are. Mel [1] The liberty of discussion is the great safeguard of all other liberties. --Macaulay. From gustin at meganerd.ca Mon Feb 27 17:35:59 2012 From: gustin at meganerd.ca (Gustin Johnson) Date: Mon, 27 Feb 2012 18:35:59 -0700 Subject: [clug-talk] For discussion -- March Meeting In-Reply-To: <1330387497.9031.280.camel@hawk.calgary.lan> References: <1330387497.9031.280.camel@hawk.calgary.lan> Message-ID: Sounds exciting. I have some strong views on this particular topic, unfortunately (or fortunately depending on your perspective) I will not be able to attend next week. Hopefully someone will take some good notes! __ Gustin On Mon, Feb 27, 2012 at 5:04 PM, Mel Walters wrote: > Since the last meeting, the perfect FOSS and operating system > combination have been on my mind. It did not stop with just thinking > about it, I've been installing, trying out and researching as much as I > can on a few different types of hardware. From very new system to some > older workstations and also netbook and netbox types. > > Claims have been made already about the universal operating system > before. So how close are we? > > I have started to form some opinions (getting closer on a direction to > go). It may surprise you, but at least I have a vision. > Bring yours along too. We would like to hear you discuss[1] your > opinions. > > REMEMBER: a universal operating system has to serve the main group of > users: NORMAL PEOPLE. > Not just us computer scientist, hobbyist types. > > If I am able to filter out the extra chaff that would end up only boring > you anyway, I could give a talk about what I have found, and where the > answers are. > > Mel > > > [1] > The liberty of discussion is the great safeguard of > all other liberties. --Macaulay. > > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rpboland at gmail.com Tue Feb 28 09:24:12 2012 From: rpboland at gmail.com (Ralph Boland) Date: Tue, 28 Feb 2012 10:24:12 -0700 Subject: [clug-talk] Linux computer the size of a thumb drive now available for preorder Message-ID: Searching Google on my subject title leads to an interesting product for those with $200 (or so) to spend. Rocky Boland - God flunked Intelligent Design From caziz at cuug.ab.ca Tue Feb 28 10:24:09 2012 From: caziz at cuug.ab.ca (caziz) Date: Tue, 28 Feb 2012 11:24:09 -0700 Subject: [clug-talk] Bill C-30 Message-ID: <4F4D1BC9.6080006@cuug.ab.ca> Rick Mercer offers one of the simplest and best summaries of why Bill C-30 is a really bad thing .... http://www.youtube.com/watch?v=UmW1o6rzI7g&feature=youtu.be How could such an outrageous violation of every right have been contemplated in the first place? Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: caziz.vcf Type: text/x-vcard Size: 130 bytes Desc: not available URL: From john_e_jardine at spamcop.net Tue Feb 28 11:31:49 2012 From: john_e_jardine at spamcop.net (John Jardine) Date: Tue, 28 Feb 2012 12:31:49 -0700 Subject: [clug-talk] Bill C-30 In-Reply-To: <4F4D1BC9.6080006@cuug.ab.ca> References: <4F4D1BC9.6080006@cuug.ab.ca> Message-ID: <1330457509.2360.10.camel@mywhim> +1 If you haven't already gone here: http://stopspying.ca/ you might want to add your voice to the chorus. On Tue, 2012-02-28 at 11:24 -0700, caziz wrote: > Rick Mercer offers one of the simplest and best summaries > of why Bill C-30 is a really bad thing .... > > http://www.youtube.com/watch?v=UmW1o6rzI7g&feature=youtu.be > > > How could such an outrageous violation of every right have been > contemplated in the first place? > > Chris > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying From gustin at meganerd.ca Tue Feb 28 16:25:03 2012 From: gustin at meganerd.ca (Gustin Johnson) Date: Tue, 28 Feb 2012 17:25:03 -0700 Subject: [clug-talk] Linux computer the size of a thumb drive now available for preorder In-Reply-To: References: Message-ID: How about one that costs only $35? http://www.raspberrypi.org/ On Tue, Feb 28, 2012 at 10:24 AM, Ralph Boland wrote: > Searching Google on my subject title leads to an interesting product > for those with $200 (or so) to spend. > > Rocky Boland > > > > - God flunked Intelligent Design > > _______________________________________________ > clug-talk mailing list > clug-talk at clug.ca > http://clug.ca/mailman/listinfo/clug-talk_clug.ca > Mailing List Guidelines (http://clug.ca/ml_guidelines.php) > **Please remove these lines when replying > -------------- next part -------------- An HTML attachment was scrubbed... URL: