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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a PC with OpenSuse 11.1. Beside root there are two other users on the system.
Now I have installed a new PC with OpenSuse 11.2. Only one user is set up until now. I installed the hard disk from OpenSuse 11.1 into the new PC on IDE Primary Slave, because I wanted to copy some files from the old system. OpenSuse 11.2 has mounted the old disk automatically in /media/disk and /media/disk-1.
The problem is that I canít find any files or directories from the users. I could find only one file from root in /media/disk-1/root/Desktop.
Why canít I see the files? Does it have anything to do with UID or SUID?
Well, I worked as root on the OpenSuse 11.2 system to copy the files, but I can’t find them. I installed the disk with OpenSuse 11.1 back to the other system and checked the permissions and they are all set to –rw-r—r--.
Any other suggestions?
Before I had the idea to connect the old hard disk to the new PC, I tried to transfer the files via the network. I tried samba, NFS, FTP and now scp, but nothing worked. I can ping each PC, but I don’t know how to set up the other services. Maybe I must configure the firewall?
hardware firewalls usually do not apply to internal traffic. Only external traffic. However if the PC's themselves have a firewall like iptables installed then that could be a problem. on the old PC install openssh by running this command as root.
yum install openssh-server
Once you have openssh installed scp should work just fine. The first time you run scp you should get a message about accepting the RSA certificate and you must type yes or no to continue. then it should prompt for a password. Once you enter the password it will transfer the file. Here is an example of what I am talking about.
TESTLAB:~# scp email@example.com:/home/jared/Downloads/README /root/
The authenticity of host '10.1.1.20 (10.1.1.20)' can't be established.
RSA key fingerprint is e1:63:44:61:a5:3b:8e:bb:90:e3:bf:df:dd:2f:a3.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.1.1.20' (RSA) to the list of known hosts.
README 100% 3654 3.6KB/s 00:00
TESTLAB~:# ls /root
That was the first time that machine has ever done an scp connection to 10.1.1.20 and it asked about the RSA key. From now on if I do an scp connection to 10.1.1.20 it will just prompt for the password.
Last edited by worm5252; 01-26-2010 at 03:20 PM.
Reason: typo correction