how to logout and login as different user?

To login as different user every time i am rebooting the system, and i know i am doing it wrong.Then how do i logout and login as another user?i can su and do, other that this do we have any commands to do this?
[239 byte] By [dbasan] at [2007-11-25 22:58:44]
# 1
Hello?Does simply logging out not work ?Martin
MartinDJ at 2007-7-5 17:14:04 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
How you do that simply?Excuse me for asking blunt ?'s
dbasan at 2007-7-5 17:14:04 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3
I dont have the logout tab listed in the GUI screen, is there any command to do it?I just have "lock" screen listed.Excuse me for the lame question.
dbasan at 2007-7-5 17:14:04 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4
Are you using CDE or Java? If CDE, there should be an Exit button on the screen. If using Java, click the Launch button and select Log out.
dougm at 2007-7-5 17:14:04 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 5
Thanks I could get that for my CDE login after a detailed search.
dbasan at 2007-7-5 17:14:04 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...