- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: looking for a trick to allow rlogin but not re...
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
02-23-2005 10:06 AM
02-23-2005 10:06 AM
"rlogin hostB -l frog" works as desired but i want to find a way to make "remsh hostB -l frog" to fail ...is there a way?
i need this feature because the account is "captive" and works great for my application BUT do not want the environment to be hacked via remsh
thx, marc
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 10:14 AM
02-23-2005 10:14 AM
Re: looking for a trick to allow rlogin but not remsh
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 10:33 AM
02-23-2005 10:33 AM
Re: looking for a trick to allow rlogin but not remsh
I'd agree with Denver and look at using SSH. Using .rhosts and 'r' services presents a big security risk.
You can set up SSH to use Publickey authentication so you don't need to enter passwords. You'll have the same functionality as rlogin but far more secure.
Having said that if you want to use rlogin but not remsh, you can disable remsh in /etc/inetd.conf and then run inetd -c to pick up the changes.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 10:38 AM
02-23-2005 10:38 AM
Re: looking for a trick to allow rlogin but not remsh
regardless, i am stuck for the moment with thr r* commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 10:42 AM
02-23-2005 10:42 AM
Re: looking for a trick to allow rlogin but not remsh
i am looking for something that will only prevent remsh from accessing frog@hostB yet allow rlogin access. i do know that rlogin and remsh act differently when accessing the remote account ...so hoping there is a way to exploit that, but not sure how
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 11:20 AM
02-23-2005 11:20 AM
Re: looking for a trick to allow rlogin but not remsh
and block remsh into a system. One way to do this
would be to use IPFilter. Configure following IPFilter
rules:
$ /sbin/ipf -Fa -f -
pass in quick proto tcp from any to any port = 513
block in quick proto tcp from any to any port = 514
^D
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 11:23 AM
02-23-2005 11:23 AM
Re: looking for a trick to allow rlogin but not remsh
only from hostB, change the IPFilter rules to following:
---
pass in quick proto tcp from hostB to any port = 513
block in quick proto tcp from hostB to any port = 514
----
replace hostB with host B's IP address or hostname.
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 05:29 PM
02-23-2005 05:29 PM
Solutionremsh will use the rlogind when no command is used...
This is from the manual page of remsh:
If command, is not specified, instead of executing a single command, you will be logged in on the remote host using rlogin (see rlogin(1)).
So, unless you specify commands remsh should run on the other side, it is not possible to distinguish on that side of the connection with what command it was established... Sorry.
Good luck,
Elmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 04:47 AM
02-24-2005 04:47 AM
Re: looking for a trick to allow rlogin but not remsh
thx Elmar, i was hoping for something but was prepared for an answer like yours ...thx for the feedback