LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-06-2010, 12:28 AM   #1
dnaqvi
Member
 
Registered: Oct 2009
Posts: 117

Rep: Reputation: 15
uid


Hello All,

OS: Linux

Our goal is to copy the files from one server to other server without using FTP or SFTP.

Our developemnet team will place the file onto the following directory path of test server 1.


/home/abc/newdata

abc is also the user.
uid of abc is 1006.

For copying the file we setup the mount point in test server 1 as
mount IP Address /home/abc/newdata /mnt/newdata

we mounted following path to the rest of the servers (8 servers).
Now /mnt/newdata is available in all servers.
Our script can copy from /mnt/newdata to the /opt/IBM/WebSphere/ directory path of each server.

On all otehr servers we do not have user abc.
But one of the user (d2490) has same uid 1006 as abc.
Is it ok to use user d2490 to copy the file?
Is it ok to have user in other server has same uid as user on other server?
In this situation our dev team putting files under /home/abc/newdata on test server1.

From where we copy the files onto /opt/IBM/WebSphere/ of all server including test server1.

Thanks
 
Old 05-06-2010, 01:30 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
The uid's across servers are irrelevant, all you need to worry about are the file permissions. If you ensure the files are created readable for everyone then you can copy them to /opt/IBM/WebSphere/ using the account that Websphere is running under and save yourself having to chown them after.

cheers
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Real uid and effective uid palisetty_suman Linux - Newbie 2 02-15-2009 12:59 PM
Difference between UID and effective UID chakribobby Linux - Newbie 2 10-23-2007 10:56 AM
Changing the UID of a Physical Volume to a specific UID jambraun Linux - Newbie 2 02-09-2006 02:34 PM
FREEBSD5.3 platform: PHP setcookie() successful, but $uid = $_COOKIE['uid']; fail tclwp Programming 1 03-30-2005 08:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:56 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