Configuration to skip sudo configuration

On some systems the sudoers configuration must not be touched because it is managed e.g. via LDAP. In such cases the installation procedure can be instructed to skip installation of the SKOOR Engine sudoers configuration files. In the case of an update, the following empty file indicates that the sudoers configuration will not be changed by the SKOOR Engine RPMs:

/etc/opt/eranger/eranger-restricted-installation

Before a first installation, the same file must be created in the /tmp directory:

# touch /tmp/eranger-restricted-installation

If the file exists, a notification is issued during installation or upgrades and the files mentioned below will not be installed.

If the above file does not exist, the following files are updated if existent:

/etc/sudoers.d/eranger
/etc/sudoers.d/eranger-simple

Also, the following file is created if none of the files eranger and eranger-simple exists:

/etc/sudoers.d/eranger