Guest

CiscoWorks CD One

Moving User Accounts From One Machine CiscoWork2000 (CD One) To Another

Document ID: 13486



Contents

Introduction
Prerequisites
      Requirements
      Components Used
      Conventions
Procedure for Solaris
      CW2000 CD One (First Edition - Third Edition)
      CW2000 CD One (Fourth Edition - Sixth Edition)
Procedure for Windows NT/2000
NetPro Discussion Forums - Featured Conversations
Related Information

Introduction

This document provides procedures to move or export CiscoWorks 2000 (CW2000) CD One user accounts from one machine to another that runs the same version. You can use the same instructions to import these user accounts again.

Prerequisites

Requirements

There are no specific requirements for this document.

Components Used

The information in this document is based on the CW2000 CD One (First Edition through Sixth Edition) on Solaris and Windows NT/2000 only.

Note: You must be logged in as root on Solaris and Administrator on Windows NT/2000 in order to use these procedures.

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Conventions

Refer to the Cisco Technical Tips Conventions for more information on document conventions.

Procedure for Solaris

CW2000 CD One (First Edition - Third Edition)

Complete these steps:

  1. Go to the /opt/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet directory.

    Note: /opt is the default install location for CW2000 CD One.

    The file cwpass in this directory contains the user information and passwords. Issue this command in order to access this information:

    #/opt/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet
    

    This is sample output:

    #more cwpass
    
          ray:33255d5255::::F::
          pong:33255d5255::::3F::
          admin:22335f595e::tshah:a2Q2bXRj:F::
          guest:::::0::
          kawai3:2836455159:usernameK@cisco.com:usernameK:c3Vuc2hpbmU=:3::
          kawai2:3420:usernameK@cisco.com:usernameK:c3Vuc2hpbmU=:F::
          kawai1:2836455159:usernameK@cisco.com:usernameK:c3Vuc2hpbmU=:1::
          jatin:293646595e:usernameE@cisco.com:::3F::
  2. Issue these commands in order to view the file permissions and owner on the cwpass file:

    #/opt/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet
    
    #ls -l cwpass
    
    -rw-r-----   1 bin      bin        304 May 21 17:00 cwpass
  3. Copy or move this file to the CW2000 CD One (First Edition through Third Edition) server to which you want to move the user accounts. Add it to the same directory as in step 2, with the same permissions.

  4. Issue these commands on the server to which you have copied the cwpass file:

    #/etc/init.d/dmgtd stop
    
    #/etc/init.d/dmgtd start
    
  5. Login to CW2000 as admin and choose Server Configuration > Setup > Security > Modify/Delete Users in order to check the user information and verify that the user accounts have been updated or moved successfully.

CW2000 CD One (Fourth Edition - Sixth Edition)

For CW2000 CD One Fourth Edition through Sixth Edition, all of the previous steps apply, except for the file permissions and owner of the cwpass file:

#ls -l cwpass

-rw-r-----   1 casuser  casusers  607 Sep  7 12:23 cwpass

Procedure for Windows NT/2000

This procedure applies to all versions of CW2000 CD One (First through Sixth Edition).

  1. Go to the $NMSROOT\CSCOpx\lib\classpath\com\cisco\nm\cmf\servlet directory. (C:\Program Files\CSCOpx is the default install location. Therefore, the $NMSROOT environment variable represents C:\Program Files.)

  2. Open a DOS window and issue this command in order to stop the CW2000 Daemon Manager processes:

    net stop crmdmgtd
    
  3. Copy the cwpass file to the location in step 1 from the CW2000 server which has the user accounts that you want to copy or move. Copy over the original cwpass file.

  4. Make sure that the file permissions and owner remains the same as the original one.

    • On Windows NT, right-click the cwpass file and select Properties from the menu. Click the Security tab, then click the Permissions button. This information appears:

      • File: $NMSROOT\CSCOpx\lib\classpath\com\cisco\nm\cmf\servlet

      • Owners: Administrators

      • Name: (blank)

      • Administrators: Full Control (All)

      • Administrators bin (bin): Full Control (All)

    • On Windows 2000, right-click the cwpass file and select Properties from the menu. Click the Security tab and this appears:

      • Administrators (servername\Administrators): The Allow box is checked for Full Control, Modify, Read & Execute, Read, and Write.

      • casusers (servername\casusers): Same as for Administrators.

      • Everyone: The Allow box is checked only for Read & Execute and Read.

  5. Open a DOS window and issue this command in order to start the CW2000 Daemon Manager processes:

    net start crmdmgtd
    
  6. Login to CW2000 as admin and choose Server Configuration > Setup > Security > Modify/Delete Users in order to check the user information and verify that the user accounts have been updated or moved successfully.

NetPro Discussion Forums - Featured Conversations

Networking Professionals Connection is a forum for networking professionals to share questions, suggestions, and information about networking solutions, products, and technologies. The featured links are some of the most recent conversations available in this technology.
NetPro Discussion Forums - Featured Conversations for Network Management
Network Infrastructure: Network Management
Virtual Private Networks: Network and Policy Management

Related Information



Updated: Oct 11, 2006Document ID: 13486