- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What is different between telnet and rlogin?
Operating System - HP-UX
1822712
Members
3563
Online
109644
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО06-21-2001 05:22 PM
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2001 06:00 PM
тАО06-21-2001 06:00 PM
Re: What is different between telnet and rlogin?
Here is what I know but other may answer more than that.
rlogin command supplies the remote host with your login id and your current teminal value(TERM environment variable). If you properly setup the remote host's .rhosts file in the user home directory, you donot need supplies password.
Telnet command supplies doesn't supply login id and password to the romote host, hence you need to provide login id and password every time. Telnet allows you to login to platform other Unix but not rlogin.
rlogin command supplies the remote host with your login id and your current teminal value(TERM environment variable). If you properly setup the remote host's .rhosts file in the user home directory, you donot need supplies password.
Telnet command supplies doesn't supply login id and password to the romote host, hence you need to provide login id and password every time. Telnet allows you to login to platform other Unix but not rlogin.
mk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2001 06:05 PM
тАО06-21-2001 06:05 PM
Solution
Hi,
'rlogin' means "remote login"
An example of this can be done as
rlogin hostone
If the password prompt appears it means
that there is no '.rhosts' file for
that user. The 'rhosts' file must be owned
by the same use that is logging in. The use
'.rhosts' and hosts.equiv is not recommended
other than for convenience and to use 'remsh'
commands. The reason is it makes systems
insecure.
You can also use this scenario
rlogin hostone -l usertwo
The telnet command is used to login
to another unix server, router, print hub
and various other equipment.
A password is required for telnet.
HTH
Michael
'rlogin' means "remote login"
An example of this can be done as
rlogin hostone
If the password prompt appears it means
that there is no '.rhosts' file for
that user. The 'rhosts' file must be owned
by the same use that is logging in. The use
'.rhosts' and hosts.equiv is not recommended
other than for convenience and to use 'remsh'
commands. The reason is it makes systems
insecure.
You can also use this scenario
rlogin hostone -l usertwo
The telnet command is used to login
to another unix server, router, print hub
and various other equipment.
A password is required for telnet.
HTH
Michael
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2001 07:15 PM
тАО06-21-2001 07:15 PM
Re: What is different between telnet and rlogin?
Some information from the man pages for telnet and rlogin. Here is the link to the section 1 man pages where I got the information: http://docs.hp.com/hpux/onlinedocs/B2355-90128/B2355-90128.html
*******************
rlogin
The rlogin command connects your terminal on the local host to the remote host (rhost). rlogin acts as a virtual terminal to the remote system. The host name rhost can be either the official name or an alias as listed in the file /etc/hosts (see hosts(4) ).
In a manner similar to the remsh command (see remsh(1) ), rlogin allows a user to log in on an equivalent remote host, rhost, bypassing the normal login/password sequence. For more information about equivalent hosts and how to specify them in the files /etc/hosts.equiv and .rhosts, see hosts.equiv(4) . The searching of the files /etc/hosts.equiv and .rhosts occurs on the remote host, and the .rhosts file must be owned by the remote user account.
If the originating user account is not equivalent to the remote user account, the originating user is prompted for the password of the remote account. If this fails, a login name and password are prompted for, as when login is used.
*****************
telnet
telnet is used to communicate with another host using the TELNET protocol. If telnet is invoked without arguments, it enters command mode, indicated by its prompt (telnet>). In this mode, it accepts and executes the commands listed below. If telnet is invoked with arguments, it performs an open command (see below) with those arguments.
************************
*******************
rlogin
The rlogin command connects your terminal on the local host to the remote host (rhost). rlogin acts as a virtual terminal to the remote system. The host name rhost can be either the official name or an alias as listed in the file /etc/hosts (see hosts(4) ).
In a manner similar to the remsh command (see remsh(1) ), rlogin allows a user to log in on an equivalent remote host, rhost, bypassing the normal login/password sequence. For more information about equivalent hosts and how to specify them in the files /etc/hosts.equiv and .rhosts, see hosts.equiv(4) . The searching of the files /etc/hosts.equiv and .rhosts occurs on the remote host, and the .rhosts file must be owned by the remote user account.
If the originating user account is not equivalent to the remote user account, the originating user is prompted for the password of the remote account. If this fails, a login name and password are prompted for, as when login is used.
*****************
telnet
telnet is used to communicate with another host using the TELNET protocol. If telnet is invoked without arguments, it enters command mode, indicated by its prompt (telnet>). In this mode, it accepts and executes the commands listed below. If telnet is invoked with arguments, it performs an open command (see below) with those arguments.
************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2001 07:39 PM
тАО06-21-2001 07:39 PM
Re: What is different between telnet and rlogin?
Thanks a lot for you great help!
All the best!
All the best!
Always UNIX
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP