- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rhost file?
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
09-21-2000 10:32 AM
09-21-2000 10:32 AM
environment: HPK260 running 11.0 and Oracle DB
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2000 10:34 AM
09-21-2000 10:34 AM
Re: rhost file?
Also, the .rhosts file will not do this for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2000 10:36 AM
09-21-2000 10:36 AM
SolutionI would suggest you start by looking at the man page for inetd.sec, and take it from there.
You will need to take care that you do not prevent network connection for you to log in as the superuser, for example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2000 10:36 AM
09-21-2000 10:36 AM
Re: rhost file?
It depends by what method you want to stop your other servers connecting, telnet, remsh, X login, ftp etc. Whatever method, the best way to deny access is the /var/adm/inetd.sec file. See manpage on inetd.sec, easy to block out anyone by any method by ip.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2000 10:40 AM
09-21-2000 10:40 AM
Re: rhost file?
I am assuming from the subject line that you do not want others to be able to rlogin from any of your other servers unless required?
1. you can remove ~/.rhosts from your server (that you want to protect)
2. make sure that you remove /etc/hosts.equiv
3. You can edit /var/adm/inetd.sec so that you include an entries to disable the the login service
eg.
login deny * # this denies all rlogin type commands
4. restart inetd with
# inetd -c
5. You have to write a trigger mechanism that will allow you to turn it when required...and when to turn it back off. This could be a script that can be somehow executed automatically (eg. through the cron, if it is a time dependent trigger)
perhaps if you provided more information as to why you want this done, it might be possible to provide you with scripts etc.