Import file example, Exporting user list to a text file – Cisco 3.3 User Manual

Page 740

Advertising
background image

Appendix D CSUtil Database Utility

Exporting User List to a Text File

D-24

User Guide for Cisco Secure ACS for Windows Server

78-16592-01

Import File Example

The following is an example import text file:

OFFLINE

ADD:user01:CSDB:userpassword:PROFILE:1

ADD:user02:EXT_NT:PROFILE:2

ADD:chapuser:CSDB:hello:CHAP:chappw:PROFILE:3

ADD:mary:EXT_NT:CHAP:achappassword

ADD:joe:EXT_SDI

ADD:vanessa:CSDB:vanessaspassword

ADD:juan:CSDB_UNIX:unixpassword

UPDATE:foobar:PROFILE:10

DELETE:paul

ADD_NAS:SVR2-T+:IP:209.165.202.136:KEY:A87il032bzg:VENDOR:"TACACS+ (Cisco IOS)":NDG:"East

Coast"

DEL_NAS:SVR16-RAD

Exporting User List to a Text File

You can use the -u option to export a list of all users in the CiscoSecure user
database to a text file named

users.txt

. The

users.txt

file organizes users by

group. Within each group, users are listed in the order that their user accounts
were created in the CiscoSecure user database. For example, if accounts were
created for Pat, Dana, and Lloyd, in that order,

users.txt

lists them in that order

as well, rather than alphabetically.

Note

Using the -u option requires that you stop the CSAuth service. While CSAuth is
stopped, no users are authenticated.

To export user information from the CiscoSecure user database into a text file,
follow these steps:

Step 1

On the computer running Cisco Secure ACS, open an MS DOS command prompt
and change directories to the directory containing CSUtil.exe. For more
information about the location of CSUtil.exe, see

Location of CSUtil.exe and

Related Files, page D-2

.

Advertising