- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- Re: rcp not working for oracle user
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
10-02-2007 07:46 PM
10-02-2007 07:46 PM
i am not able to give rights for oracle user to give rcp rights from one server to another.
server A:-> rx4640,8gb RAM,11iv2
serverB :-> rx4640,8gb RAM,11iv2
server A(ge1) :-> .rhosts file contains
ge1 root
ge2 root
10.x.x.x root
+ ge2 oracle
+ ge1 oracle
server B (ge2):-> .rhosts file contains
ge1 root
ge2 root
10.x.x.x root
+ ge2 oracle
+ ge1 oracle
I m able to rcp as root user with no hassles ,but for oracle user m getting remshd:Login incorrect message...
I have also tried the /etc/hosts.equiv file ,but no use with hostname username as syntax...
Also
-r-sr-xr-x 1 root bin 140124 Oct 28 2005 /usr/bin/rcp
Thanx in advance.....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-02-2007 07:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-02-2007 07:50 PM
10-02-2007 07:50 PM
Re: rcp not working for oracle user
host user
and when you type:
+ ge2 oracle
that means - user ge2 from any hosts.
Replace it with:
ge2 oracle
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-02-2007 07:51 PM
10-02-2007 07:51 PM
Re: rcp not working for oracle user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-02-2007 07:54 PM
10-02-2007 07:54 PM
Re: rcp not working for oracle user
Why do you have: + ge1 oracle
Instead of: ge1 oracle
"+" provides a wildcard for a host or name, not an extra field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-02-2007 08:04 PM
10-02-2007 08:04 PM
Re: rcp not working for oracle user
Before you can use rcp to copy files to or from a remote host, the remote host must be
configured in one of the following methods:
â ¢ You must have an account on the remote host with the same login name as your
local login name and the name of your local host must be in the remote hostâ s
/etc/hosts.equiv file.
â ¢ You must have an account on the remote host, and the name of your local host
and your local login name must be in a .rhosts file in your home directory on
the remote host.
Creating a $HOME/.rhosts File on a Remote Host
If you have an account on a remote host, you can set up the account so that you can
log into the remote host without specifying your remote login name and password.
Using rlogin 17
To create a $HOME/.rhosts file on the remote host, perform the following steps:
1. If you do not know where your home directory is on the remote host, log into the
remote host and issue the following command:
echo $HOME
2. Create a file called .rhosts in your home directory on the remote host, if it does
not already exist, and add the following line to it:
your_local_host's_name your_local_login_name
3. Issue the following command to ensure that you are the owner of the remote
.rhosts file:
ls -l .rhosts
4. Issue the following command to protect your remote .rhosts file so that only
you can read it:
chmod 0400 .rhosts
5. Move to the parent directory of your home directory, and issue the following
command to protect your remote home directory by restricting write permission
to other users (that is, group and others):
chmod 0755 your_home_directory
Regards
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-02-2007 08:58 PM
10-02-2007 08:58 PM
Re: rcp not working for oracle user
ivan,
prasanth,
dennis,
TYhank u very much for ur valuable suggestion,how silly of me....should have struck me earlier only....
Anyways thank u very much....problem solved after creating .rhosts file in oracles home directory.............
Points given...............
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-02-2007 09:43 PM
10-02-2007 09:43 PM
Re: rcp not working for oracle user
when using root to rsh / rcp etc the system will always look at the root .rhosts file.
For a user config then the system will first look into /etc/hosts.equiv then if no entry then it will search ~
the permissions should be 600 on both files otherwise you are leaving yourself open to security risks and also you may find that it still wont work.
sorry for jumping in at the end but I hope this helps.
Chris.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP