Contenues dans
Trouver plus de documentation
Ressources d'assistance comprises
| Télécharger cet ouvrage au format PDF
NAME
- adminvi - Edit text with restrictions
SYNOPSIS
-
adminvi filename . . .
AVAILABILITY
- SUNWtsolu
DESCRIPTION
- 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.
OPTIONS
- Refer to the vi(1) man page for a complete list of options. adminvi modifies these options:
-
- -x
- Heuristic file encryption is not allowed.
-
- -C
- Forced file encryption is not allowed.
-
- -L
- Listing the names of files saved as the result of an editor or system crash is not allowed.
-
- -r filename
- Recovering files saved as the result of an editor or system crash is not allowed.
-
-
filename
- A filename must be specified.
USAGE
- 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 file names given to commands such as :r and :so .
Commands
- The actions of these commands are changed:
-
-
:!
- The command to execute a shell command is not allowed.
-
-
:C
- The forced-encryption command is not allowed.
-
-
:cd, :chdir
- The change-directory command is not allowed.
-
-
:crypt, :X
- The heuristic-encryption command is not allowed.
-
-
:e
- If the command to change the file being edited specifies a file name other than the file names that were given on the adminvi command line, the file is edited in read-only mode.
-
-
:pre
- The command to preserve the edit buffers is not allowed.
-
-
:rec
- The command to recover preserved edit buffers is not allowed.
-
-
:sh
- The command to run a shell is not allowed.
-
-
:w
- This command accepts only the file names that were given on the adminvi command line.
SEE ALSO
-
vi(1)
NOTES
- These interfaces are uncommitted; although not expected to change between minor releases of Trusted Solaris systems, these interfaces may change.
|
|