When running a Smarts dmctl command, username and password is requested.
search cancel

When running a Smarts dmctl command, username and password is requested.

book

Article ID: 303975

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

  • Being prompted for a username and password when using the dmctl command.
  • SMARTS servers are prompting for password while running the command.

Environment

Any version of Smarts

Cause

The prompt for username or password is because an entry in the clientConnect.conf file has a <PROMPT>:<PROMPT> option before any of the user matching criteria.

Resolution

  To solve this:

  1. Run below command 
    <Basedir>/<IP_or_SAM>/smarts/bin/sm_edit  conf/clientConnect.conf
  2. Place a comment "#" before the "*:*:<PROMPT>:<PROMPT>" entry.