- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Why I cannot rlogin but can telnet?
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-18-2002 06:10 PM
04-18-2002 06:10 PM
Why I cannot rlogin but can telnet?
# rlogin myhost
No utmp entry.You must exec "login" from the lowest level "sh".
Connection closed.
But I can telnet to the same machine,why?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 06:37 PM
04-18-2002 06:37 PM
Re: Why I cannot rlogin but can telnet?
# mv /etc/utmp /etc/utmp.bad
# touch /etc/utmp
# vi /etc/inittab
==> change the line that has
cons:123456:respawn ....
to
cons:123456:off .....
# init q
# vi /etc/inittab
==> change the previous line that you've edit back to what it was before ..
cons:123456:respawn ...
# init q
Now try to rlogin again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 06:39 PM
04-18-2002 06:39 PM
Re: Why I cannot rlogin but can telnet?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 06:39 PM
04-18-2002 06:39 PM
Re: Why I cannot rlogin but can telnet?
This is usually a utmp corruption ...
Null the utmp file
prompt# > /etc/utmp
Check out these threads ...
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xac6d7e990647d4118fee0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x637f37f45ef7d4118fef0090279cd0f9,00.html
Thanks,
Shabu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 08:56 PM
04-18-2002 08:56 PM
Re: Why I cannot rlogin but can telnet?
try this also. exit from all your subshells .
#ps
only your login shell should be running.
now rlogin again.
get back with results.
regards.
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2002 12:25 AM
04-19-2002 12:25 AM
Re: Why I cannot rlogin but can telnet?
Just curious, it seems "init q" only rereads inittab and it won't reboot the server, likewise for "inetd -c" which only rereads inetd.conf but doesn't restart inetd daemon.