The software described in this documentation is either in Extended Support or Sustaining Support. See for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.

7.4 Enabling PAM to Work with cgroup Rules

To configure PAM to use the rules that you configure in the /etc/cgrules.conf file:

  1. Install the libcgroup-pam package.

    # yum install libcgroup-pam

    The module is installed in /lib64/security on 64-bit systems, and in /lib/security on 32-bit systems.

  2. Edit the /etc/pam.d/su configuration file, and add the following line for the module:

    session  optional


For a service that has a configuration file in /etc/sysconfig, you can add the following line to the start section of the file to start the service in a specified cgroup: