E-23
Cisco Secure ACS 3.0 for Windows 2000/NT Servers User Guide
78-13751-01, Version 3.0
AppendixE Cisco Secure ACS Command-Line Database Utility Exporting User List to a Text File
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 the users
by group. Within each group, users are listed by the order of the creation of the
user account 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 Cisco Secure ACS server, 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 the Location of CSUtil.exe and Related Files section
on page E-2.
Step 2 If the CSAuth service is running, type:
net stop csauth
and press Enter.
Result: The CSAuth service stops.
Step 3 Ty pe:
CSUtil.exe -u
and press Enter.
Result: CSUtil.exe exports information for all users in the CiscoSecure user
database to a file named users.txt.
Step 4 To resume user authentication, type:
net start csauth
and press Enter.