- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: why i could not rlogin from hosta to hostb
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
Forums
Discussions
Discussions
Discussions
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
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
04-02-2003 08:05 PM
04-02-2003 08:05 PM
why i could not rlogin from hosta to hostb
i have already add a "+" to /etc/hosts.equiv in hostb, and add "hosta" to /home/user01/.rhosts,
but user01 still could not rlogin to hostb from hosta, why ??
and root could rlogin to hostb,
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 08:32 PM
04-02-2003 08:32 PM
Re: why i could not rlogin from hosta to hostb
Please note the following things.
1. root user when using rlogin is not using /etc/hosts.equiv file.
2. As you wrote you put an entry for hosta in .rhosts file un users home directory, you just check the permission of this file this file should be owned by user01.
please check this and update status.
Sunil S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 08:33 PM
04-02-2003 08:33 PM
Re: why i could not rlogin from hosta to hostb
You could be suffering from a DNS resolution problem. Instead of using the hostname in the .rhosts file use the IP address.
Does the local /etc/hosts file contain the IP address and name of the other server.
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 08:42 PM
04-02-2003 08:42 PM
Re: why i could not rlogin from hosta to hostb
Try converting the hostnames to IP addresses.
This should be easy to test.
Try some ping commands.
from hosta
ping hostb
from hostb
ping hosta
If there is a DNS problem, the pings should fail.
If its intermittent, your ping times should vary wildly.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 08:50 PM
04-02-2003 08:50 PM
Re: why i could not rlogin from hosta to hostb
my god , what can i do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 09:03 PM
04-02-2003 09:03 PM
Re: why i could not rlogin from hosta to hostb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2003 09:28 PM
04-02-2003 09:28 PM
Re: why i could not rlogin from hosta to hostb
-r-sr-xr-x 1 root bin 53248 Nov 14 2000 /usr/bin/login
-r-sr-xr-x 1 root bin 36864 Nov 14 2000 /usr/bin/rlogin
$HOME/.rhost = ??
/etc/passwd = ??
/etc/hosts = ??
/etc/hosts.equiv = ??
Are using Klogin instead of rlogin? grep in inetd.conf.
Do you get a login prompt? Any error messages? Do you see "...checking disk quotas..."?
Is everyone using standard shells like sh, ksh or csh?
do you have an /etc/cmcluster/cmnodelist file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 05:42 AM
04-03-2003 05:42 AM
Re: why i could not rlogin from hosta to hostb
> ip address instead of hostname, but the problem still there,
Please do not just say that you 'checked' things, but give the details, i.e. ll(1), cat(1), hostname(1), nslookup(1), etc., etc. output.
Note that a .rhosts file *MUST* be owned by the user in whose home directory it is, i.e. /home/user01/.rhosts *MUST* be owned by user user01. If it is owned by somebody else, rlogin (without a password) will *NOT* work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 08:00 AM
04-03-2003 08:00 AM
Re: why i could not rlogin from hosta to hostb
rlogin for root doesn't check /etc/hosts.equiv , only /.rhots takes effect.
thanks,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 08:03 AM
04-03-2003 08:03 AM
Re: why i could not rlogin from hosta to hostb
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 09:20 AM
04-03-2003 09:20 AM
Re: why i could not rlogin from hosta to hostb
2. ensure usernames are identical on each host.
User1 and user1 are not identical. (some people are not UNIXfiles.)
3. vi .rhosts and put in
full domain.hostnamea in b
and full domain.hostnameb in a
for two way transparency.
4. chown user .rhosts
5. chmod 444 .rhosts.
6. su - user
7. rsh a /bin/ls /tmp or other populated directory to check
8. rlogin alfred_e_newman
Hope this helps...