As far as UNIX is concerned, you
"are" your entry in the password file that is usually stored
as "/etc/passwd". Some security conscious sysadmins hide the
file elsewhere, but there is a good chance that you can find the
"passwd" file on your system if you do "cd /etc" then issue
and "ls" command.
The password file contains single line
entries for each user of the system. Each line contains 7 fields
delimited by a colon ":" character that define you in a
security sense. A sample line is shown below:
The fields correspond to the following index:
||Username for logging in
||Encrypted Password or either an "x" or "*" character to specify that
the password is stored in a shadow file for heightened security
||A number that identifies you uniquely to the UNIX system internals.
||A number that specifies your login group. We'll discuss this in
just a bit
||This field can be used to store any info desired by the sysadmin.
Usually it contains your name, but it can contain any desired text.
||This is the location of your home directory (where you arrive
when you first login.)
||The name of the shell you are using.
Besides the password file, you are also
defined by your entry in the group file that we will look at
Table of Contents