cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
479
Views
0
Helpful
1
Replies

Deleting users in ACS

Eyas
Level 1
Level 1

Hi

Is there an easy way to empty the internal (cached) user database in a Cisco ACS 3? I don't want to delete the 1200 users one by one.

/Tommy

1 Reply 1

paddyxdoyle
Level 6
Level 6

Hi,

Create an empty text file e.g. c:\empty.txt

Stop the auth service

"net stop CSAuth"

If you are using the default installation path them cd to C:\Program Files\CiscoSecure ACS v3.3\Utils>

run the following command

csutil -n -i c:\empty.txt

Agree to import and you will no longer have a user database....see below:

C:\Program Files\CiscoSecure ACS v3.3\Utils>net stop CSAuth

The CSAuth service is stopping.

The CSAuth service was stopped successfully.

C:\Program Files\CiscoSecure ACS v3.3\Utils>csutil -n -i filename.txt

CSUtil v3.3(1.17), Copyright 1997-2004, Cisco Systems Inc

Creating a new database and index will destroy the existing one.

The persistent logged-on user list will also be destroyed.

Are you sure you want to proceed? (Y or N)y

Initializing database....

Done

If the import file contains the OFFLINE: clause CSAuth will be stopped.

Are you sure you want to import? (y/Y = proceed)y

Cannot import data file: filename.txt

Done

It works like a dream!

Rgds

Paddy

Review Cisco Networking for a $25 gift card