- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: allow rcp from any machine
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
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
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
тАО06-04-2002 10:05 AM
тАО06-04-2002 10:05 AM
allow rcp from any machine
How can I allow rcp files from my sever from any machine?
Basically, I want to write a program that will be given to different users, and when those users will execute it, they can perform rcp on my server?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 10:21 AM
тАО06-04-2002 10:21 AM
Re: allow rcp from any machine
I'm not sure exactly what you want to do, but to allow an rcp connection will allow in the same time an rlogin connection without a password from any servers. So it will become really insecure for your system since anybody will be able to use it without a password
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 10:23 AM
тАО06-04-2002 10:23 AM
Re: allow rcp from any machine
To be trusted means that you need to put the machine's DNS name in the .rhosts file for that user.
No program needed, just entries in the .rhosts file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 10:23 AM
тАО06-04-2002 10:23 AM
Re: allow rcp from any machine
rcp file from any machine to your system?
add every systems name in to your /.rhosts file.
Or add + in /etc/hosts.equiv file and /.rhosts file. so everyone can run rcommand to this system.
#man remsh
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 10:24 AM
тАО06-04-2002 10:24 AM
Re: allow rcp from any machine
mars skchan
mars skchan.abc.com
That allows me to run the "r" commands on mars. Provided of course mars can authenticate me as "skchan".
Another option is /etc/hosts.equiv file that you can create on the server but I would not want to use that (security reasons). Do a man on "hosts.equiv" for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 10:25 AM
тАО06-04-2002 10:25 AM
Re: allow rcp from any machine
1) $HOME/.rhosts - this will give access to the specified hosts for this particular user
2) /etc/hosts.equiv - global for any user, giving access to remote systems specifed. Remember the security hole!
# man hosts.equiv ( for more details)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 10:31 AM
тАО06-04-2002 10:31 AM
Re: allow rcp from any machine
All the issues revolve around gining permission to the user , in case you want you can hard wired ther previleges by setting up the user name in .rhosts the $HOME for that user. This will enable the user to rcp the files . The way to check is to do login as a user and do a rlogin to the the other machine , if the system prompts for a passwd then the rcp will also not work , incase the system doesnt ask for passwd then the user can doa rcp.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 11:44 AM
тАО06-04-2002 11:44 AM
Re: allow rcp from any machine
The username entry in .rhosts file or /etc/hosts.equiv file will help you rcp between machines without passwords.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 11:45 AM
тАО06-04-2002 11:45 AM
Re: allow rcp from any machine
I don't know all the machine names they will be coming from, and thats why I'd like to open my machine to every other machine.
Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2002 05:53 PM
тАО06-04-2002 05:53 PM
Re: allow rcp from any machine
Put this in the /etc/hosts.equiv:
# cat /etc/hosts.equiv
+
If you are only allowing to a specific user account, put this in $HOME/.rhosts of that user:
# cat $HOME/.rhosts
+ +
Note, for security reasons, this should not be implemented except for pure testing purposes with non-sensitive and non-critical data and systems.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2002 10:51 AM
тАО06-05-2002 10:51 AM
Re: allow rcp from any machine
"remsh
If the current date is returned, rcp should work OK. If you get an error message, more configuration work is required.
As the Oracle DBA at our site, I put "+ oracle" in each Oracle server's ~oracle/.rhosts file. This allows me(logged in as user "oracle") to rcp files to/from any of our Oracle servers.