GNU Rush |
|
Restricted User Shell |
Sergey Poznyakoff |
The configuration file rush.rc is located in /usr/local/etc by default.2.
The configuration file is read and parsed right after start up. Any
errors occurred in parsing are reported using syslog
facility
‘authpriv’ and priority ‘notice’. When run in ‘test’
mode, all diagnostics is displayed on the standard error
output. See Test Mode, for a detailed description of ways to debug
and test your configurations.
Before parsing, rush
checks the ownership and permissions
of the configuration file for potential security breaches. The
configuration file is considered unsafe if any of the following
conditions are met:
If the file is considered unsafe, rush
rejects it and aborts
execution.
Any of these tests can be disabled using the
--security-check
option (see --security-check).
As of version 2.2, rush
supports two distinct
configuration file formats.
The legacy configuration format is the one used in rush versions up to 1.9. It is still supported to facilitate transition of existing installations to the new syntax. Its support will eventually be removed in future versions, so the users are encouraged to switch to the new syntax as soon as possible. The legacy syntax is described in detail in http://www.gnu.org.ua/software/rush/legacy.
This manual describes new configuration file format.
The exact location of the configuration file is defined when configuring the package. See the file INSTALL in the GNU Rush source directory for more information
This document was generated on January 2, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.