Previous Topic: rename Command—Rename a Database Record

Next 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 Access Control processes each file record independently. If an error occurs while processing a file, CA Access Control 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 Access Control 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:

chfile Command—Modify File Records

showfile Command—Display File Properties