- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disabling RSH
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
01-14-2008 08:10 AM
01-14-2008 08:10 AM
We recently had a security audit & one of the responses was "rsh service running. Comment out the 'rsh' line in /etc/inetd.conf". Now I've checked inetd.conf & there is no 'rsh' line. I don't think it's running but how do I check what services are running. Also need to disable SNMP so any help on that service would be appreciated. We're running HPux 11.11 on 9000/800/L1500-7x
Many thanks,
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 08:26 AM
01-14-2008 08:26 AM
Solutionlogin stream tcp nowait root /usr/lbin/rlogind rlogind
shell stream tcp nowait root /usr/lbin/remshd remshd
exec stream tcp nowait root /usr/lbin/rexecd rexecd
The "shell" line is specific to remsh. (rsh is restricted shell in HP-UX, but a typical auditor probably won't know or care about that.) The "login" line is specific to rlogin and the "exec" line is specific to rexec.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 08:32 AM
01-14-2008 08:32 AM
Re: Disabling RSH
As for disabling SNMP, there are several files in /etc/rc.config.d for various subcomponents:
SnmpHpunix
SnmpMaster
SnmpMib2
SnmpTrpDst
Use the corresponding scripts in /sbin/init.d to stop the services and then change the values of the START variables in these files to 0.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 09:11 AM
01-14-2008 09:11 AM
Re: Disabling RSH
Please look for file /etc/host.equiv or $HOME/.rhosts and remove. please see man page of rsh and rlogin
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 09:22 AM
01-14-2008 09:22 AM
Re: Disabling RSH
Thanks,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2008 09:24 AM
01-14-2008 09:24 AM