- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Where should .rhosts be located?
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
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
тАО12-10-2005 12:33 PM
тАО12-10-2005 12:33 PM
Where should .rhosts be located?
I tried to install OB software from IS. However the remote login didn't work even I've put this in the file /.rhosts:
I've tried to copy /.rhosts to /root/.rhosts, but it still doesn't work. I'm not so familiar with Linux, what should be the .rhosts right location? /.rhosts or /root/.rhosts? How to make the thing works?
Thanks in advanved!
Mei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2005 02:34 PM
тАО12-10-2005 02:34 PM
Re: Where should .rhosts be located?
The .rhosts file for the individual goes in the user's home directory. Typically that is /root on linux.
HTH,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2005 02:43 PM
тАО12-10-2005 02:43 PM
Re: Where should .rhosts be located?
I don't know what OB software is, but do you really need to use rservices to get it. Most current linux distributions have rservices turned off, since they are insecure. Can you use ssh/scp instead? I think you'll have better luck with that if you can.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2005 11:17 PM
тАО12-10-2005 11:17 PM
Re: Where should .rhosts be located?
If you really need to use r-commands for root, you should do the following:
1) put .rhosts into /root directory with 600 permission
2) add "rsh" and "rlogin" to /etc/securetty file
3) chkconfig rsh on
and
chkconfig rlogin on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 01:24 AM
тАО12-12-2005 01:24 AM
Re: Where should .rhosts be located?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 01:37 AM
тАО12-12-2005 01:37 AM
Re: Where should .rhosts be located?
The .rhosts file should be there in the correcsponding users HOME directory.
In our case we need to put in the root users HOME, please check the same from /etc/passwd file or login as root and do echo $HOME. and save the file there.
Also you check the /etc/hosts.equiv file in the IS_server for the entry for this server.
It will work.
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 03:19 AM
тАО12-12-2005 03:19 AM
Re: Where should .rhosts be located?
may be disabled in the inetd.conf or
xinetd.conf files.
Many system disable these commands by default
because of there security implications.
Consider using ssh to provide the
functionality. I believe you can alias
the r* commands into ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 06:59 AM
тАО12-12-2005 06:59 AM
Re: Where should .rhosts be located?
Also you need the shell in /etc/services, which enabled remote system to execute commands.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-13-2005 01:53 AM
тАО12-13-2005 01:53 AM
Re: Where should .rhosts be located?
rpm -q rsh-server
Most linux installations don't include it by default. On Red Hat installations, it is included with the "Legacy Network Server" bundle.