server task terminate all_sessions
Terminates all user sessions for a specific user.
Requires authentication (administrator ID and password) to use.
server task instance-webseald-host terminate all_sessions user_id
Options
- instance-webseald-host
- Full server name of the installed WebSEAL instance. Specify in the exact format as displayed in the output of the server list command.
The instance_name specifies the configured name of the WebSEAL instance. The webseald designation indicates the WebSEAL service performs the command task. The host_name is the name of the physical computer where the WebSEAL server is installed. For example,
- The configured name of a single WebSEAL instance is default.
- The host computer name that has the WebSEAL server that is installed is abc.ibm.com.
Then, the full WebSEAL server name is default-webseald-abc.ibm.com.
If an additional WebSEAL instance is configured and named web2, the full WebSEAL server name is web2-webseald-abc.ibm.com.
- user_id
- Name of the user. Examples of user names are dlucas, sec_master, and "Mary Jones".
Authorization
Users and groups that require access to this command must be given the s (server administration) permission in the ACL that governs the /WebSEAL/host_name-instance_name/ object. For example, the sec_master administrative user is given this permission by default. This command is available only when WebSEAL is installed.
Return codes
- 0
- The command completed successfully. For WebSEAL server task commands, the return code is 0 when the command is sent to the WebSEAL server without errors. However, even after the command was successfully sent, the WebSEAL server might not be able to successfully complete the command. The WebSEAL server returns an error message.
- 1
- The command failed. When a command fails, the pdadmin command provides a description of the error and an error status code in hexadecimal format (for example, 0x14c012f2).
See "Error messages" in the IBM Knowledge Center. This reference provides a list of the ISAM error messages by decimal or hexadecimal codes.
For information about the WebSEAL server tasks and junction points, see the Administering topics in the IBM Knowledge Center.
Example
The following example terminates all sessions for the dlucas user on the default-webseald-cruz WebSEAL server:pdadmin> server task default-webseald-cruz terminate all_sessions dlucas
See also
server task terminate session
server task refresh all_sessionsParent topic: pdadmin commands