Google Answers Logo
View Question
 
Q: UID mapping ( No Answer,   2 Comments )
Question  
Subject: UID mapping
Category: Computers
Asked by: daerian-ga
List Price: $4.50
Posted: 22 Jun 2004 13:12 PDT
Expires: 22 Jul 2004 13:12 PDT
Question ID: 364681
I need to know what is UID mapping in linux/unix. What type of UID
mapping, I really don't know, all I know it has to do with users, but
if all UID mapping contexts can be explained it would be much better.

Clarification of Question by daerian-ga on 23 Jun 2004 05:36 PDT
What is done in the process of mapping?
Answer  
There is no answer at this time.

Comments  
Subject: Re: UID mapping
From: corwin02-ga on 22 Jun 2004 14:48 PDT
 
A UID, or "Unique Identifier", is a globally unique 32-bit number used
in a compound identifier to uniquely identify an object, file type,
etc. When users refer to "UID" they often mean UID3, the identifier
for a particular program.

See for more definitions of UID the Symbian online dictionary

http://www.symbian.com/developer/techlib/v70docs/SDL_v7.0/doc_source/GlobalGlossary/GlossaryDocumentU.html
Subject: Re: UID mapping
From: vellmont-ga on 22 Jun 2004 21:25 PDT
 
The above answer is 100% wrong.  The URL given is for symbian, an OS
used primarily for cell-phones.

UID in linux/unix stands for User-ID, and is how the operating system
keeps track of individual users.  a UID is a unique 16 bit number
assigned to each user, and is specified for each user in the
/etc/passwd file.  The syntax of this file is (from the redhat man
page)
  
      There is one entry per line, and each line has the format:
                                                                                 
              account:password:UID:GID:GECOS:directory:shell
                                                                                 
       The field descriptions are:
                                                                                 
              account   the name of the user on the  system.   It
                        should not contain capital letters.
                                                                                 
              password  the encrypted user password or a star.
                                                                                 
              UID       the numerical user ID.
                                                                                 
              GID       the  numerical  primary group ID for this
                        user.
                                                                                 
              GECOS     This field is optional and only used  for
                        informational purposes.  Usually, it con?
                        tains the full user  name.   GECOS  means
                        General  Electric Comprehensive Operating
                        System, which has been  renamed  to  GCOS
                        when GE's large systems division was sold
                        to   Honeywell.    Dennis   Ritchie   has
                        reported: "Sometimes we sent printer out?
                        put or batch jobs to  the  GCOS  machine.
                        The gcos field in the password file was a
                        place to stash the  information  for  the
                        $IDENTcard.  Not elegant."
                                                                                 
              directory the user's $HOME directory.
                                                                                 
              shell     the  program  to  run at login (if empty,
                        use /bin/sh).  If set to  a  non-existing
                        executable,  the  user  will be unable to
                        login through login(1).


UID mapping could mean several things, but in general it means mapping
an external identifier to a UID, or vice versa.  The external
identifier could be a Windows account via the winbind program of the
Samba suite (windows<->linux fileserver), or NFS (which is a unix
based fileserver).  The basic idea idea behind this is to assign a
user-ID on the local unix/linux machine to a user that's authenticated
on a remote server (Windows fileserver or NFS).

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy