![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Copying a list of files from one 'server' to another? | Sepia | UNIX for Dummies Questions & Answers | 6 | 05-05-2009 09:15 AM |
| Automatically copying files from server to local drive? | Sepia | UNIX for Dummies Questions & Answers | 1 | 06-06-2008 12:24 AM |
| Copying files from laptop to remote server using SSH | patwa | UNIX for Dummies Questions & Answers | 3 | 11-22-2006 04:14 AM |
| copying files to a remote aix server using tar! | system-admin | AIX | 2 | 11-17-2006 03:30 PM |
| Copying files between 2 Unix server | Docboyeee | UNIX for Advanced & Expert Users | 9 | 10-20-2003 02:54 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
copying .profile files to a new server (SCO)
Hello Intelligent Life Forms (I hope)
This should be a snap for some of you. I need to copy the /usr .profiles from 1 sco system to another. Migrating to a new server. I've tried a recursive copy to the target system with a NFS mount point from the source. Wouldn't do it permissions problem. Tried creating a tar file from the source /usr/file but again got a permissions error on the restore. But only for the file I needed, .profile, all other files restored to the target. Most of the .profile files I see have permissions set to -rw--r--r. The only way I was able to push one of the .profile files across was logging into the source system and ftp'ing it to the target. Too many usrs on the system to make this practical. Please send help, Thanks |
|
||||
|
Quote:
I thank you for your suggestion. I'm not real NFS savvy. I tried to do what you suggested but there were a few system files that required updating and I was uncomfortable with doing that. So what I did was ...I logged into the source system as root and created a tar file. (from the /usr directory) tar cvf usr_profiles /usr/*/.profile Then from that system I ftp'd to the target server and placed the file (usr_profiles) in it's /usr directory. Then I just did a tar xvf usr_profiles and all the accounts in the directory were updated properly with the .profiles. I thought I had done this very same thing last week and it didn't work. Apparently not or some "devine intervention" prevailed. The power of prayer. Works for me .Thanks again. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|