1829403 Members
1020 Online
109991 Solutions
New Discussion

.netrc file

 
Vishwa
Occasional Advisor

.netrc file


As you all know .netrc enables autologin for the ftp command. I would like to know the HP Policy about having a .netrc on the local intranet HP-UX machines.



It will be of great help if anyone can lead me to the HP Policy site about the unix machines. For example having .rhosts or .netrc etc.


When going gets tough, upgrade. © Murphy.
3 REPLIES 3
Christopher McCray_1
Honored Contributor

Re: .netrc file

Just as a quick starter, HP does state it's concerns about .netrc files at the bottom of the man page of .netrc

More to come...
Chris
It wasn't me!!!!
Mark Greene_1
Honored Contributor
Bill Hassell
Honored Contributor

Re: .netrc file

Other than the warnings in the man pages, there is no special policy...that is something that your security specialist must decide. .netrc and .rhosts as well as /etc/hosts.equiv and even NFS represent very useful ways to share data among many machines. However, the very features that make it useful are the ones that make it vulenerable to attack.

It is imperative that permissions on files such as .rhosts and .netrc NEVER have anything except 600. But these files are only a couple of the dozens of checks you need to make in case this must be a secure system. Start with a good book on HP-UX security:

http://www.hp.com/hpbooks/prentice/ptr_0130330620.html


Bill Hassell, sysadmin