NAME | SYNOPSIS | DESCRIPTION | OPTIONS | USAGE | ATTRIBUTES | SEE ALSO | NOTES
The admin text editor is a modified version of vi that provides a restricted text-editing environment. adminvi provides all the capabilities of vi except that adminvi does not allow the user to execute shell commands or to write any files other than the files specified on the command line.
Refer to the vi(1) man page for a complete list of options. adminvi modifies the following options:
Heuristic file encryption is not allowed.
Forced file encryption is not allowed.
Listing the names of files saved as the result of an editor or system crash is not allowed.
Recovering files saved as the result of an editor or system crash is not allowed.
A filename must be specified.
Refer to the vi(1) man page for a complete usage description.
adminvi modifies vi commands to prevent use of the ! operator and shell metacharacters in filenames given to commands such as :r and :so.
The actions of these commands are changed:
The command to execute a shell command is not allowed.
The forced-encryption command is not allowed.
The change directory command is not allowed.
The heuristic-encryption command is not allowed.
If the command to change the file being edited specifies a filename other than the filenames that were given on the adminvi command line, the file is edited in read-only mode.
The command to preserve the edit buffers is not allowed.
The command to recover preserved edit buffers is not allowed.
The command to run a shell is not allowed.
This command accepts only the filenames that were given on the adminvi command line.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Availability | SUNWtsu |
These interfaces are uncommitted. Although they are not expected to change between minor releases of the Trusted Solaris environment, they may.
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | USAGE | ATTRIBUTES | SEE ALSO | NOTES