Use the DSMADMC command to start an
administrative client session.
About this task
The IBM®
Storage Protect server must
be running before an administrative client can connect.
Procedure
-
To start an administrative client session in command-line mode, enter this command:
dsmadmc -credentialsfile=secretpwdfile -dataonly=yes
By entering the
DSMADMC command with the
-CREDENTIALSFILE
option as shown, you are not prompted for a user ID and password.
Tips:
- The -CREDENTIALSFILE option is preferred as a secure alternative to the
-ID and -PASSWORD options. However, the
-CREDENTIALSFILE option cannot be used with administrator IDs that are configured
for multifactor authentication (MFA).
- If an administrator has multifactor authentication (MFA) set up on the
account, a time-based one-time password (TOTP) must be appended at the end of the password. For more information, see Setting up multifactor authentication for administrators.
-
To stop an administrative command-line client session, enter the following command:
-
To
interrupt a DSMADMC command before the IBM
Storage Protect server finishes processing it, press
Ctrl+C or use the UNIX
kill -15 command.
Note: Due to signal-handler design limitations with the DSMADMC command on UNIX and Linux, pressing Ctrl-C or using the UNIX
kill -15 command can lead to a core memory dump. If you need to avoid such a core
memory dump, use the UNIX kill -9 command from an available command line.