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
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.
Use caution when terminating processes with LOGOFF. Although there is no risk of file corruption, a terminated process may compromise logical database integrity.
LOGON 6, superman, kryptonite