Previous Topic: rename Command—Rename a Database RecordNext Topic: rm[x]grp Command—Delete Group Records


rmfile Command—Delete File Records

Valid in the AC environment

The rmfile command deletes records belonging to the FILE class from the database.

You can delete a file record if one of the following conditions is met:

This command has the following format:

{rmfile|rf} {fileName | (filename [,filename...])}
fileName

Defines the file you are removing.

CA ControlMinder processes each file record independently. If an error occurs while processing a file, CA ControlMinder issues a message and continues processing with the next file in the list.

Example: Remove File Protection

The security administrator (which has the ADMIN attribute) wants to remove CA ControlMinder protection for a file. On UNIX, this can look like this:

rmfile /etc/passwd

The same command on Windows can look like this:

rmfile C:\temp\passwords.txt

More information:

showfile Command—Display File Properties