- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disable rexec
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
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
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
тАО02-11-2007 09:23 PM
тАО02-11-2007 09:23 PM
Is it possible to disable all remote shell commands on HP-UX. Disable rcp,remsh etc.
And enable these when required.
Thanks and regards
Kaushik
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2007 09:38 PM
тАО02-11-2007 09:38 PM
Re: Disable rexec
modify the inetd.conf and re-start inetd.
See:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=866233
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2007 12:50 AM
тАО02-12-2007 12:50 AM
Re: Disable rexec
Thank you very much for you response.
By doing the recomended changes to the inetd.conf file, I'm able to disable the rcp,remsh commands.
I have commented the following lines from the /etc/inetd.conf file to disable rcp,remsh & rlogin command. Do you see any impact on the system by disabling these services in terms of service guard operation etc ?
login stream tcp6 nowait root /usr/lbin/rlogind rlogind -l
shell stream tcp6 nowait root /usr/lbin/remshd remshd -l
exec stream tcp6 nowait root /usr/lbin/rexecd rexecd
Thanks and regards
Kaushik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2007 12:55 AM
тАО02-12-2007 12:55 AM
Solutionplease see:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=12014
especially last answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2007 11:00 PM
тАО02-14-2007 11:00 PM
Re: Disable rexec
are you happy with the last answer I gave ?
Could you please complete the thread by awarding points to helpful answers and summarising the solution for you.
This will help resolution of similar problems in the future.