AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  UID

    Posted Thu May 06, 2010 03:09 PM

    Originally posted by: SDHN


    Hello All,
    I kno wthis is AIX forum.
    But this is a general concept.

    OS: Linux

    Our goal is to copy the files from one server to other server without using FTP or SFTP.
    Our development team will place the file onto the following directory path of test server 1.

    /home/abc/newdata

    abc is also the user. It is exit on Test server 1 only.
    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/oracle/data directory path of each server.

    One of the user (d2490) on test server 2 has same UID as abc. (uid 1006)
    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.

    We are copying files from mnt/newdata to the /opt/oracle/data of all servers.

    Thanks
    #AIX-Forum


  • 2.  Re: UID

    Posted Thu May 06, 2010 03:39 PM

    Originally posted by: j.gann


    you are using NFS with AUTH_SYS authentication flavour unless you specify differently when exporting the directory.

    NFS is built on RPC which uses an alphanumeric hostname and numeric UID and GID(s) as authentication credentials.

    that means the user name that /etc/passwd associates with a UID is not used internally, but only for your own eyes pleasure by end-user commands like ls(1).

    in short: it works, you're fine.
    #AIX-Forum