Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to backup file systems /dev/dsk/c0t1d0sX (where X=0,3) from my Sun workstation running Solaris 7 onto a tape drive /dev/st0 on a Dell server running Red Hat 7.2. Both systems are on a LAN here in my home. What is the appropriate command? The Sun has root and user login privileges on the Dell using either ssh or telnet.
The dump started, but intermingled with the dump information, the Dell asked for a password. I tried to type it in, but was unable to do so. This time the message said something about a "broken pipe" and "The ENTIRE dump is aborted".
Then, on the Dell, I put the following lines into the /etc/ssh/ssh_config file (before the Host * entries), and restarted ssh, in the hopes that I could keep the Dell from insisting on a password, but to no avail.
Host my-sun-machine
BatchMode yes
PasswordAuthentication no
The dell is still looking for a password, which I cannot seem to enter.
Sorry I haven't gotten back to this thread for a while. My Linux server has had memory failures again. So, I was unable to work on this problem.
Could someone help me with pablob's advice "you have to allow 'shell' service in inetd.conf on the remote machine and temporarily allow .rhosts".
By remote machine, I believe pablob means the Linux server that has the tape drive that I want to use to backup the Sun files. It appears to have 'shell' service turned on, since I find the following entry in /etc/inet/inetd.conf:
NAME
rhosts, hosts.equiv - trusted remote users or hosts
SYNOPSIS
~user/.rhosts
/etc/hosts.equiv
DESCRIPTION
The per user .rhosts and the per system hosts.equiv files can be used to allow users to use rlogin or rsh without a password. The remote login services first check the system wide /etc/hosts.equiv file and then the ~user/.rhosts of the intended user. Both files contain lines of one of two forms:
host
host ruser
The first form tells that any user from host is allowed to login to this system under the same name. The second form allows ruser from host to login.
The .rhosts file is checked to be owned by user or root, and only its owner may be able to write it.
SO:
Create these two files (/etc/hosts.equiv & /root/.rhosts or /etc/.rhosts ) and place inside this line:
+ +
YES. It's a plus, then a tab and then another plus.
When you end backup DELETE THIS TWO FILES IMMEDIATLY
Why ? Security risk. Open doors.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.