[prev in list] [next in list] [prev in thread] [next in thread]
List: hpux-admin
Subject: [HPADM] Re: SUMMARY : Hiding password embedded in Shell Scripts
From: Deepak John Cutinha <deepak_cutinha () yahoo ! com>
Date: 2003-07-31 5:37:49
[Download RAW message or body]
Hi Gurus,
What if I want that in a script ..ie
I donot want my password visible in a plain text file
Rather I accept a password in a script and its
encrypted right away while the user puts an input to
my script.
Thanks !!
--Deepak
--- "Lal, Neeraj" <Neeraj.Lal@pfizer.com> wrote:
> Hi Admins
>
> Thanks for all your answers everbody said to me to
> implement the .netrc
>
> I created the .netrc file in my home directory the
> content of file is as
> follows
>
> machine xx.xx.xx.xx login abcdefgh password tyuiop
>
> and then the script
>
> ftp -i -v xx.xx.xx.xx <<EOF 2>&1
>
> get filename
> quit
> EOF
>
> and it worked
>
> Thanks
> Neeraj Lal
>
>
>
> -----Original Message-----
> From: Lal, Neeraj [mailto:Neeraj.Lal@pfizer.com]
> Sent: Tuesday, July 29, 2003 10:54
> To: 'hpux-admin@DutchWorks.nl'
> Subject: [HPADM] Hiding password embedded in Shell
> Scripts
>
>
> Hi Admins
>
> I am posting this question related to security I
> have few shell scripts
> running in my system to transfer (ftp ) the files on
> daily basis from one
> server to another and these shell scripts have
> userid & password which
> raises a security breach . Is there anyway to hide
> these passwd in scripts.
>
> Please do let me know
>
> I will summarize
>
> TIA
> Neeraj Lal
>
>
> --
> ---> Please post QUESTIONS and
> SUMMARIES only!! <---
> To subscribe/unsubscribe to this list,
> contact
> majordomo@dutchworks.nl
> Name: hpux-admin@dutchworks.nl Owner:
> owner-hpux-admin@dutchworks.nl
>
> Archives:
> ftp.dutchworks.nl/pub/digests/hpux-admin
> (FTP, browse
> only)
>
> http://www.dutchworks.nl/htbin/hpsysadmin (Web,
> browse &
> search)
>
> --
> ---> Please post QUESTIONS and
> SUMMARIES only!! <---
> To subscribe/unsubscribe to this list,
> contact majordomo@dutchworks.nl
> Name: hpux-admin@dutchworks.nl Owner:
> owner-hpux-admin@dutchworks.nl
>
> Archives:
> ftp.dutchworks.nl/pub/digests/hpux-admin
> (FTP, browse only)
>
> http://www.dutchworks.nl/htbin/hpsysadmin (Web,
> browse & search)
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic