MACSCRPT Archives

March 2013

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Stockly, Ed" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 6 Mar 2013 20:24:26 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Include the password as a property, then prompt the user for the password on
first run. Something like this

property: hiddenPassword ""

On run
If hiddenPassword = "" then
Set hiddenPassword to text returned of Display dialog "Enter Password"
End if

But, I'm not sure how secure that would be.

ES

On 3/6/13 12:17 PM, "SUBSCRIBE MACSCRPT Inyo55" <[log in to unmask]> wrote:

> Hey guys,
> I have a script that has to remotely do admin tasks on a Mac workstation.  To
> that end, the shell script command string in the script has the secret
> password for the admin account in plain text.  Is there anyway to hide this
> (other than locking the script)?
> 
> Many thanks,
> Bob R.

ATOM RSS1 RSS2