well real uid is the uid of the user that created the process whereas effective uid is the uid which determines the privilege of actions for the process.the kernel sets euid=ruid at the time of file creation to know which files the process can access.:)
[ $UID -ne 0] # Checks if the user ID is not 0 (root UID)
A UID (User ID) number is a unique numerical identifier assigned to each user in a Unix-based operating system. It is used by the system to distinguish between different users and manage their permissions and access rights. Each user on the system is assigned a unique UID number.
JSTOR has the document on its website at this link: http://www.jstor.org/discover/10.2307/2202449?sid=21105431162501&uid=3737952&uid=17953016&uid=67&uid=62&uid=3&uid=2&uid=17952960&uid=70&uid=2129
SID (Security Identifier) and UID (User Identifier) are both used to identify users and groups in computing systems, but they serve different purposes and are used in different contexts. SID is specific to Windows operating systems and uniquely identifies user accounts and groups in the Windows security model, while UID is commonly used in Unix and Linux systems to uniquely identify user accounts. SIDs are typically longer and more complex, while UIDs are usually numeric values.
I believe that you can get good answers in apple User Experience guide: http://developer.apple.com/documentation/UserExperience/index.html#//apple_ref/doc/uid/TP30000440-TP30000437
UID is a type of guid used for assembling the rotator cuffs in older Tandy computers. While GID on the other hand, is used to replace the rotator cuffs in newer Microsoft computer, with Tandy being obsolete.Uid means user-id, Gid means group-id. I hope you know what user and group means.
there is no difference between uid and adhar, both are same thing
Run 'man <program name>' to get the full manual to a program. Below is an example how to get the sudo manual and the first few lines of the manual. $ man sudo NAME sudo, sudoedit - execute a command as another user SYNOPSIS sudo -h | -K | -k | -L | -V sudo -v [-AknS] [-g group name|#gid] [-p prompt] [-u username|#uid] sudo -l[l] [-AknS] [-g group name|#gid] [-p prompt] [-U user name] [-u user name|#uid] [command] sudo [-AbEHnPS] [-C fd] [-g group name|#gid] [-p prompt] [-u user name|#uid] [VAR=value] [-i | -s] [command] sudoedit [-AnS] [-C fd] [-g group name|#gid] [-p prompt] [-u user name|#uid] file ... DESCRIPTION sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file. The real and effective uid and gid are set to match those of the target user as specified in the passwd file and the group vector is initialized based on the group file (unless the -P option was specified). If the invoking user is root or if the target user is the same as the invoking user, no password is required. Otherwise, sudo requires that users authenticate themselves with a password by default (NOTE: in the default configuration this is the user's password, not the root password). Once a user has been authenticated, a time stamp is updated and the user may then use sudo without a password for a short period of time (15 minutes unless overridden in sudoers).
I believe since the user has gid=1, the file has gid=1, and the group permission is r-x(read and execute), the file will execute normally.
You don't need a shell script for this; just use the 'id' command look at the uid, which for root is 0.
The CHIPS UID number of a bank is necessary for the transferring of funds from one bank account to another. The CHIPS UID number for Bank of America is 0959.