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]
Defines properties to be added to the class ruler for this query only.
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.
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.
Displays the Windows file attributes as well as the CA Access Control properties.
Defines a new ruler for this class for this query and future queries.
Displays the UNIX file attributes as well as the CA Access Control properties.
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.
showfile /etc/passwd
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |