[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 3

logout Command

Purpose

Stops all processes on a port.

Syntax

logout

Description

The logout command terminates all processes either with the same controlling terminal as the present process or with all processes which have this terminal open. Processes that are not children of the present process are terminated upon access to the terminal. The present process is also terminated. If the login command user and the logout command user do not match, the logout command permission is denied, and the command stops.

Examples

From a shell started by the ksh or bsh command, enter:

logout

Files

/usr/bin/logout Contains the logout command.
/etc/utmp Contains a record of logged-in users.

Related Information

The bsh command, getty command, init command, ksh command, login command, setgroups command, shell command, su command, tsh command tsm command.

The setuid subroutine.

Shells Overview in AIX Version 4.3 System User's Guide: Operating System and Devices describes what shells are, the different types of shells, and how shells affect the way commands are interpreted.


[ Previous | Next | Contents | Glossary | Home | Search ]