X-Spam-Check-By: sourceware.org Message-ID: <4394C701.3040803@wpkg.org> Date: Tue, 06 Dec 2005 00:02:25 +0100 From: Tomasz Chmielewski User-Agent: Mozilla Thunderbird 1.0.7-3mdk (X11/20051015) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: encoding scripts (so that user can't see passwords easily)? References: <4392D119 DOT 7080409 AT wpkg DOT org> <20051204173646 DOT GA28855 AT trixie DOT casa DOT cgf DOT cx> In-Reply-To: <20051204173646.GA28855@trixie.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Christopher Faylor schrieb: > On Sun, Dec 04, 2005 at 12:20:57PM +0100, Tomasz Chmielewski wrote: > >>I have a little open-source project, which eases Windows administration >>a bit. >> >>In some of the scripts, I use usernames and passwords (to get to a >>password-protected network share etc.). >>Because they are scripts, username and password is in plain. >> >>Although the script files are only readable by SYSTEM and >>Administrators, if a disk is stolen, someone could easily get the >>passwords by doing simple "grep -r password ./*". >> >>Do you know some tool which could "encode" scripts? >> >>One of such "similar" tools is Microsoft Script Encoder, but perhaps >>it's licensing wouldn't allow me to distribute it along with my files. >> >>That's actually how I discovered Cygwin - I had to replace srvany.exe, >>(which I couldn't distribute), and I found cygrunsrv :) > > > Just to be sure: you do realize that you can't distribute cygrunsrv > without also including the sources to cygrunsrv and cygwin1.dll > (assuming that you're including that file), right? This is a GPL > project. Yeah I know, my project is GPL licensed as well. So, as we know the legal stuff, does anyone have the answer to my question (encoding/encrypting scripts)? -- Tomek http://wpkg.org WPKG - software deployment and upgrades with Samba -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/