setuid to a non-root uid for both effective&real uid

1. effective UID vs. Real UID with su - problem


The situation is :
sunfire{/home/dxsnezhk}# id
uid=60144(dxsnezhk) gid=1(other)
sunfire{/home/dxsnezhk}# /usr/xpg4/bin/id -u -nr
sunfire{/home/dxsnezhk}# whoami
sunfire{/home/dxsnezhk}# who am i
dxsnezhk   pts/1        Mar 31 11:06    (
sunfire{/home/dxsnezhk}# su -
Sun Microsystems Inc.   SunOS 5.8       Generic Patch   October 2001
You have new mail.
sunfire{/}# id
uid=0(root) gid=1(other)
sunfire{/}# /usr/xpg4/bin/id -u -nr
sunfire{/}# whoami
sunfire{/}# who am i
dxsnezhk   pts/1        Mar 31 11:06    (
sunfire{/}# passwd
passwd:  Changing password for dxsnezhk
New password:

As you can see, even with su -      my real UID does not change for
some commands? I am coming from HP-UX background and I expect EUID ==
RUID upon
su - . Also, I don't understand why id and who command report
different values. What am I missing ?


2. DNS configuration

3. setuid to non-root uid

4. 2.4.3-pre3 add PBG4 native LCD mode to modedb.c

5. UID / effective UID problem

6. php/fi and .htaccess

7. Effective and Real UID and GID

8. C vs C++ for Open Source projects

9. Effective vs. Real UIDs

10. real- and effective uid woes

11. effective and real uids

12. Can you explain me the meaning of effective and real uid

13. can non-root uid write to ncpmount vol?