cc/td/doc/product/access/acs_soft/csacs4nt
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Database Import Utility
Creating the Text File
Importing User Information

Database Import Utility


This section describes how to import a text file into the CiscoSecure User Database. This allows you to add new users to the database and modify users authentication information. The use of the CSUtil.exe allows you to add or modify information for many users. The import utility, CSUtil, is located in the directory C:\Program Files\CiscoSecure ACS v2.0\Utils when the default location is used during installation.

Creating the Text File

You have two options for running the CSUtil program:

Each entry must have the following information on a single line using colons to delimit the fields:


Note If the username does not exist, an error message is returned. Use the ADD keyword in this case.



Note If you do not provide a profile number, the user is added to the default group 0.


Here are examples of the syntax for the import text file:

ADD:user01:PLAIN:userpassword:PROFILE:1
ADD:user02:NT::PROFILE:2
ADD:chapuser:PLAIN:hello:CHAP:chappw:PROFILE:3
ADD:tokenuser:TOKENCARD:hello:PROFILE:4
ADD:tokenchapuser:TOKENCARD:hello:CHAP:tokenchappw:Profile:5

Note      These entries are case sensitive. The colons are mandatory delimiters.


Example import text file:

OFFLINE
ADD:user01:PLAIN:userpassword:PROFILE:1
ADD:user02:NT::PROFILE:2
ADD:chapuser:PLAIN:hello:CHAP:chappw:PROFILE:3
ADD:tokenuser:TOKENCARD:hello:PROFILE:4
ADD:tokenchapuser:TOKENCARD:hello:CHAP:tokenchappw:Profile:5

Importing User Information

The following are a list of command arguments used with CSUtil:

CSUtil [-q] [-c] [-d] [-e] [-i file] [-l file] [-m error] [-n] [-s] [-x]

CSUtil processes parameters left to right, guaranteeing the order in which they are executed.

Enter the following commands after you have completed creating the import text file:

csutil -i filename.txt


Note The database is modified not destroyed. You should see information scrolling down the screen indicating that the information is being modified or merged with the existing database.


csutil -n -i filename.txt


Note The existing database is destroyed and rewritten.


csutil -g -n -l groups.txt -i import.txt


Note All user information is destroyed. Group information still exists in the groups.txt file and can be used with the import.txt file to add new users with existing group information.


There is no warning when information is overwritten.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Tue Jan 21 06:36:02 PST 2003
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.