For ALT 8 SP and other distributions using pam_namespace |
To make Dr.Web for Linux components with which the user interacts available in the user environment (when the user works at a privilege level other than zero), you need to make changes to the files containing PAM settings to ensure the automatic launch of the required Dr.Web for Linux components at the beginning of the user session and their termination at the end of the session. The module (the special pam_drweb_session.so PAM module by Doctor Web launches the drweb-session mediation component, which connects the local copies of components running in the user environment to the components operating with zero-level privileges and running automatically at the OS startup). To change PAM settings, we recommend that you use the drweb-configure configuration utility included in Dr.Web for Linux, or you can make manual changes to the required configuration files.
1. Using the drweb-configure utility To make configuring complex parameters of Dr.Web for Linux more convenient, we have developed a dedicated auxiliary utility drweb-configure. 1.To enable or disable the automated launch of the required Dr.Web for Linux components in the environment of the user who has a privilege level other than zero, use the following command:
where <mode> may have one of the following values: •enable—enable the automated launch of the necessary components during the user session with user privileges. •disable—disable the automated launch of the required components during the user session with user privileges (this will render a number of Dr.Web for Linux functions unavailable). 2.Restart the operating system.
2. Manual modification of PAM configuration 1.To change PAM configuration, you need to modify all configuration files in the /etc/pam.d directory that run the pam_namespace.so PAM module. You can get the full list of such files by performing the following command:
Add the following records of the session type to all files from the list: •Above the first record of the session type:
•After the last record of the session type:
2.Save the changed files. 3.Create a symbolic link to the pam_drweb_session.so file from the system directory containing PAM modules. The pam_drweb_session.so file is located in the Dr.Web for Linux library directory /opt/drweb.com/lib/ (for 64-bit operating systems, for instance, the path to the module is /opt/drweb.com/lib/x86_64-linux-gnu/pam/). A command example for 64-bit Alt 8 SP OS:
4.Restart the operating system. |