Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP / .netrc question

Status
Not open for further replies.

gonzilla

Programmer
Apr 10, 2001
125
US
Hi,

I'd like to be able to ftp into a server without typing my user name and password - but I don't think the admins want us to do it this way for security purposes. I'm not trying to go around them I just want to see how it could be done.

I have read about the .netrc and have been able to use it successfully to do this, but of course this allows anyone to see my password if they know where to look. I wrote a C program that creates and destroys the .netrc when doing ftp, but I just thought that seems like a pain and that there might be a better way.

Any suggestions?

Thanks.

-Tyler -Tyler
 
you can make your .netrc unreadable to anyone except yourself, look at the chmod command Mike
________________________________________________________________

"Experience is the comb that Nature gives us, after we are bald."

Is that a haiku?
I never could get the hang
of writing those things.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top