loginid vs. uid.
Bill Irwin
bill at twg.wimsey.bc.ca
Sat Jul 14 19:32:20 AEST 1990
In <316 at dynasys.UUCP> jessea at dynasys.UUCP (Jesse W. Asher) writes:
[...]
>My question is does anyone else view them this way, and if not what is
>the relationship? The reason I make this distinction is because your
>uid can be changed while your loginid doesn't have to be changed - the
>os looks at your uid (the number) to determine who your are in most
>cases. An example is su changing your uid to 0 (or to whatever your su
>uid is) while leaving your login intact. Of course you can have both
^^^^^^^^^^^^^^^^^
>changed, but the above leaves me to believe that they are not
^^^^^^^
>interchangeable concepts. The uid is not the same as the loginid.
>Does anyone have any comments on this?
How do you change your logname to "wimp" when you "su - wimp"? I have an
email application that uses the logname to determine which directory
structure to deal with in mail sessions, which makes it impossible to su
to another user and read their mail.
--
Bill Irwin - TWG The Westrheim Group - Vancouver, BC, Canada
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uunet!van-bc!twg!bill (604) 431-9600 (voice) | UNIX Systems
bill at twg.wimsey.bc.ca (604) 431-4629 (fax) | Integration
More information about the Comp.unix.questions
mailing list