When you have finished your work session and are ready to exit the operating system, type the following to log out:
$ exit |
After a moment, the system once again displays the login prompt:
$ exit login: |
When you see the login prompt, it indicates that you have successfully logged out. The system is now ready for you or another user to log in.
With the SunOS operating system, turning off your workstation or terminal does not necessarily log you out. Unless you log out explicitly, you may remain logged in to the system.