It work as expected but we need to maintain the password in plain
text in
the passwordfile.text. But however it solved my task to complete.
Thanks to all, any way please post if any secure method instead of
maintains
the password file.
Hi Ashwin,
there's a clear case of the chicken and the egg there. Let's say you
store
your password in an encrypted fashion, say in the keychain. How does
your
script get access to the password? By having access to the keychain,
which
means it needs to be told what they keychain password is....oh. You
still
need to give it a password.
You could obfuscate the password stored on disk, but then anyone who
can see
the crontab can see how to recover the password. Your choices really
are to
give the password text file the minimum FS permissions required to
work (and
choose how to secure physical access to the system/HDD as you see
fit), or
not automate this task.
You could avoid keeping the password on disk if you were using a
remote key server that your script could poll the key from; either
using an http server or something like PKS. At least then your data
would be protected if someone were to steal the disk.
- .Dustin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden