Cannot authenticate dsmadmc or dsmc after new install

gongfarmer

Newcomer
Joined
Oct 18, 2023
Messages
1
Reaction score
0
Points
0
I just installed these on Ubuntu Server 22.04:
server: IBM Spectrum Protect 8.1.14.200
client: IBM StorageGprotect 8.1.14-0

The dsmserv process is running.

I cannot run commands through dsmadmc.
When I run dsmadmc (as user 'tsminst1'), it asks for a username and password.
I don't have a username and password though.

I tried to set a password with 'dsmc set password', but that also fails authentication:
```
tsminst1@tivoli ~/dsmclient $ dsmc set password
IBM Spectrum Protect
Command Line Backup-Archive Client Interface
Client Version 8, Release 1, Level 14.0
Client date/time: 10/18/2023 16:15:51
(c) Copyright by IBM Corporation and other(s) 1990, 2022. All Rights Reserved.

Please enter password for node "$$_TSMDBMGR_$$":

Please enter a new password:
Enter new password for verification:
ANS1262E The password is not updated. Either an invalid current password was supplied or the new password does not fulfill the server password requirements.

```

This server has only local unix users, no LDAP is configured.
I have tried using the unix user password but that doesn't work:
```
tsminst1@tivoli ~/dsmclient $ dsmadmc -id=tsminst1 -password=tsminst1
IBM Spectrum Protect
Command Line Administrative Interface - Version 8, Release 1, Level 14.0
(c) Copyright by IBM Corporation and other(s) 1990, 2022. All Rights Reserved.

ANS1051I Invalid user id or password

```

I must have missed something during the install steps. How do I configure the initial credentials so dsmadmc can work?
My dsm.sys looks like this. I have also tried 'passwordaccess prompt', same result.

```
tsminst1@tivoli ~/dsmclient $ cat /opt/tivoli/tsm/client/ba/bin/dsm.sys
servername TSMDBMGR_TSMINST1
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
passwordaccess generate
passworddir /home/tsminst1/dsmclient
errorlogname /home/tsminst1/dsmclient/dsmerror.log
nodename $$_TSMDBMGR_$$
compression yes

```
 
Hi,

The account $$_TSMDBMGR_$$ is a special account used for DB2 backup of the SP server.

During install you were prompted for an admin user/password that you should use. If this is not known, or password is not known, then look below



Kill the instance (db2 and dsmserv)

Log in using ssh as the instance user (or su - user)

# cd tsminst1
# dsmserv

This will start up the instance as a foreground application where you can to management.

Wait for the prompt to appear (may take a few minutes)

Then type (to register a new admin)

reg admin superuser mysecretpassword
grant auth superuser cla=system
halt


or (just reset password)

upd admin whateveritiscalled mynewsecretpassword
halt


Once the instance has stopped, you can start it up as usual, and start

dsmadmc -user=Something -Pas=mysecretpassword


Good luck
 
Back
Top