loginid vs. uid.
David Dick
drd at siia.mv.com
Tue Jul 17 07:53:16 AEST 1990
In <316 at dynasys.UUCP> jessea at dynasys.UUCP (Jesse W. Asher) writes:
>I have learned to make a distinction between a loginid and the userid.
>The loginid is the actual name of your login. For example: jessea.
>The userid is the actual number, your uid. For example: 110.
>I consider these two separate concepts - one is a name and the other a
>number and they are not interchangeable.
>My question is does anyone else view them this way, and if not what is
>the relationship?
I view loginid as just a name that login and some other programs use
as a symbol for uid. At our company we often have more than one login
to get to the same uid, usually with something different, like shell
or home directory.
This leads to another point of security philosophy: login vs. mail ids.
I think it is quite silly to have the symbol that someone uses to login
be the same as the symbol that other people use to send mail to that
person. I think the password file should be set up so that the ids used
by ps(1), ls(1), and other programs that print user ids in fact has
password entries that can't be used to login (e.g., "NoLogin").
Those programs find the first entries for the respective user ids in
/etc/passwd. Subsequent entries for the user ids can contain the
actual names used to login; these won't be seen by ps(1), etc.
The setup for keeping separate mail ids could be handled by
a mail alias file, or something else, depending on the mailer.
David Dick
Software Innovations, Inc. [the Software Moving Company (sm)]
More information about the Comp.unix.questions
mailing list