SuSEConfig helps configure and reconfigure SuSE Linux systems. The SuSEConfig.postfix script is designed to set up the Postfix mail daemon, and includes the option to create a chroot environment for the Postfix processes. Creating the environment requires that certain files in the /lib and /etc directories required by Postfix are copied into the chroot directory. By default, the chroot directory is /var/spool/postfix/. Later in the script, a recursive chmod call sets all files within the /var/spool/postfix/ directory to be owned by the postfix user. As this directory now contains the required configuration files and shared libraries used by Postfix, the postfix user gains ownership of these files. As a result, if the unprivileged postfix account is compromised, the configuration and shared libraries used by Postfix may be changed.
SuSEConfig helps configure and reconfigure SuSE Linux systems. The SuSEConfig.postfix script is designed to set up the Postfix mail daemon, and includes the option to create a chroot environment for the Postfix processes. Creating the environment requires that certain files in the /lib and /etc directories required by Postfix are copied into the chroot directory. By default, the chroot directory is /var/spool/postfix/. Later in the script, a recursive chmod call sets all files within the /var/spool/postfix/ directory to be owned by the postfix user. As this directory now contains the required configuration files and shared libraries used by Postfix, the postfix user gains ownership of these files. As a result, if the unprivileged postfix account is compromised, the configuration and shared libraries used by Postfix may be changed.