Previous Topic: search Command—List Database Records

Next Topic: show[x]grp Command—Display Group Properties


showfile Command—Display File Properties

Valid in the AC environment

The showfile command lists the properties of a file record. The properties are listed in alphabetical order. CA Access Control processes each record independently and displays information only for those resources for which you have sufficient authority.

Note: This command also exists in the native environment but operates differently there.

To execute a showfile command, at least one of the following conditions is required:

This command has the following format:

{showfile|sf} {fileName |(fileName [,fileName...])} \
[addprops(propName [,propName ...])] \
[next] \
[props(all | propName [,propName ...])] \
[useprops(propName [,propName ...])] \
[nt|unix]
addprops(propName [,propName ...])

Defines properties to be added to the class ruler for this query only.

fileName

Specifies the name of the file record whose properties are to be listed.

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.

fileName can contain wildcard characters, and so match multiple file names.

On UNIX, to display the properties of a file whose name contains a special character or space, type an extra slash (/) before the file name.

next

Displays parts of the requested data. This option is useful when the query data is larger than the set query size.

The maximum query size is determined by the query_size configuration setting. The default query_size setting is 100.

nt

Displays the Windows file attributes as well as the CA Access Control properties.

props(all|propName [,propName ...])

Defines a new ruler for this class for this query and future queries.

unix

Displays the UNIX file attributes as well as the CA Access Control properties.

useprops(propName [,propName ...])

Defines a ruler for this query only. The class ruler is unaffected.

Example

The user root wants to list the properties of the file record /etc/passwd.

More information:

checklogin Command—Determine Login Information

chfile Command—Modify File Records

rmfile Command—Delete File Records

showfile Command—Display Native File Properties