# LOGON/LOGOFF

Updated: 10/19/2020, 10:24:56 AM
Created: 10/19/2020, 10:24:56 AM
Last Updated By: Daniel Klein
Read Time: 1 minute(s)

Tags: utility logon/logoff logoff logon

# Logon

The LOGON utility can be used to logon a background process to execute a user login. The user login will execute the .profile, which can be modified in order to execute a logon proc via the "exec jsh -" mechanism.

LOGON Port, UserName, Password
1

# Logoff

The LOGOFF utility can be used to logoff another process. Root privileges are required to logoff another process logged on with a different user id.

LOGOFF {port | startport-endport}
1

# Note

Use caution when terminating processes with LOGOFF. Although there is no risk of file corruption, a terminated process may compromise logical database integrity.

Examples of use are as:

LOGON 6, superman, kryptonite
LOGOFF 42
LOGOFF 1-9999
1
2
3

Back to Utilities