- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Rlogin problems
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
03-12-2002 10:04 AM
03-12-2002 10:04 AM
Rlogin problems
I have two SUN systems and I am trying to rlogin from one system to another system. I already checked the .rhosts file on second system and looks fine, has the correct entry. Every time I try to login it is asking for passwd. What I am missing.
Thanks in Advance.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:15 AM
03-12-2002 10:15 AM
Re: Rlogin problems
1. If you want to log on to Server A from B then put entry for Server B in /.rhosts file of A.
So, /.rhosts file for Server A will be like this
ServerB root
2. Check for following entry in /etc/indetd.conf file
login stream tcp nowait root /usr/lbin/rlogind rlogind
if it is commented, then make it uncommented.
Hope this will works for you.
Thanks,
-Piyush.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:17 AM
03-12-2002 10:17 AM
Re: Rlogin problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:18 AM
03-12-2002 10:18 AM
Re: Rlogin problems
could you also check the entry in the /etc/hosts.equiv file on each systems. There should be the same.
Hope this help,
Manx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:19 AM
03-12-2002 10:19 AM
Re: Rlogin problems
host_a
host_b
If you want to login from host_a to host_b and not be prompted for a password, then the .rhosts file on host_b on the first line should read:
host_a.fully.qualified.hostname username
.rhosts file on host_b should have the fully qualified name of host_a space username (that you are logging in as)
Do you have these set up but still prompting for password ?
-Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:23 AM
03-12-2002 10:23 AM
Re: Rlogin problems
Hope this will help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:24 AM
03-12-2002 10:24 AM
Re: Rlogin problems
Looked at the inetd.conf file and login entry is not commented. Any ideas.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:25 AM
03-12-2002 10:25 AM
Re: Rlogin problems
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:32 AM
03-12-2002 10:32 AM
Re: Rlogin problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:33 AM
03-12-2002 10:33 AM
Re: Rlogin problems
Thanks for quick reply. I also want every one to know this is Sun systems.
I have looked in /.rhosts and I am using fully qualified name with user name.
We are using DNS and I nslookup is fine and still I can login without passwd.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:39 AM
03-12-2002 10:39 AM
Re: Rlogin problems
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=finfodoc%2F12029&zone_32=.rhosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:40 AM
03-12-2002 10:40 AM
Re: Rlogin problems
Hi Mike,
I tried it on my SUN SYSTEMS works for me...
Did you try putting in the IP address instead of the hostname as Uday mentioned...?
-Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:42 AM
03-12-2002 10:42 AM
Re: Rlogin problems
Is .rhosts owned by the correct user? Perms set to 600?
Are you using rlogin -l loginid? The HPUX man page says that .rhosts are not used with the -l option unless the user is a superuser.
An easy way to verify what hostname / IP address to put in the .rhosts file:
rlogin (using the password)
tty
who -u (looking for your tty)
the last field in the who output for your tty is what needs to be in .rhosts
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:42 AM
03-12-2002 10:42 AM
Re: Rlogin problems
Try logging in like this:
rlogin
-Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:45 AM
03-12-2002 10:45 AM
Re: Rlogin problems
I have tried with IP address and still doesn't work. That's why I like HP and HP forms. I posted the question on Sun site and no luck. I have setup rlogin on many system and never ran into this kind of problems.
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:51 AM
03-12-2002 10:51 AM
Re: Rlogin problems
Is the remote account root? hosts.equiv doesn't apply for root. Only .rhosts.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:54 AM
03-12-2002 10:54 AM
Re: Rlogin problems
Let me tell you what I did on my sun systems:
hostA
hostB
USER1 on both systems
Logging in from hostA to hostB as USER1
hostB>cat ~USER1/.rhosts
hostA.qualified.host.name USER1
hostA>rlogin hostB.qualified.host.name -l USER1
Last login: Tue Mar 12 10:17:01 from hostA.qualified.host.name
Sun Microsystems Inc. SunOS 5.8 Generic February 2000
You have mail.
hostB>/export/home/USER1#333>
-Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:55 AM
03-12-2002 10:55 AM
Re: Rlogin problems
I can't test that (HPUX only here) and I don't remember whether that's true from my Solaris days.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 10:56 AM
03-12-2002 10:56 AM
Re: Rlogin problems
Not sure about the Sun, but in HP there is a file /var/adm/inetd.sec for rlogin security. Check this file for any allow/deny.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 11:11 AM
03-12-2002 11:11 AM
Re: Rlogin problems
Make sure that the .rhosts file you are edition on the remote server is in user's home directory. if it is root then /.rhosts
if other user then $USER HOME/.rhosts
One thing can be happen if the local user is not existing on remote machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 11:32 AM
03-12-2002 11:32 AM
Re: Rlogin problems
Thanks for you help and quick response.
I am logging in as root. .rhosts entry is correct. I did verify using who -u command. Also, tried using IP address. No luck. I will see if I can get some answer from Sun support.
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2002 11:41 AM
03-12-2002 11:41 AM
Re: Rlogin problems
Permission was not set correctly. Every thing was o.k.
Thanks,
Mike