[BLUG] A Couple Questions
Simon Ruiz
blug_at_mailman.cs.indiana.edu
Wed, 31 Jan 2007 08:54:45 -0500
RE: SCP or WGET
I'm thinking if I ever need to put passwords (or anything "secret" really) inline in a script using wget wouldn't be all that secure compared to scp...but, then, I suppose I could have the first script pull another script through scp for that specific usecase I suppose...is the overhead of scp all that much, really? Or is there another reason for wget that I'm unaware of?
RE: CSV or SQL
I was thinking plaintext because I don't relish the personal overhead of learning my way around SQL (everything I've been doing on our Linux workstations lately has felt like "Oh, ok, you want to do X? Well, it's simple as long as you understand Y, Z, P and Q." Compiling SystemImager has been giving me headaches...), whereas I already know how to parse a plaintext file in bash. Also, it could be edited using basic office tools already available on all workstations (very important that my boss be able to work with it, in the event of my departure...assuming Excel can save a csv plaintext file without bungling up the end-line characters...Calc should be able to...need to check on this...).
On the other hand, it might be a lot simpler than I'm imagining to use SQL.
Thanks for your response!
Sim?n
________________________________
From: blug-admin_at_cs.indiana.edu on behalf of Gaddis, Jeremy L.
Sent: Tue 1/30/2007 3:04 PM
To: blug_at_cs.indiana.edu
Subject: Re: [BLUG] A Couple Questions
Put your script on a webserver and use wget instead. Also, use SQL for storing your configurations (instead of a file) and configure the script to pull the options from there based upon hostname or MAC. That's how I'd probably do it, unless there's issues I'm not aware of.
-j
--
Jeremy L. Gaddis
Network Administrator
812.330.6156 (w) 812.391.0358 (m)