Devdas Bhagat wrote:
> Actually, you can have n number of users with the same UID. Their
> default login names and home directories and environments can be
> specified in /etc/passwd and ~, but they will have the same privileges
> as each other.
Other than the login process almost every other process only stores your
uid. Also root would most probably be the first entry in /etc/passwd
therefore any process trying to figure out your userid from the uid will
think you are root. Basically there is no sure way to know which userid
you used to log in if multiple users have the same uid. This is the
reason why your bash prompt says you are root and not someone else.
Mithun
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help