- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to disable rlogin and rsh function
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
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
тАО04-21-2009 05:50 PM
тАО04-21-2009 05:50 PM
how to disable rlogin and rsh function
how to disable rlogin and rsh function in hp unix. thanks a lot.
BR
eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 07:13 PM
тАО04-21-2009 07:13 PM
Re: how to disable rlogin and rsh function
login stream tcp nowait root /usr/lbin/rlogind rlogind
Please look for file /etc/host.equiv or $HOME/.rhosts and remove. please see man page of rsh and rlogin.
don't forget to restart the inetd daemon after changes.
#inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 08:59 PM
тАО04-21-2009 08:59 PM
Re: how to disable rlogin and rsh function
For disable rlogin
edit /etc/inetd.conf and comment protocols
that start with an r
remove .rhosts file from you machine
setup /etc/hosts.equiv to prevent login
from all machines (deny all)
Rgds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 09:12 PM
тАО04-21-2009 09:12 PM
Re: how to disable rlogin and rsh function
Nowdays these so called insecure ARPA/Berkely services not widely used because of its security risk. Best alternate would be secure shell services which uses high level encryption/decryption mechanism to secure the data over network.
So just comment out rlogin/remsh/rexec services in /etc/inetd file and start using SSH.
As said, re-read the inetd file using the below command after making the changes.
#inetd -c
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 09:51 PM
тАО04-21-2009 09:51 PM
Re: how to disable rlogin and rsh function
Comment this line as below in /etc/inetd.conf
#login stream tcp nowait root /usr/lbin/rlogind rlogind
then restart with inetd -c
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2009 10:10 PM
тАО04-21-2009 10:10 PM
Re: how to disable rlogin and rsh function
once u comment any line in this file that service will not available.
ok
and if u are making any changes u should have to run inted -c command it is must
thanks and regards
sajjad