- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Modifying the rhost file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 11:00 PM
тАО01-21-2004 11:00 PM
I needed to ftp a file from my local machine to a remote machine. Hence, I need to modify the .rhosts file on the remote machine. While doing this operation, I am adding the following entries:
a. hostIP address userid
b. + root
I am skeptically about adding the second entry since it would give access to everyone and this would result in a major security breach.
In short, is it sufficient to add only the first entry.
Also, what is the difference between
+ + and + root entry in the .rhosts file.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 11:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 11:10 PM
тАО01-21-2004 11:10 PM
Re: Modifying the rhost file
You need not to modify .rhost file for enabling ftp access. .rhost file is not playing any role in ftp.
you may require to modify /etc/ftpuser to control ftp access or inetd.sec file.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 11:12 PM
тАО01-21-2004 11:12 PM
Re: Modifying the rhost file
that's correct. You need .rhosts for rsh, rcp, rlogin and the like but not for ftp.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2004 11:12 PM
тАО01-21-2004 11:12 PM
Re: Modifying the rhost file
Armit for ftp you need a .netrc file. But this is a big secutiry risc, couse if contains a servername, username and passwd. I would suggest you use SCP. I am sure SEP will post you a howto.
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 12:15 AM
тАО01-22-2004 12:15 AM
Re: Modifying the rhost file
+ root -->user root from any host can login.
as stated do not use .rhosts file for ftp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 11:03 PM
тАО01-22-2004 11:03 PM
Re: Modifying the rhost file
Also, while ftping is it compulsory to have the entry in the /etc/ftpuser file.
One last thing, I was checking my HP-UX 11i and there is not ftpuser file present in the /etc/ftpd nor is there a /var/adm/inetd.sec file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2004 11:10 PM
тАО01-22-2004 11:10 PM
Re: Modifying the rhost file
if ftpusers exists then only the users mentioned in it can ftp. Otherwise all users can.
/var/adm/inetd.sec should exists but if it doesn't then it just means that anybody can use ftp too.
One common problem is that the user's shell must appear in /etc/shells for ftp to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2004 12:36 AM
тАО01-23-2004 12:36 AM
Re: Modifying the rhost file
Fist column in .rhosts/hosts.equiv file is for hostname/IP address and second is user name.
if you give + in both column meance every user from every hosts and it can be a security concern so always use
Hostname Username
/etc/ftpuser file is for blocking perticular user to gain ftp access. it is optional file and you can create it using vi.
in this file you have to mention username only one per line.
/var/adm/inetd.sec should be there by default.
Sunil