- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SUN Solaris 2.6 to HP-UX 11.0 rsh problem
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-14-2004 01:50 PM
07-14-2004 01:50 PM
I d like to tar files from my solaris box and send it to my HP box disk. (Note: i dont have enough disk space on my solaris). What i did is
ran this command as root: from sun-box:
tar cvf - /var | remsh
The result says: permission denied.
And when i ran: remsh
Could you pls help on how to setup a trusted host on my solaris and HP box. Thanks in advance..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 05:44 PM
07-14-2004 05:44 PM
SolutionTest with
remsh HP-IP address> -l
If you get permission denied you've still got
the problem.
Once that is sorted then you can progress.
I would have thought you would use:
tar cvf - /var | remsh
HTH ...Laurie :{)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 07:05 PM
07-14-2004 07:05 PM
Re: SUN Solaris 2.6 to HP-UX 11.0 rsh problem
If you want to do this operation in a secured or trusted manner, use the ssh or sftp for this.
Because /etc/hosts.equiv,$HOME/.rhosts, and the rlogin/rsh protocol in general, are inherently insecure and should be disabled if security is desired.
create public key with ssh-keygen with dsa or rsa. See the ssh man page to know about ssh authentication. We can use ssh with out passwd by adding the public key in $HOME/.ssh/authorized_keys file
use scp to do this operation as a simple one.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2004 09:06 PM
07-14-2004 09:06 PM
Re: SUN Solaris 2.6 to HP-UX 11.0 rsh problem
I see some problems in your command :
. If you do tar cvf on the sun, you should tar xf on the hp.
. Transmitting /var from sun to HP is not a good idea. /var content is a bit OS dependent.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2004 12:55 AM
07-15-2004 12:55 AM
Re: SUN Solaris 2.6 to HP-UX 11.0 rsh problem
It is a very good accident that prevented you from transferring all of /var to the HP-UX machine. tar is a typical Unix command in that it does what you tell it to so saving /var means that tar can only restore back to the original path. For safety and versatility, cd to /var and then tell atr to save the current directory, either tar cvf - . or tar cvf - * to get a backup with relative and not absolute directories.
The dd=/dev/dsk/c2t6d0 won't work either. dd needs an input file (default is stdin) but most important, an output file. If you specified dd of=/dev/dsk/c2t6d0, you would have destroyed your disk (no recovery possible, requires a reinstall). If you have space in a particular filesystem on the HP-UX side, you could change the of= to: of=/mnt1/sunvar.tar or similar.
Finally, I don't believe Solaris has a Trused system concept. You can implement a shadow password on the Solaris side which is similar to HP's Trusted capability. For HP-UX, use SAM and select Auditing and Security -> Audited Events. SAM will ask you if you want to convert to a trusted system.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 04:27 PM
07-22-2004 04:27 PM
Re: SUN Solaris 2.6 to HP-UX 11.0 rsh problem
Bill&Laurie: I could not done it with out ur help, again thank u very much. more power to u guys!