LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-22-2010, 07:48 AM   #1
k.Ram
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Hellp me urgent


Hi,
I have configured redhat4 and Dell LT0 devise. but problem is whenever try to established rdump command see like this.
[root@server] rdump -L TM02ICIP2009 -3uf 172.29.36.34:/dev/nst0 /asic-ipprojects 2>>log_asic-ipprojects_22Apr2010 &
[root@server] cat log_asic-ipprojects_22Apr2010
DUMP: login to 172.29.36.34 as root failed.
DUMP: 172.29.36.34: Connection refused
Ihave put the /etc/.rhosts also. but dump am able to take backup.(local server)
Any one can give solution

Regards
Ram
 
Old 04-22-2010, 07:52 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Please use descriptive thread titles and do NOT use words like urgent. We are volunteers and we solve problems when we get around to it.
 
Old 04-22-2010, 09:14 PM   #3
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
It's been many years since I used rsh, rdump, or any of the other r stuff. It is insecure and deprecated, especially for root. I believe the .rhosts file has to be in root's home directory if you want root to be able to login. Check the man page. That is dangerous, at least in part because it is unencrypted and because it would allow a root compromise on one machine to easily spread to another machine.

What I have done to accomplish this securely is to create a backup user account and set it up with public key authentication for ssh. See http://sial.org/howto/openssh/publickey-auth/ for an excellent howto. Then, I can run the dump (or tar or whatever) as root and pipe it through the backup user to an ssh into the remote system and onto the tape drive. It may seem a bit contorted or complex, but you just have to try each step and get it working.

An example with ufsdump on Solaris would be:

ufsdump 0cnlTfuN 2h - ${RDEV} ${WHICHSNAP} | su - backup -c "ssh ${TAPESERVER} \"dd obs=64b of=${TAPDEV}\"";

(That's all on one line.)

So, the backup data gets streamed through the ssh pipe and picked up by dd which puts it onto the tape.

Last edited by choogendyk; 04-22-2010 at 09:17 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hellp ganeshas_123 LinuxQuestions.org Member Intro 7 03-20-2008 10:52 AM
Need hellp on setup wireless spoonpower Linux - Wireless Networking 15 01-28-2007 10:26 PM
Hellp Please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! othniel Linux - Newbie 2 01-18-2007 08:59 PM
Hellp! SoundCard went MUTE RaiReg Mandriva 4 01-16-2004 10:36 PM
please hellp gigya Linux - Networking 1 07-08-2002 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration