[HPADM] SUMMARY : Hiding password embedded in Shell Scripts

From: Lal, Neeraj (Neeraj.Lal_at_pfizer.com)
Date: 07/30/03

  • Next message: Deepak John Cutinha: "[HPADM] Re: SUMMARY : Hiding password embedded in Shell Scripts"
    To: "'hpux-admin@dutchworks.nl'" <hpux-admin@dutchworks.nl>
    Date: Wed, 30 Jul 2003 17:21:06 -0400
    
    

    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)
    

  • Next message: Deepak John Cutinha: "[HPADM] Re: SUMMARY : Hiding password embedded in Shell Scripts"