- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disable R-services
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-13-2007 07:11 AM
04-13-2007 07:11 AM
I need to disable R-services from hpux system in a way that will be relatively easy to restore if required.
My procedure is a follow:
###############################
vi /etc/inetd.conf
comment out
#login stream tcp nowait root /usr/lbin/rlogind rlogind
#shell stream tcp nowait root /usr/lbin/remshd remshd
#kshell stream tcp nowait root /usr/lbin/remshd remshd -K
#klogin stream tcp nowait root /usr/lbin/rlogind rlogind -K
Save the file
restart the inet daemon.
/etc/inetd -c
#################################
after this I did some testing and it seems to work because I am not able to do rlogin, remsh and rcp.
Do I need to remove .rhosts files?
A person recommened to comment out login from /etc/services, is this required?
Is there any other configuration change I need to do?
Thanks,
Hector,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2007 07:14 AM
04-13-2007 07:14 AM
SolutionThe steps you have taken already are all you need to do. No other configuration files need to be touched.
You could remove all ~/.rhosts and /etc/hosts.equiv files, but without the services enabled they won't do you much good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2007 07:23 AM
04-13-2007 07:23 AM
Re: Disable R-services
your response is very valuable, My customer's security policy requires to disable the r-services on the other hand I want to keep it simple because I will need to re-enable those services for future oracle upgrades and I think this approach is the one that best fits my requirements.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2007 07:23 AM
04-13-2007 07:23 AM
Re: Disable R-services
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2007 07:41 PM
04-15-2007 07:41 PM