- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remsh to localhost / security issue?????
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
07-31-2002 01:20 PM
07-31-2002 01:20 PM
We have a developer that has a script that he wants to run from one server to collect informaton from the other servers. To me this was an odd request. But he says that he wants the server to remsh to its self because he doesnt want to go back and rewrite the script for it to just run the commands local. Is there a security issue with this??
Maybe its just me but to me it just doesnt sounds right..
Thanks
~ Richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 01:27 PM
07-31-2002 01:27 PM
Re: remsh to localhost / security issue?????
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 01:30 PM
07-31-2002 01:30 PM
Re: remsh to localhost / security issue?????
Mr. Bill ..
I think I was misunderstood.
We have a server Athena that runs a script that collects data via remote shell from other servers. That part works fine. But he wants Athena to trust Athena .. So he can remote shell from Athena to Athena ..
~ Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 01:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 10:13 AM
08-01-2002 10:13 AM
Re: remsh to localhost / security issue?????
especially if the user is root.
consider using ssh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 10:19 AM
08-01-2002 10:19 AM
Re: remsh to localhost / security issue?????
You're going to have to set up /etc/hosts.equiv or .rhosts if you haven't already. You should be restrictive in the way you do this - trust expicit hosts/users so you minimize security risks. Once that's done, it shouldn't be a problem.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 11:40 PM
08-01-2002 11:40 PM
Re: remsh to localhost / security issue?????
Think VERY carefully before opening any remsh or r?? ports on any machines. Do you trust all the users on this machine? If this machine is publically accessible you could be leaving yourself open to several subtle attacks. E.g. If this user (with remsh) has lax permissions in their home directory, a clever hacker can add files such as a false ".profile", that can be used to open up other attack routes. Also if the remsh user's password is easily guessed or he/she can be shoulder surfed, another internal user can also craft attacks.
The best way to run remote commands is to install OpenSSH, create a common user (not root) on all machines, assign it a key pair and use ssh to execute commands (without requiring a password). If a remote command needs priveliged access create a captive SSH user or a setuid script on the remote system. This is much more difficult to attack as all transmissions are encryped.
Remember r?? commands rely on the IP address to verify the caller, and that is the easiest thing in the world to fake.